Commit graph

150 commits

Author SHA1 Message Date
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
Frode Petterson
c045d440d9 Set min. height to background image on intro
Also, made sure that the image always covers the background.
HFJ-1815
2016-04-15 09:30:27 +02:00
Frode Petterson
63f6162ef2 Updated the default text 2016-04-08 16:07:24 +02:00
Frode Petterson
c36e31ebf4 Hooked up the texts for next/prev buttons
HFJ-1749
2016-04-08 16:06:36 +02:00
Frode Petterson
93a5efd6e8 Fixed aria-label for progress dots
HFJ-1750
2016-04-08 15:58:38 +02:00
Frode Petterson
04003cf303 Made summary buttons into valid buttons
HFJ-1749
2016-04-08 15:36:06 +02:00
Frode Petterson
ab76075acc Converted progress dots to links + ARIA label
HFJ-1750
2016-04-08 14:42:49 +02:00
Frode Petterson
2a26db16f6 Links for navigation + ARIA label
HFJ-1749
2016-04-08 12:40:28 +02:00
Thomas Marstrander
d8be2e07ad Added unused semantics to Score/summary screen.
HFJ-1710
2016-04-07 16:23:15 +02:00
Frode Petterson
40fa6542e6 Show feedback for each question
Ref. https://h5p.org/node/8730
HFJ-1747
2016-04-06 15:53:50 +02:00
Frode Petterson
bb943bbb3b Easier to use override 2016-04-04 15:50:41 +02:00
Thomas Marstrander
3036f888af Fix unused semantics.
HFJ-1710
2016-03-17 14:09:13 +01:00
Paal Joergensen
1e4ec27ae3 currentQuestion had to be set earlier [HFJ-1400] 2015-12-01 14:42:04 +01:00
Svein-Tore Griff With
db69bc60a3 Add question number to interactions - HFJ-1400 2015-11-28 21:00:16 +01:00
Svein-Tore Griff With
370c5c8803 Trigger attempted event the first time a user sees a question - HFJ-1397 2015-11-27 20:40:48 +01:00
Frode Petterson
fcbcfc951e Only pause is needed in Question Set
(questions only have pause)
HFJ-1218
2015-11-18 10:00:44 +01:00
Frode Petterson
a36014c1e0 Stop video when finished
HFJ-1218
2015-11-18 10:00:19 +01:00
Frode Petterson
2d9a7cccda Added missing semi colon
HFJ-1218
2015-11-18 09:59:45 +01:00
Thomas Marstrander
3a038ea027 Fixed stopping media when changing question.[HFJ-1218] 2015-11-18 09:38:44 +01:00
Paal Joergensen
3423fabc15 Revert "Added wysiwyg support to title field."
This reverts commit b00490bbe6.
2015-11-06 14:24:11 +01:00