-
Task
-
Resolution: Done
-
Minor
-
None
-
4.3
-
MOODLE_403_STABLE
-
2
-
HQ 2023 Sprint i2.3 Moppies
The new activity card proposed for 4.3 include several icons that only appear when the value is not the default one:
- Group mode icon: only appear when the activity is in separate or visible groups, but it is hidden in now groups.
- Availability: only appear is hidden and stealth activities, but not in visible ones.
This is a good solution because it reduces the visual load of the course and allows the teacher to differentiate activities settings easily.
The new design also incorporates direct manipulation of those icons. In the new design, clicking the icon will prompt the user to all the available options and allow them to change the settings directly from the course page. Again, this is a good improvement from the UX perspective as it provides a more intuitive way to craft the course.
However, combining those two characteristics produces an undesired situation when the user changes the setting to the default value. When the user clicks the default value option, the icon disappears, and, inconsequence:
- To undo the action, the user should open the activity action menu because no icon is available anymore.
- The activity is refreshed when the option is clicked, and the focus should go somewhere. The common behaviour is to return to the previously clicked element, which was the icon, but the icon is no longer visible and cannot be focused.
This issue is about defining what to do in this scenario.
Technical shaping
One possible option is to detect the active activity card (via hover or has(focused)) and keep the default icons visible and accessible via the keyboard. Another option is to keep the default icon visible until it loses focus.