-
Improvement
-
Resolution: Fixed
-
Minor
-
4.3
-
MOODLE_403_STABLE
-
MOODLE_404_STABLE
-
MDL-80828-main -
-
2
-
HQ 2024 Sprint I1.2 Moppies
When an activity has only show/hide visibility options, the actions menu item should not show a subpanel. Instead, it should do the same as the section action menu (showing only the show or hide action directly into the menu). However, when the activity has three options (show/hide/stealth) or stealth/hide ones, the options should be displayed as subpanels because they are not obvious and need extra descriptions.
From the technical perspective those are the list of possible scenarios:
- If allowstealth (Administration > Advanced features) is enabled. The options are always displayed in a subpanel as it is now
- If allowstealth (Administration > Advanced features) is disabled there are two scenarios:
- If the activity is inside a visible section: do NOT display the subpanel but only the show or hide action. This is the only new scenario.
- If the activity is inside a hidden section: show the subpanel with the stealth and hide options as it is now.
To check this:
- Create a course C1 and an activity A1 (Assignment)
- Enable allowstealth
- Go in editing mode
- Click on the action menu next to A1
- Ensure that you have an availability menu that is leading to 3 options
Now disable stealth mode:
- In the same drop down menu (action menu) you should have one option: hide or show (and not any availability submenu)
- has to be done after
-
MDL-80220 Update the section visibility badge to use status dropdown like the activities
-
- Closed
-