### 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/5...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to