-
Improvement
-
Resolution: Fixed
-
Minor
-
4.2
-
MOODLE_402_STABLE
-
MOODLE_402_STABLE
-
MDL-76990-master -
-
3
-
HQ 2023 Sprint i1.1 Moppies
As a teacher
I want to be able to indent activities
so I could simulate a hierarchy on my course
Move right/left functionality was removed from Moodle 4.0. We want to recover the functionality as in 3.11 but with some changes:
- This issue doesn't include any migration/upgrading process. So the value for 'indent' field in the course_modules table of the database won't change by default.
- There is only one indentation level allowed. So the teacher could move the activity once to the right. That means that when the teacher moves any activity to the right, the new value for 'indent' field in the 'course_modules' table will be 1. And when the teacher moves any activity to the left, the new value for 'indent' field in the 'course_modules' table will be 0. Whatever the previous value of the 'indent' field was.
- For activities with 'indent' value 0 or any negative value, there will be an option to 'Move right', but not to 'Move left'.*
- For activities with 'indent' value higher than 0, there will be an option to 'Move left', but not to 'Move right'.*
- For activities with 'indent' value higher than 0, the activity card will have a bigger margin on the left part as shown in the prototype.*
*: Remember for RTL languages the functionality should be the opposite, as in 3.11
Note: A backporting request would be raised once this issue is integrated, so we should try to implement the patch following the rules to be backportable. More information about backporting request: https://moodledev.io/general/development/policies/backporting
- blocks
-
MDL-76991 New course format setting to enable/disable course indentation in Weeks and Topics
- Closed
-
MDL-76992 Apply indentation on the course index
- Closed
-
MDL-76993 Recover move right/left functionality removed/hidden for 4.0 (backport of MDL-76990)
- Closed
-
MDL-77433 Move state actions capability checks to validate_cms method.
- Closed
- caused a regression
-
MDL-78385 "Move left" action not working in block_site_main_menu
- Closed
- is parent of
-
MOBILE-4282 Apply indentation on the apps' course page
- Closed
- will help resolve
-
MDL-76993 Recover move right/left functionality removed/hidden for 4.0 (backport of MDL-76990)
- Closed