pablobm left a comment (openstreetmap/openstreetmap-website#6612)

@hlfan - I think we shouldn't try to fix 
https://github.com/openstreetmap/openstreetmap-website/pull/6616 (mentions with 
spaces) with a regexp or similar. I think we should implement a selector of the 
sort you see in GitHub or Slack, where you get a dropdown the moment you enter 
an "@" character, and then this gets stored as `@[user_id:$USER_ID]` (or 
something to that effect) that is interpreted and replaced as appropriate when 
renderding. This would also fix the issue of users changing usernames and 
leaving old usernames behind in comments, sometimes maliciously.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6612#issuecomment-3670633084
You are receiving this because you are subscribed to this thread.

Message ID: 
<openstreetmap/openstreetmap-website/pull/6612/[email protected]>
_______________________________________________
rails-dev mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to