-
Improvement
-
Resolution: Fixed
-
Blocker
-
4.0
-
MOODLE_400_STABLE
-
MOODLE_400_STABLE
-
MDL-73335-tim -
-
3
-
Navigation push 10, Navigation push 11, Navigation push 13, Navigation push 14
Given the following designs on figma we need to implement the tertiary navigation for the Quiz module and Question Bank:
Some of this work was done in MDL-71915, but it was agreed to revert all commits related to Quiz and Question bank and reintroduce the code separated in logical commits.
This is a list of the issues/regressions that needs to be addressed and included to the general tertiary navigation changes:
- The dropdown selection does not get preserved when a validation error happens. To reproduce:
- As a teacher, go to the Question bank.
- Select Export
- Press "Export questions to file" without selecting a File format
- Validation fails
- Expected: The dropdown will show "Export" as selected.
- Actual: The dropdown selects the first item on the list (Questions) instead of the "Export" menu item.
- This behavior is also noticed with import. For instance in step 2 select "Import" and then in the following page, click "Import" button at the bottom. You would see validation fails and user sees "Question" instead of "Import" in the menu item.
- Students are presented with the option to re-attempt the quiz regardless of the enforced delay between attempts (Identified in
MDLQA-15546,MDL-73323).- Login as a teacher, edit the settings for the quiz and set an enforced delay between 1st and 2nd attempts of 1 minute and an enforced delay between later attempts of 30 seconds.
- Login as a student and attempt the quiz.
- Go back to the Quiz.
- Expected: you should not have an option to re-attempt the quiz until the time delay between attempts has passed. There should be a text notifying the user that he must wait until can re-attempt the quiz
- Actual: there is an option to 'attempt quiz' which triggers an error.
- And, more generally, the button to start/continue a quiz attempt/preview should have an appropriate button lable at all times. That is, initially the button is 'Attempt quiz', but if you leave in the middle of a quiz attempt, and come back later, it will say 'Continue the last attempt', etc. Basically, the logic that was there before was right, and should not have been changed.
- The access message for the quiz is shown at the bottom, instead it should be shown after the tertiary nav.
- Update the heading text to "User overrides"/"Group overrides" in the user/group override pages and move it under the tertiary navigation.
- Move the 'Add category' section (Question bank > Categories) to its own page and add a button (primary) "Add category" in the Question bank > Categories tertiary navigation which
- redirects to this page.
- Remove the cog icon from the quiz activity.
- When the quiz has a time limit, there needs to be some spacing between that and any other information such as the grading method. We should either display these paragraphs in separate lines as the original behavior or display them on the same line with some responsive spacing. Also, we should move them just below the tertiary navigation buttons.
- The 'Edit quiz' button should be removed from the tertiary navigation and new item 'Questions' (linking to this page) should be added to the secondary navigation instead.
- The 'Attempt quiz' button should be 'primary' for students. NOTE: I wasn't able to replicate this on the QA site, but it would be good to double check whether there are any existing scenarios where this button is displayed as secondary.
- The default visible items in the secondary navigation should be organized in the following order: Quiz, Settings, Questions, Results, Question bank.
- The secondary navigation item 'Overrides' should be renamed to 'Settings overrides' and placed in the secondary more menu by default.
- When a student starts an attempt in a quiz with a set time limit, a modal should be displayed notifying the student about the time limit restrictions as in 3.11.
- As a student, in the quiz summary page the 'Submit all and finish' button should be primary
- The review quiz page should be max-width.
- blocks
-
MDL-73595 Review making tertiary navigation items more distinct.
- Closed
-
MDL-73957 Allow secondary navigation to be shown for behat in quiz
- Closed
- caused a regression
-
MDL-79324 Moodle 4.x tertiary nav 'Back' button loses student's work during quiz attempts
- Open
-
MDL-76668 No links to manual grading/statistics/responses in Quiz in Single activity course format
- Reopened
-
MDL-73630 Missing space in quiz information
- Closed
-
MDL-75347 qbank_action_menu is not extandable by plugins
- Closed
- has a non-specific relationship to
-
MDL-77242 Niveau de titre H2 manquant dans l'activité Test
- Closed
- is a regression caused by
-
MDL-71915 Implement tertiary navigation for plugin set 4 of 4
- Closed
- is blocked by
-
MDL-72234 Plugin set 4 of 4 tertiary navigation followup
- Closed
- Testing discovered
-
MDL-73969 Left over code in mod/forum/view.php
- Closed
- will help resolve
-
MDL-73323 enforced delay option at quiz
- Closed
-
MDL-73418 Quiz: "Continue the last attempt" > "Continue your attempt"
- Closed