Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-33827

Make GBNG category colour selection deterministic

    Details

    • Type: Task
    • Status: Verified
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 11.4
    • Fix Version/s: 12.0, 13.0 [Tentative]
    • Component/s: Gradebook
    • Labels:
      None
    • 12 status:
      Resolved
    • 11 status:
      Please Merge
    • Test Plan:
      Hide

      Please add a Test Plan here.

      Show
      Please add a Test Plan here.

      Description

      Categories have colours to delineate the different items/columns within the category. Currently, these colours are randomly generated, and change every time you reset/visit the tool.

      For users who associate colours with categories, changing the colours may throw them off each time they come to the page. We've received complaints about this, and have modified the behaviour so that the colour generation algorithm is deterministic. In this way, the colour code does not have to be stored anywhere, and the user will always see the same colours for their categories (unless a category is deleted and recreated with the same name).

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                bjones86 Brian Jones
                Reporter:
                bjones86 Brian Jones
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code