mebis-lp / moodle-mod_mootimeter

Other
8 stars 7 forks source link

MBS-9107: Add the option to expand and collapse the edit panel in edit mode as well #116

Open tholudwig opened 2 months ago

tholudwig commented 2 months ago

**Description As a teacher, the panel for editing content types is only displayed in edit mode. By deactivating the edit mode, the panel disappears. This makes sense, as you only want to edit the activity in this mode.

open_dialogue

However, some teachers would like to have a kind of preview for the student view. (De)activating the edit mode does not seem to be very useful, especially as the option is not very intuitive.

Idea: Make the edit panel collapsible and expandable. The familiar arrows from the block area could be used for this. arrow

**Goal

  1. to make the edit panel easy to expand and collapse.
  2. the previous functionality should remain unaffected.

Test instructions

  1. create Mootimeter activity.
  2. switch to edit mode --> the corresponding panel is displayed
    • Before patch: the panel only disappears by deactivating the edit mode.
    • After patch: User has the option of folding the panel in and out.