[openstreetmap/openstreetmap-website] Logo Refresh (PR #6652)
Adithyaa Saravanam
notifications at github.com
Wed Dec 24 11:40:53 UTC 2025
<!--
Please read the contributing guidelines before making a PR:
https://github.com/openstreetmap/openstreetmap-website/blob/master/CONTRIBUTING.md
Pay particular attention to the section on how to present PRs:
https://github.com/openstreetmap/openstreetmap-website/blob/master/CONTRIBUTING.md#pull-requests
-->
### Description
<!--Describe your changes in detail. If you have made changes to the UI, include screenshots. If your PR addresses a Github issue, please link to it.-->
Addressing issue [#6651](https://github.com/openstreetmap/openstreetmap-website/issues/6651) by adding automatic page refresh functionality when clicking the OpenStreetMap logo, eliminating the need for pressing F5.
### How has this been tested?
<!--Explain the steps you took to test your code.-->
**Desktop Testing:**
- [x] Clicked logo on homepage (`/`) → page refreshes automatically
- [x] Clicked logo on `/about` → navigates to homepage
- [x] Clicked logo on `/communities` → navigates to homepage
- [x] Clicked logo on `/export` → navigates to homepage
- [x] Clicked logo on `/copyright` → navigates to homepage
**Mobile Testing:**
- [x] Tested in Chrome DevTools responsive mode (iPhone, Android)
- [x] Verified touch events work correctly
- [x] Confirmed behavior matches desktop
**Code Quality Checks (via Docker):**
- [x] **Rubocop**: 912 files inspected, no offenses detected ✓
- [x] **ERB Lint**: No errors found in ERB files ✓
- [x] **JavaScript**: Inline code follows standard syntax ✓
**Browser Compatibility:**
- [x] Chrome - tested
- [x] Firefox - tested
- [x] Safari - tested
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/6652
-- Commit Summary --
* Logo Refresh
-- File Changes --
M app/views/layouts/_header.html.erb (2)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/6652.patch
https://github.com/openstreetmap/openstreetmap-website/pull/6652.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6652
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/6652 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20251224/db432fee/attachment.htm>
More information about the rails-dev
mailing list