-
Improvement
-
Resolution: Fixed
-
Minor
-
4.0
-
MOODLE_400_STABLE
-
MOODLE_400_STABLE
-
MDL-72897-master -
-
Moppies Kanban
In course formats with course index, the current section should be marked. The format should be the same as the activity name in the course index when the user is at an activity page (darker gray).
About detecting the current section there are two scenarios:
- In multiple sections per page, the main region scroll should determine the active section. Something similar to what bootstrap scrollspy does.
- In a single section per page, the selected section is the displayed one.
- If the user clicks on an element of the course index, it will be marked as the active element until the user move the content scroll
This issue is also about the course index scroll position. There are several possibilities here:
- If the user is on an activity page: the course index scrolls to the activity item. This way the next and previous activities are visible without scrolling.
- If the user is in the course page depends:
- In view mode: the course index scrolls to the current position so the content scroll position changes also the course index scroll and the current element is always visible.
- In edit mode: in edit mode the course index is important to drag and drop items from one section to another (even if they are several sections away from one another). For this reason, in edit mode, scrolling the content won't affect the course index.