Commit Graph

169 Commits (2ebe9ad987936e588c47b37532f5df63c2f2fcc5)

Author SHA1 Message Date
Timothy Lim 2ebe9ad987 Rename variables in randomize function
[HFP-56]
2016-10-19 08:50:35 +02:00
Timothy Lim 6fdeb26e0d Fix to allow disabling of backwards navigation 2016-10-19 08:22:21 +02:00
Timothy Lim 207914b411 Update retrieval of previous content 2016-10-18 15:32:16 +02:00
Timothy Lim a9d5c9b9a3 Stop multiple classes being added to each question
[HFP-56]
2016-10-18 15:07:12 +02:00
Timothy Lim b3dc56c796 Refactor button creation [HFP-56]
Add comments
2016-10-17 10:54:35 +02:00
Timothy Lim 46753e2b5e Refactor randomizing on initialization 2016-10-16 11:14:52 +02:00
thomasmars 491ed24c0b Tweaks to make randomization work.
HFP-56
2016-10-14 16:48:03 +02:00
thomasmars 6d4a915de1 Merge branch 'master' into randomize-questions
# Conflicts:
#	js/questionset.js
2016-10-14 16:14:37 +02:00
Timothy Lim d19a8d52fc Randomize questions and update buttons [HFP-56]
Show and hide navigational buttons

Add functionality to save content state

Clean up code [HFP-59]

Randomize on initialization

