-
New Feature
-
Resolution: Unresolved
-
Minor
-
None
-
4.5
-
MOODLE_405_STABLE
The number of activities displayed by default in the Timeline dashboard widget should be configurable.
By default, only 5 activities are displayed. More can be shown by clicking the "Show more activities" button.
The timeline is the main widget in our case and I want the student to see all their due activities on one page, without clicking buttons.
This was configurable (per user) before the "Show more activities" button was introduced.
The configuration should be brought back, preferably as a global configuration option.
Currently it is hardcoded in https://github.com/moodle/moodle/blob/7a318d5c85aa15b9ad49a42c4c93b2b663adca95/blocks/timeline/amd/src/event_list.js#L65-L68
/** @property {number} The total items will be shown on the first load. */
const DEFAULT_LAZY_LOADING_ITEMS_FIRST_LOAD = 5;
/** @property {number} The total items will be shown when click on the Show more activities button. */
const DEFAULT_LAZY_LOADING_ITEMS_OTHER_LOAD = 10;
- has a non-specific relationship to
-
MDL-65012 Set Default View in Timeline Block
-
- Open
-