[openstreetmap/openstreetmap-website] Show heatmap only to logged in users (PR #5829)
Anton Khorev
notifications at github.com
Thu Mar 20 23:16:44 UTC 2025
I'd like to add a year selector to the heatmap and maybe more things. Since that will reveal even more information about users we might want to hide the heatmap for those who didn't log in. A proper check would be the terms of use acceptance, but that's not possible until #5706 is merged.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/5829
-- Commit Summary --
* Test if max_id is present in heatmap data
* Split heatmap rendering tests
* Show heatmap only to logged in users
-- File Changes --
M app/controllers/users_controller.rb (38)
M test/controllers/users_controller_test.rb (62)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/5829.patch
https://github.com/openstreetmap/openstreetmap-website/pull/5829.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5829
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5829 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250320/97629aa4/attachment.htm>
More information about the rails-dev
mailing list