Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
4.0
-
MOODLE_400_STABLE
-
MOODLE_400_STABLE
-
MDL-72603-master -
-
4
-
HQ Team International Sprint 9, HQ Team International Sprin 10, HQ Team International CI H2-21
Description
Currently in the courses view of the timeline block, there are left/right arrows to paginate between events within each course, which can be confusing, because there can be other courses shown below the arrows.
To make this more intuitive to navigate, we are going to replace the pagination functionality with a single button to allow "lazy loading" of additional activity events into the existing list, below the content that is already loaded.
Functional requirements
- In courses view, the < > arrows for switching between pages under a course will be removed, and replaced by a "Show more activities" button.
- In the dates view, both the < > arrows and the "show x" dropdown will be removed and replaced by the "Show more activities" button.
- Instead of the user choosing how many results to load in dates view (which is removed in #2 above), dates view should load 5 items initially, and with each press of "Show more activities", it should load an additional 10 results (if there are that many available). In courses view, the button should also load an additional 10, and the default amount loaded initially can stay as it is currently set.
- The "Show more activities" button should be left aligned, be a button-secondary, use btn-sm (so it's similar size to the call to action buttons) and have padding such as "pt-1 pb-2", so that in courses view, the button is closer to the course listing it relates to, and has more whitespace before the next course heading.
- For consistency with the new button, the existing "More courses" button should be updated to read "Show more courses".
- To help differentiate the more courses button from the new activities button, and to help separate it from the course specific information, we should change it to be button-primary (instead of secondary) and also update the classes so it is centred in the block.
Here are some mockups demonstrating the above requirements:
Attachments
Issue Links
- Testing discovered
-
MDL-66129 Courses restored miss due / closing dates for several activity types in Calendar and other blocks
-
- Open
-