[openstreetmap/openstreetmap-website] Can't open user with "invisible" username (on Notes) (Issue #6642)
Andrew Harvey
notifications at github.com
Mon Dec 22 05:11:33 UTC 2025
andrewharvey left a comment (openstreetmap/openstreetmap-website#6642)
>From what I can tell their display name is the Unicode Right to Left Override character repeated 7 times.
> alternatively (or additionally), there could be enforcement that OSM usernames must always contain at least some visible characters (but it should somehow apply to not only new, but also existing users)
Agreed.
> It would be nice to be able to be able to click on the username. E.g. instead of "Comment from [Matija Nalis](https://www.openstreetmap.org/user/Matija%20Nalis)" it could say "Comment from [user Matija Nalis](https://www.openstreetmap.org/user/Matija%20Nalis)", which would allow one to click on it even if username itself (in this case "Matija Nalis") was not visible.
A short-term workaround to address this on the front end is to use JavaScript to check the username element width, if it's 0, then there's no characters displayed and we could substitute in a generic username placeholder text, potentially based on the user uid.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/6642#issuecomment-3680503136
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/issues/6642/3680503136 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20251221/117462ce/attachment.htm>
More information about the rails-dev
mailing list