[openstreetmap/openstreetmap-website] Show valid username in header when renaming (PR #5896)
Anton Khorev
notifications at github.com
Sat Apr 5 19:23:11 UTC 2025
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:

This PR shows the name before the invalid change:

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/5896 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250405/401e7bea/attachment.htm>
More information about the rails-dev
mailing list