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

Ability to collapse/expand items (columns) in the Grader report

XMLWordPrintable

    • MOODLE_401_STABLE, MOODLE_402_STABLE
    • MOODLE_402_STABLE
    • MDL-75274-weekly
    • Hide

      Important: JS caching MUST be turned on for the browser local storage to remain between page reloads, view our storage wrapper for more details

      Prerequisites:

      1. Create a course.
      2. Enrol a teacher (t1) and few students in the course (s1, s2, s3)
      3. Create few activities in the course (e.g. assignment1, assignment2, assignment3)
      4. Create a custom user profile field (https://docs.moodle.org/401/en/User_profile_fields) of type Text input
        1. short name: testprofilefield
        2. Name: Test user profile field
        3. Character limit: 32
      5. Enable (check) all options in the 'Show user identity' setting in Site admin > Users > Permissions > User policies

      Test

      1. Login as teacher
      2. Navigate to the course.
      3. Go to the Grader report in the course.
        1. confirm that there aren't any indicators of collapsed columns in the tertiary navigation
      4. Open the actions dropdown menu for the grade item 'assignment1'.
        1. confirm that there is a 'collapse' option.
      5. Click on the collapse option.
        1. confirm that the the 'assignment1' column is collapsed and you can no longer see the related information for this grade item.
        2. confirm that there is a '+' option to expand this grade item.
        3. confirm that there is an indicator that 1 columns is collapsed with a dropdown menu in the tertiary navigation area.
        4. confirm that the dropdown menu of collapsed columns contains 'assignment1'. 
      6. Repeat steps 4-5 with the other grade items and user identity fields (excluding category and course totals) and each time
        1. confirm that the columns is collapsed
        2. confirm that the number of collapsed columns shown in the tertiary navigation is accurate.
        3. confirm that the dropdown menu of collapsed columns is accurate.
      7. Reload the page
        1. confirm that the columns which were collapsed previously are still shown as collapsed.
      8. Open the dropdown menu with the collapsed columns in the tertiary navigation.
        1. confirm that the relevant grade category is displayed next to each collapsed grade item.
      9. Search for 'assignment1'.
        1. confirm that list of collapsed columns is filtered and only 'assignment1' is shown.
      10. Repeat the search with different keywords.
        1. confirm that the correct set of results is returned each time.
      11. Click on the + action on few of the collapsed columns and each time:
        1. confirm that the columns is now expanded.
        2. confirm that the number of collapsed columns in the tertiary navigation is updated and accurate.
        3. confirm that the expanded item is no longer present in the dropdown menu of collapsed columns in the tertiary navigation.
      12. Make sure that you still have several columns collapsed and open the dropdown menu of collapsed columns.
      13. Select (check) several of the collapsed columns and click on the expand button.
        1. confirm that all selected columns are now expanded.
      14. Actively sort the report by one of the visible columns (can be identity field or a grade item) and then collapse this column.
        1. confirm that the active sorting is not based on the 'First name' column
      Show
      Important: JS caching MUST be turned on for the browser local storage to remain between page reloads, view our storage wrapper for more details Prerequisites: Create a course. Enrol a teacher (t1) and few students in the course (s1, s2, s3) Create few activities in the course (e.g. assignment1, assignment2, assignment3) Create a custom user profile field ( https://docs.moodle.org/401/en/User_profile_fields ) of type Text input short name: testprofilefield Name: Test user profile field Character limit: 32 Enable (check) all options in the 'Show user identity' setting in Site admin > Users > Permissions > User policies Test Login as teacher Navigate to the course. Go to the Grader report in the course. confirm that there aren't any indicators of collapsed columns in the tertiary navigation Open the actions dropdown menu for the grade item 'assignment1'. confirm that there is a 'collapse' option. Click on the collapse option. confirm that the the 'assignment1' column is collapsed and you can no longer see the related information for this grade item. confirm that there is a '+' option to expand this grade item. confirm that there is an indicator that 1 columns is collapsed with a dropdown menu in the tertiary navigation area. confirm that the dropdown menu of collapsed columns contains 'assignment1'.  Repeat steps 4-5 with the other grade items and user identity fields (excluding category and course totals) and each time confirm that the columns is collapsed confirm that the number of collapsed columns shown in the tertiary navigation is accurate. confirm that the dropdown menu of collapsed columns is accurate. Reload the page confirm that the columns which were collapsed previously are still shown as collapsed. Open the dropdown menu with the collapsed columns in the tertiary navigation. confirm that the relevant grade category is displayed next to each collapsed grade item. Search for 'assignment1'. confirm that list of collapsed columns is filtered and only 'assignment1' is shown. Repeat the search with different keywords. confirm that the correct set of results is returned each time. Click on the + action on few of the collapsed columns and each time: confirm that the columns is now expanded. confirm that the number of collapsed columns in the tertiary navigation is updated and accurate. confirm that the expanded item is no longer present in the dropdown menu of collapsed columns in the tertiary navigation. Make sure that you still have several columns collapsed and open the dropdown menu of collapsed columns. Select (check) several of the collapsed columns and click on the expand button. confirm that all selected columns are now expanded. Actively sort the report by one of the visible columns (can be identity field or a grade item) and then collapse this column. confirm that the active sorting is not based on the 'First name' column
    • 26
    • Team Alpha - Sprint 1 I1-2023, Team Alpha - Sprint 2 I1-2023, Team Alpha - Sprint 3 I1-2023

      Summary:

      Based on the v4 figma prototype the aim of this issue is to implement a functionality that would enable users to collapse or expand items (columns) in the Grader report. This feature will further improve the usability and eliminate or reduce the long horizontal scroll in situations where the users wants to only focus on certain grade category items.

      Scope:

      1. Each expanded item (column) has a 'Collapse' option within its action menu.
      2. Each collapsed item has an actionable indicator which expands the item on click.
      3. The state of expanded/collapsed items is saved on a per teacher basis.
      4. Indicator of current collapsed items in the tertiary navigation area with an option to quickly expand one or more items. Supports searching for collapsed items. 
      5. Implement reasonable automated testing.

        1. (I) Passed -- (Master)MDL-75274.png
          (I) Passed -- (Master)MDL-75274.png
          71 kB
        2. collapse.webm
          1.18 MB
        3. collapse-1.webm
          133 kB
        4. console-error-1.png
          console-error-1.png
          17 kB
        5. explode_deprecation_notice.png
          explode_deprecation_notice.png
          81 kB
        6. Screenshot from 2023-04-03 16-56-16.png
          Screenshot from 2023-04-03 16-56-16.png
          10 kB

            mathewmay Mathew May
            mathewmay Mathew May
            Mihail Geshoski Mihail Geshoski
            Ilya Tregubov Ilya Tregubov
            Kim Jared Lucas Kim Jared Lucas
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 1 week, 3 days Original Estimate - 1 week, 3 days
                1w 3d
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 5 weeks, 3 hours, 43 minutes
                5w 3h 43m

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