When trying to rename a user account to an invalid name, the invalid name is 
shown in the upper right corner as if the rename already happened:
![image](https://github.com/user-attachments/assets/319ac66a-6f2b-4c41-b1e5-67dc9410ce21)

This PR shows the name before the invalid change:
![image](https://github.com/user-attachments/assets/1e502034-88a3-4e24-b5af-d37837b6bff6)

You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/5896

-- Commit Summary --

  * Show valid username in header when renaming

-- File Changes --

    M app/views/layouts/_header.html.erb (2)
    A test/system/account_rename_test.rb (19)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/5896.patch
https://github.com/openstreetmap/openstreetmap-website/pull/5896.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5896
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