Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-18083 META: Gradebook improvements - Stage 1
  3. MDL-17991

[PATCH] New visual organization for gradebook user report (including category nesting, ranges)

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: Minor Minor
    • 1.9.5
    • 1.9.3
    • Gradebook
    • None
    • Any
    • MOODLE_19_STABLE
    • MOODLE_19_STABLE

      The current user grade report for students is fairly confusing if grade categories are used, especially if they are nested; it is very difficult to understand what category totals go with which grades. I was inspired by the nested and colored visualization Nicolas Connault provided for the categories and weights settings page in MDL-15680. As a way of understanding a bit better how the gradebook code works I decided to alter the user report to mimic his style.

      Attached is a first patch that implements the screenshot seen as User-Report-New0.png. The original view of the report is seen as User-Report-1.9.x.png.

      This patch (against 1.9.3+) uses the gradebook tree data structure and a recursive table_fill function to create an intermediate data structure which is then printed out. I threw away the tablelib code (as it seemed poorly documented and limited as to how I needed to use it (using colspan and rowspan table cells extensively).

      Future versions could possibly reveal more information to the user (statistics on each graded item, due dates on future assignments, etc.)

      The one clear and known bug is hidden grades at the user level have not been implemented as the existing code looked hackish and it was noted that it needed to be improved for 2.0.

      Looking for feedback...

        1. editgradettree.jpg
          editgradettree.jpg
          945 kB
        2. userreport_withpatch.jpg
          userreport_withpatch.jpg
          899 kB
        3. User-Report-1.9.x.png
          User-Report-1.9.x.png
          57 kB
        4. user-report-new.patch
          23 kB
        5. User-Report-New0.png
          User-Report-New0.png
          61 kB

            nicolasconnault Nicolas Connault (Inactive)
            paul.ortman Paul Ortman (Inactive)
            Votes:
            6 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

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