Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-75567

In edit mode, only one 'hidden from students' badge is displayed at a time

    XMLWordPrintable

Details

    • MOODLE_400_STABLE, MOODLE_401_STABLE
    • MOODLE_400_STABLE
    • MDL-75567-400
    • MDL-75567-master
    • Hide
      1. Login as admin
      2. Create a new course of format topics (if you are using an exsting courses make sure no topic is neither hidden nor highlighted)
      3. Navigate to the course
      4. Switch editing mode on
      5. Highlight topic 1
      6. verify that the highlight badge is added to topic 1 (both in the content area but also in the course index)
      7. Highlight topic 2
      8. verify that the highlight badge is removed from topic 1 and added to topic 2
      9. Hide topic 2
      10. verify that the hidden badge is added to topic 2 (hidden badges exists just in the content area, not in the course index, there entries for hidden sections are in a lighter gray)
      11. Hide topic 3
      12. verify that the hidden badge is added to topic 3, and also remains in topic 2 (hidden badges exists just in the content area, not in the course index, there entries for hidden sections are in a lighter gray)
      13. Unhide topic 2 ("Show topic" action)
      14. verify that topic 2 has the highlight badge, topic 3 has the hidden badge, and no other badges are shown.
      Show
      Login as admin Create a new course of format topics (if you are using an exsting courses make sure no topic is neither hidden nor highlighted) Navigate to the course Switch editing mode on Highlight topic 1 verify that the highlight badge is added to topic 1 (both in the content area but also in the course index) Highlight topic 2 verify that the highlight badge is removed from topic 1 and added to topic 2 Hide topic 2 verify that the hidden badge is added to topic 2 (hidden badges exists just in the content area, not in the course index, there entries for hidden sections are in a lighter gray) Hide topic 3 verify that the hidden badge is added to topic 3, and also remains in topic 2 (hidden badges exists just in the content area, not in the course index, there entries for hidden sections are in a lighter gray) Unhide topic 2 ("Show topic" action) verify that topic 2 has the highlight badge, topic 3 has the hidden badge, and no other badges are shown.

    Description

      With edit mode switched on, only one topic at a time will display as hidden. In the images it shows one 'Hidden from students' badge on 'Icons Test', prior to that 'Topic 3' was hidden but the tag had jumped once another topic is hidden from students (see images below). Once 'edit mode' is switched off it displays all 'Hidden from students' badges.

      Attachments

        1. Screenshot 2022-08-24 at 11.56.45.png
          Screenshot 2022-08-24 at 11.56.45.png
          140 kB
        2. Screenshot 2022-08-24 at 11.56.30.png
          Screenshot 2022-08-24 at 11.56.30.png
          132 kB
        3. MDL-75567_v400_5.png
          MDL-75567_v400_5.png
          72 kB
        4. MDL-75567_v400_4.png
          MDL-75567_v400_4.png
          75 kB
        5. MDL-75567_v400_3.png
          MDL-75567_v400_3.png
          77 kB
        6. MDL-75567_v400_2.png
          MDL-75567_v400_2.png
          73 kB
        7. MDL-75567_v400_1.png
          MDL-75567_v400_1.png
          68 kB
        8. MDL-75567_master_5.png
          MDL-75567_master_5.png
          72 kB
        9. MDL-75567_master_4.png
          MDL-75567_master_4.png
          75 kB
        10. MDL-75567_master_3.png
          MDL-75567_master_3.png
          72 kB
        11. MDL-75567_master_2.png
          MDL-75567_master_2.png
          69 kB
        12. MDL-75567_master_1.png
          MDL-75567_master_1.png
          68 kB

        Issue Links

          Activity

            People

              justusdieckmann Justus Dieckmann
              a.lunario Alexa
              Luca Bösch Luca Bösch
              Ferran Recio Ferran Recio
              Angelia Dela Cruz Angelia Dela Cruz
              Amaia Anabitarte, Carlos Escobedo, Laurent David, Mikel Martín Corrales, Sabina Abellan, Sara Arjona (@sarjona)
              Votes:
              5 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                16/Jan/23

                Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 hours, 35 minutes
                  2h 35m