-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Set heatmap color range configurable #5165
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set heatmap color range configurable #5165
Conversation
Codecov Report
@@ Coverage Diff @@
## master #5165 +/- ##
=========================================
Coverage ? 37.49%
=========================================
Files ? 309
Lines ? 45786
Branches ? 0
=========================================
Hits ? 17166
Misses ? 26158
Partials ? 2462
Continue to review full report at Codecov.
|
Wouldn't it make more sense to have HEATMAP_COLOR_RANGE in the theme? |
@filipnavara theme only load a custom CSS if not the default. I choose the most simple fix that also allow customisation if used with an others theme or custom template but maybe we could improve it by setting the default based on theme used. |
I like @filipnavara 's idea. |
But our themes has only css I think so that not really possible currently but I would also better see this added to themes somehow than in configuration |
Have also noticed a problem with scale, take a look at https://goblinrefuge.com/mediagoblin/u/gsantner/m/gitea-heatmap-issue/ . Thought fits here because people worked on heatmap are already in this issue :D. |
Oh, right it's nr 3. there |
Should fix #5164 by allowing the customization of the color range along theming
Suggestion to use with arc-green theme :

['#2d303b', '#80bb46']