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

Improve the UI related to the bulk move functionality in Gradebook setup

    XMLWordPrintable

Details

    • MOODLE_402_STABLE
    • MOODLE_403_STABLE
    • MDL-77035-master-2
    • Hide
      1. Login as admin
      2. Create a course (e.g. Course 1)
      3. In the gradebook setup in the course
        1. Create few nested grade categories. e.g:
          • Category 1
            • Category 2
              • Category 3
        2. Create several manual grade items within some of the created categories. e.g:
          • Manual item 1 (parent category -> Course 1)
          • Manual item 2 (parent category -> Category 1)
          • Manual item 3 (parent category -> Category 2)
      4. When none of the available checkboxes in the gradebook setup table are selected
        1. confirm that you don't see any bulk actions in the sticky footer
      5. Select 'Grade item 1' and 'Grade item 2' by checking their respective checkboxes.
        1. confirm that you can now see the bulk move option in the sticky footer.
        2. confirm that you see text that indicates the number of selected items.
        3. confirm that there is a cancel option that unchecks all checkboxes and cancels the bulk action mode.
      6. While still having Grade item 1 and Grade item 2 selected, click on the bulk action 'Move'
        1. confirm that you see a 'Move items' modal
        2. confirm that you can see the course grade category tree in the modal
        3. confirm that there is Cancel and Move action buttons (Move is initially disabled)
        4. confirm that there is an option to collapse/expand the categories and confirm that it works as expected.
      7. Click on the Course 1 category item.
        1. confirm that Course 1 is selected and the Move button is now enabled.
      8. Try to navigate through next and previous items using the keyboard (up/down arrow keys) and confirm that it works as expected.
      9. Try to navigate straight to the first and last category item using the keyboard (home/end keys) and confirm that it works as expected.
      10. When the focus is on a category item, try to collapse and expand the category using the keyboard (left/right arrow keys) and confirm that it works as expected
      11. When the focus is on a category item, press enter and confirm that the item is now selected.
      12. Select the category 'Category 3' and click on the 'Move' button.
        1. confirm that 'Manual grade 1' and 'Manual grade 2' are now moved under Category 3.
      Show
      Login as admin Create a course (e.g. Course 1) In the gradebook setup in the course Create few nested grade categories. e.g: Category 1 Category 2 Category 3 Create several manual grade items within some of the created categories. e.g: Manual item 1 (parent category -> Course 1) Manual item 2 (parent category -> Category 1) Manual item 3 (parent category -> Category 2) When none of the available checkboxes in the gradebook setup table are selected confirm that you don't see any bulk actions in the sticky footer Select 'Grade item 1' and 'Grade item 2' by checking their respective checkboxes. confirm that you can now see the bulk move option in the sticky footer. confirm that you see text that indicates the number of selected items. confirm that there is a cancel option that unchecks all checkboxes and cancels the bulk action mode. While still having Grade item 1 and Grade item 2 selected, click on the bulk action 'Move' confirm that you see a 'Move items' modal confirm that you can see the course grade category tree in the modal confirm that there is Cancel and Move action buttons (Move is initially disabled) confirm that there is an option to collapse/expand the categories and confirm that it works as expected. Click on the Course 1 category item. confirm that Course 1 is selected and the Move button is now enabled. Try to navigate through next and previous items using the keyboard (up/down arrow keys) and confirm that it works as expected. Try to navigate straight to the first and last category item using the keyboard (home/end keys) and confirm that it works as expected. When the focus is on a category item, try to collapse and expand the category using the keyboard (left/right arrow keys) and confirm that it works as expected When the focus is on a category item, press enter and confirm that the item is now selected. Select the category 'Category 3' and click on the 'Move' button. confirm that 'Manual grade 1' and 'Manual grade 2' are now moved under Category 3.
    • 8
    • Team Alpha - Sprint 1 I2-2023, Team Alpha - Sprint 2 I2-2023, Team Alpha - Sprint 3 I2-2023, Team Alpha - Planning I3-2023, Team Alpha - Sprint 1 I3-2023

    Description

      Summary:

      This issue is the first phase of the planned revamp of the functionality that enables bulk moving of items in the Gradebook setup.

      https://www.figma.com/proto/Q32b6Brl54TrEUBTjwgdz0/4.1-Gradebook?page-id=316%3A53496&node-id=6145-158863&viewport=73%2C125%2C0.13&scaling=scale-down&starting-point-node-id=6145%3A159571&show-proto-sidebar=1

      The aim of this issue is to improve the current UI related to the bulk moving of grade items and make it consistent with the newly introduced bulk move of activities on the course page.

      Acceptance criteria:

      • Remove the select in the footer when 1 or more items have been selected
      • A new Move option in the sticky footer when 1 or more items have been selected that opens a new modal
      • The modal contains a collapsible tree like structure that represents the grade categories
      • Users can select where the grade items should be moved (under which category).
      • The modal has ‘Move’ and ‘Cancel’ actions in the footer.
      • Automated testing

      Excluded from this issue:

      • Bulk moving of categories
        • Whilst noted in reviews, can be seen as odd currently, we are not changing the underlaying behaviour. This issue purely seeks to move from a select within the footer to a modal
           

      Attachments

        Issue Links

          Activity

            People

              Geshoski Mihail Geshoski
              Geshoski Mihail Geshoski
              Mathew May Mathew May
              Shamim Rezaie Shamim Rezaie
              Kim Jared Lucas Kim Jared Lucas
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 1 week, 1 day Original Estimate - 1 week, 1 day
                  1w 1d
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 weeks, 1 day, 4 hours, 39 minutes
                  2w 1d 4h 39m

                  Clockify

                    Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.