gjbarnard / moodle-format_grid

Grid course format contributed by Gareth J Barnard originally created by Paul Krix
GNU General Public License v3.0
21 stars 55 forks source link

Customizable Completion Color Statuses #221

Open Ardelean-Emanuel opened 2 days ago

Ardelean-Emanuel commented 2 days ago

Feature Request: Customizable Completion Color Statuses in Moodle 4.4

Is your feature request related to a problem? Please describe.

I am currently unable to modify the completion status colors (e.g., not started, in progress, completed) in Moodle. This limitation is frustrating when trying to align the user interface with specific branding or color accessibility requirements. It also limits instructors' ability to provide visually distinct and customizable progress indicators to learners.

Describe the solution you'd like

I would like to see a feature that allows administrators to configure the colors associated with each of the three completion statuses (not started, in progress, completed) directly within the Moodle configuration settings. This option should provide a simple user interface for choosing and assigning colors, possibly through a color picker. The solution should be global and same throughout the courses. Describe alternatives you've considered

Alternatives I've considered include modifying plugin's CSS styles directly Additional context

Adding customization options for completion colors would be especially useful for institutions that follow strict branding guidelines or for courses that need higher contrast for accessibility. It would also give instructors more control over the visual presentation of their courses.

Versions you are currently using (please complete the following information):

Will create a pull request with this change later

gjb2048 commented 2 days ago

@Ardelean-Emanuel Whist I appreciate reports of bug fixes and improvements. I tend (through experience) to want / need to do the code myself, especially when its on such a scale greater than a line or two. As quite frankly it takes me less time to do so then actually reviewing and checking another developer's code - plus I'm then obligated to maintain it, for which when there is an issue with it is really annoying - rather than being annoyed with myself for any bugs that I create. However, if you wish to fund my time to make the improvement, then that is something we can negotiate.

As far as I can see there is no accessibility issues with the colours selected (and overrideable in a theme) in the CSS.