[openstreetmap/openstreetmap-website] Add headline to heatmap (PR #5976)
rkoeze
notifications at github.com
Sat May 3 10:32:47 UTC 2025
### Description
Adds dynamic headline to heatmap. Addresses https://github.com/openstreetmap/openstreetmap-website/issues/5810.
<img width="964" alt="Screenshot 2025-04-29 at 10 22 42 PM" src="https://github.com/user-attachments/assets/af4b5e9d-f9e3-4ea7-aada-5dd43150c42e" />
### How has this been tested?
On my local machine I've verified that the header works as expected in the case that a user has 0, 1, and >1 contributions.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/5976
-- Commit Summary --
* Calculate changeset count
* Add strings
* Add header
* Add tests
-- File Changes --
M app/controllers/users_controller.rb (2)
M app/views/users/show.html.erb (5)
M config/locales/en.yml (3)
M test/controllers/users_controller_test.rb (29)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/5976.patch
https://github.com/openstreetmap/openstreetmap-website/pull/5976.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5976
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5976 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250503/a255f4c8/attachment.htm>
More information about the rails-dev
mailing list