Tidy up [HFP-56]
2016-10-10 11:36:07 +02:00
Tom Arild Jakobsen b2f6dec79d Merge branch 'master' of github.com:h5p/h5p-question-set 2016-10-10 11:21:22 +02:00
Tom Arild Jakobsen 02f98007cc Add getMaxScore and deprecate totalScore 2016-10-10 11:21:06 +02:00
thomasmars e510b662ed Restore at last page if in solution mode
HFP-9
2016-10-07 13:38:39 +02:00
thomasmars 46ca884681 Disable navigation bar visuals and functions when backward navigation is disabled.
HFP-8
2016-10-04 14:18:50 +02:00
thomasmars 55d66eb469 Fixed not setting progress when it is undefined.
HFP-9
2016-10-04 11:59:26 +02:00
thomasmars 751ee5f597 Removed debug line
HFP-8
2016-10-04 11:53:04 +02:00
thomasmars 1cafbf09f4 Added aria-disabled attribute to dots when they are disabled
HFP-8
2016-10-04 11:43:12 +02:00
thomasmars 84c8751238 Fixed undefined answers in previous state.
HFP-9
2016-10-03 13:19:25 +02:00
thomasmars 601ae585e1 Disable backwards navigation.
Show dots, but they have no action when backward navigation is disabled.
Always show/enable full navigation in solution mode.
Only show forward button when a question has been answered.
Remove navigation button if question has been answered, then retried within the question's logic.
HFP-8
2016-10-03 13:06:01 +02:00
Håkon Ellingsen d5eb0f50ed HFP-24: Only add skip button when it is wanted 2016-09-28 11:10:32 +02:00
thomasmars a601a1014c Implemented save content user state in Question Set.
Set progress from previousState.
Set subContent data from previousState.
Toggle dots if they have been answered in previous state.
Implemented current state API call.
HFP-9
2016-09-26 15:19:53 +02:00
thomasmars 49c1da3627 Added option for disabling backward navigation
HFP-5
2016-09-26 11:45:15 +02:00
Frode Petterson b7a991fc3c Remove current blue dot on endGame
HVP-222
2016-07-26 14:31:29 +02:00
Frode Petterson da540afb82 Announce results when finsihed
HFJ-2042
2016-07-05 09:50:41 +02:00
Frode Petterson 587f488276 Bugfix unanswered toggles answered state
HFJ-2040
2016-07-04 13:05:38 +02:00
Frode Petterson 71f92ff664 Prevent stealing focus when page loads
HFJ-2040
2016-07-04 11:54:28 +02:00
Frode Petterson 5391fec861 Turns out navigation was a better fit
HFJ-2040
2016-07-04 11:42:56 +02:00
Frode Petterson 7071366b2d Use menu instead of navigation
Use keyboard to navigate menu.
HFJ-2040
2016-07-04 11:29:28 +02:00
Thomas Marstrander 6c82013c84 Improved how navigation dots are read.
HFJ-2040
2016-06-30 09:47:24 +02:00
Thomas Marstrander bc5668a4a0 Accessible navigation line.
Made readspeakers abel to announce all visible elements of the navigation line, i.e. answered/unanswered, current, and number.
HFJ-2040
2016-06-28 15:07:05 +02:00
Thomas Marstrander 917a8ed3c4 Reset individual questions on retry.
Remove finish button if a question is reset.
Remove dot styling if a question is reset.
HFJ-2044
2016-06-28 12:29:15 +02:00
Thomas Marstrander 7bcd2472ba Read feedback when changing question.
Do not read feedback when showing all solutions.
HFJ-2043
2016-06-27 15:42:31 +02:00
Thomas Marstrander 45af3ef06e Make sure to show announcer when changing it, since resetTask hides it.
HFJ-2041
2016-06-27 11:59:36 +02:00
Thomas Marstrander 653d12a85e Make readspeakers announce current question of total when changing question.
HFJ-2041
2016-06-27 11:43:00 +02:00
Paal Joergensen 87a1d722ca Fixed empty aria-label on dots [HFJ-2038] 2016-06-22 09:59:23 +02:00
Frode Petterson 2a5f6c35aa xAPI Context Extensions, use object not array
HFJ-2029
2016-06-16 10:15:06 +02:00
Paal Joergensen cf84bcc3f5 Reverted shortening of texts [HFJ-2010] 2016-06-10 13:19:00 +02:00
Paal Joergensen 5431b4b06a Making dot-status to answered only when getAnswerGiven() returns true 2016-05-30 15:04:24 +02:00
Frode Petterson 8f30b1e3a7 Remove buttons when not displaying results
Also removed empty feedback section to remove space.
HFJ-1935
2016-05-25 09:51:23 +02:00
Frode Petterson 1a36c88e66 Fix confirm dialog when intro is present
HFJ-1929
2016-05-23 10:16:46 +02:00
Paal Joergensen 9380a9ea98 Made disabled show results show a minimalistic end page [HFJ-1935] 2016-05-20 09:33:45 +02:00
Paal Joergensen 510123993a Making end-video using 100% width [HFJ-1875] 2016-05-09 15:30:22 +02:00
Paal Joergensen 11f7a2ba33 Not invoking getAnswerGiven() initially [HFJ-1876] 2016-05-09 09:32:56 +02:00
Paal Joergensen 8dd83f77d8 Merge branch 'confirmation-dialog' into release 2016-05-03 11:15:30 +02:00
Thomas Marstrander e90ef1f831 Added functionality for resizing Question Set if it is too small for confirmation dialog.
HFJ-1572
2016-04-25 13:28:02 +02:00
Paal Joergensen 35e8dbd925 Updated english strings in code to match semantics [HFJ-1858] 2016-04-22 10:33:07 +02:00
Thomas Marstrander d441f67b70 Override confirmation dialog parent element for interactions.
HFJ-1572
2016-04-21 15:51:43 +02:00
Frode Petterson fa7b05f6fe A case of a forgotten bracket 2016-04-18 13:14:20 +02:00
Frode Petterson e323c4ee3b Merge branch 'master' into unused-semantics
Conflicts:
	js/questionset.js
	language/ar.json
	language/de.json
	language/fr.json
	language/it.json
	language/nb.json
	language/nn.json
	semantics.json
	upgrades.js
2016-04-18 12:48:13 +02:00
Thomas Marstrander 0e50523853 Moved copyright question labels inside the common interface texts.
HFJ-1746
2016-04-15 12:49:09 +02:00
Frode Petterson 333d3f4161 Show intro when retrying
HFJ-1816
2016-04-15 09:49:50 +02:00