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

Reply via email to