<!--
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/[email protected]>
_______________________________________________
rails-dev mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to