### Problem
The current user profile page provides a detailed summary of contributions but
lacks a visual representation of activity trends. A calendar heatmap, similar
to GitHub's user contribution calendar, would make it easier to understand user
engagement over time at a glance.
### Description
I have implemented a working calendar heatmap locally for changesets using the
[cal-heatmap-rails
library](https://rubygems.org/gems/cal-heatmap-rails/versions/3.6.2?locale=en)
for display, querying changesets directly from the database. The heatmap
visually displays daily contributions, with color intensity representing the
number of changes for the changset on the given date.
**Additional Ideas:**
- Not sure if we should count changsets only in initial version or add diary
entries and note creations/comments as well.
- Since we have dark mode on OSM plan is for that to be reflected on the
heatmap as well.
**Next Steps:**
I’ll open a PR after refining the implementation. In the meantime, I’d love to
hear your thoughts and suggestions on this feature and the proposed
contribution types.
### Screenshots
<img width="631" alt="Screenshot 2024-12-03 at 11 55 46"
src="https://github.com/user-attachments/assets/dcb68c4f-f82f-4faa-b87b-d42ee29e3389">
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/5373
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/issues/5...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev