[openstreetmap/openstreetmap-website] Extract heatmap data assembly into helper (PR #6018)

Marwin Hochfelsner notifications at github.com
Fri May 16 23:28:38 UTC 2025


Make the heatmap data generation more modular for yearly contribution calendars and address some points from the post merge discussion of #5998
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/6018

-- Commit Summary --

  * Improve heatmap colors
  * Improve heatmap data caching
  * Extract heatmap data assembly into helper

-- File Changes --

    M app/assets/stylesheets/common.scss (8)
    M app/controllers/users_controller.rb (36)
    A app/helpers/heatmap_helper.rb (25)
    M app/views/users/_heatmap.html.erb (3)
    M app/views/users/show.html.erb (5)
    M test/controllers/users_controller_test.rb (16)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/6018.patch
https://github.com/openstreetmap/openstreetmap-website/pull/6018.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6018
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/6018 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250516/f63684fb/attachment-0001.htm>


More information about the rails-dev mailing list