-
Improvement
-
Resolution: Fixed
-
Minor
-
4.0
-
MOODLE_400_STABLE
-
MOODLE_400_STABLE
-
MDL-73347-master -
-
Moppies Kanban
After the UX improvements in Moodle 4.0, some of the blocks make no sense in boost (for instance, Navigation). However, they are still required when using classic.
A new theme setting should be added to let themes mark blocks as “un-addable” (to avoid them being displayed in the "Add a block" list). That will allow boost to define the following blocks in the default value (that admins will be able to change):
- Navigation (navigation). Navigation in Moodle 4.0 has been improved in boost so this block shouldn't be required anymore.
- Administration (settings). Same reason as Navigation.
- Courses (course_list). The "My courses" new page have been created, which replaces most of the content displayed on this block.
- Section links (section_links). The course index should help to quickly identify and access sections in a course.
This issue is about:
- Creating the method get_unaddable_by_theme_block_types() method (or similar).
- Calling this method from get_addable_blocks() in lib/blocklib.php
- Adding the theme setting, to let themes define their un-addable blocks.
- Adding the previous blocks to the boost theme.
- caused a regression
-
MDL-73719 Redundant theme_reset_all_caches callback
-
- Closed
-
- documents
-
MDL-75780 "Section links" block cannot be used (effectively) with non-core course formats although removed from (Boost's) Unneeded blocks list
-
- Closed
-
- has a non-specific relationship to
-
MDL-57120 Site participants, blogs, badges, notes and tags are absent without navigation block
-
- Open
-
- has been marked as being related by
-
MDL-77628 Can't add the block course_list anymore
-
- Closed
-
- Testing discovered
-
MDL-73647 Remove unaddable blocks setting in behat steps for cases where navigation can be done in a different way
-
- Open
-