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

Implement dropdown menu for the header actions in the Grader report table

    XMLWordPrintable

Details

    • MOODLE_402_STABLE
    • MDL-76147-master-2
    • Hide

      Mostly covered by Behat

      1. On admin/settings.php?section=gradereportgrader page ensure there is no 'Show calculations' setting
      2. On admin/settings.php?section=gradereportgrader page ensure there is no 'Show activity icons' setting
      3. Create a course
      4. Enrol some users with Student role and also 2 users with role Teacher and Non-Editing Teacher
      5. Remove 'moodle/grade:viewhidden' for Non-Editing Teacher role
      6. On course grader report prefercences page ensure there is no 'Show calculations' setting
      7. On course grader report prefercences page ensure there is no 'Show activity icons' setting
      8. Create quiz and assignment
      9. Create another assignment with 'gradetopass' set to some number (like 50)
      10. Create manual grade item on gradebook setup page with grade of type scale
      11. Create manual grade item on gradebook setup page with grade of type value
      12. Create some grade sub categories on different levels and put some items in them
      13. Give users some grades (via assignment/quiz grade interface).
      14. Go to grader report page with editing off
      15. Ensure grade items have only this element in action menu: 'Singleview for this item'
      16. Ensure user action menus have only these items: 'User report, Singleview for this user'
      17. Ensure grade categories menus have only these items: 'Show grades only, Show totals only, Show grades and totals'
      18. Ensure no grade items or categories cells has any status icon by default (i.e. no lock icon, hidden icon etc)
      19. Turn editing on
      20. *Ensure that each grade items cell have these options: 'Singleview for this item, Hide, Lock, Edit grade item'. Manual grade items, totals items and outcome should also have 'Edit calculation' option
      21. *Ensure that each grade categorycell have these options: 'Show grades only, Show totals only, Show grades and totals, Hide, Lock, Edit category'
      22. Ensure that 'Edit grade item' option leads you to grade item edit page.
      23. Ensure that 'Edit grade category' option leads you to grade category edit page.
      24. On edit grade item page check ''Hidden' and 'Locked' checkbox and Save changes
      25. On grader report page ensure that associated cell have status hidden and locked icons. Each icon should have relevant tooltip.
      26. If user has grade to that grade item - all those grade should also be now hidden and locked and have relevant icons in cell
      27. On edit grade category page check ''Hidden' and 'Locked' checkbox and Save changes
      28. On grader report page ensure that associated cell have status hidden and locked icons. Each icon should have relevant tooltip.
      29. If user has grade items and grades for that grade category - all those grade items and grades should also be now hidden and locked and have relevant icons in cell
      30. Play with action menu 'hide', 'show' for grade items and grade categories and ensure grade items, grades and grade category cells have correct statuses and options are changing accordingly (i.e. if item is hidden, action menu should have Show option, similar to locked)
      31. Create a grade category and put some grade items with grades into it
      32. On grader report select 'Show grades only, Show totals only, Show grades and totals' for your category from category action menu
      33. Ensure each time category view mode is changed according to selected option - i.e. if you choose Show grades only, no category total column is presented
      34. Ensure that that you can see selected view mode in action menu dropdown (black tick)
      35. Ensure that action menus are not covered by underlying row or Averages row
      Show
      Mostly covered by Behat On admin/settings.php?section=gradereportgrader page ensure there is no 'Show calculations' setting On admin/settings.php?section=gradereportgrader page ensure there is no 'Show activity icons' setting Create a course Enrol some users with Student role and also 2 users with role Teacher and Non-Editing Teacher Remove 'moodle/grade:viewhidden' for Non-Editing Teacher role On course grader report prefercences page ensure there is no 'Show calculations' setting On course grader report prefercences page ensure there is no 'Show activity icons' setting Create quiz and assignment Create another assignment with 'gradetopass' set to some number (like 50) Create manual grade item on gradebook setup page with grade of type scale Create manual grade item on gradebook setup page with grade of type value Create some grade sub categories on different levels and put some items in them Give users some grades (via assignment/quiz grade interface). Go to grader report page with editing off Ensure grade items have only this element in action menu: 'Singleview for this item' Ensure user action menus have only these items: 'User report, Singleview for this user' Ensure grade categories menus have only these items: 'Show grades only, Show totals only, Show grades and totals' Ensure no grade items or categories cells has any status icon by default (i.e. no lock icon, hidden icon etc) Turn editing on *Ensure that each grade items cell have these options: 'Singleview for this item, Hide, Lock, Edit grade item'. Manual grade items, totals items and outcome should also have 'Edit calculation' option *Ensure that each grade categorycell have these options: 'Show grades only, Show totals only, Show grades and totals, Hide, Lock, Edit category' Ensure that 'Edit grade item' option leads you to grade item edit page. Ensure that 'Edit grade category' option leads you to grade category edit page. On edit grade item page check ''Hidden' and 'Locked' checkbox and Save changes On grader report page ensure that associated cell have status hidden and locked icons. Each icon should have relevant tooltip. If user has grade to that grade item - all those grade should also be now hidden and locked and have relevant icons in cell On edit grade category page check ''Hidden' and 'Locked' checkbox and Save changes On grader report page ensure that associated cell have status hidden and locked icons. Each icon should have relevant tooltip. If user has grade items and grades for that grade category - all those grade items and grades should also be now hidden and locked and have relevant icons in cell Play with action menu 'hide', 'show' for grade items and grade categories and ensure grade items, grades and grade category cells have correct statuses and options are changing accordingly (i.e. if item is hidden, action menu should have Show option, similar to locked) Create a grade category and put some grade items with grades into it On grader report select 'Show grades only, Show totals only, Show grades and totals' for your category from category action menu Ensure each time category view mode is changed according to selected option - i.e. if you choose Show grades only, no category total column is presented Ensure that that you can see selected view mode in action menu dropdown (black tick) Ensure that action menus are not covered by underlying row or Averages row
    • 12
    • HQ Team Alpha - Sprint 1.3, Team Alpha - Sprint 2, Team Alpha - Sprint 1 I1-2023

    Description

      Summary:

      Based on the figma prototype the aim of this issue is to implement a new "meatballs" dropdown menu that contains all present actions available in view or edit mode in each header cell in the Grader report table. Also, within the scope of this issue is to implement a similar "meatballs" dropdown (with different options) within each table cell that represents the user. 

      The goal of this change is to further de-clutter the Grader report and reduce the cognitive load.

      Scope:

      1. Implement new "meatballs" dropdown menu for each header item and place the current available actions within this dropdown.
      2. Implement new "meatballs" dropdown menu for each user cell item and place the current available actions within this dropdown.
      3. Implement reasonable automated testing.

      Attachments

        Issue Links

          Activity

            People

              ilyatregubov Ilya Tregubov
              Geshoski Mihail Geshoski
              Shamim Rezaie Shamim Rezaie
              Jun Pataleta Jun Pataleta
              Kim Jared Lucas Kim Jared Lucas
              Votes:
              0 Vote for this issue
              Watchers:
              8 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 - 1 week, 2 days, 7 hours, 5 minutes
                  1w 2d 7h 5m

                  Clockify

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