-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Don't highlight mention of unknown user #10021
Comments
You don't know usernames. Using auto-completion takes away this burden.
⛔ No workarounds
True. Until a new Ivan shows up ;) But perhaps
User IDs are fixed and cannot be changed. Anyway, I already said that I acknowledge the problem and gave one suggestion how to solve the issue in nextcloud/spreed#1006 (comment) (2., it's a bit saddening that it needs to be stated, but: 1. is not meant to be serious). It limits creating mentions to the help of auto-completion and ensures no technical data is expose while twitter handles an location hints stay in place. Alas it brings a lot of work with it, bad for 14. A different, simpler approach would be to extend the display name resolver for users to throw an exception when the user was not found. Then the endpoint (we have the native DAV one an a custom talk one) to skip the mention, so it'll be formatted as plain text. That's rather quick and easy to accomplish, so the better option for 14. What I hate about this approach is that it still would expose technical data to end users (see implications above). |
Moved to 15 |
So what Github does is pretty simple … if the handle does not exist or does not exist anymore, it simply shows up as text like |
no, it'll show up like |
Also what Github does is renaming all deleted accounts to to @ghost which is maybe nicer than "@unknown user", but you'll just think it's just some person, then a very active person, and then you maybe look up the accounts page. Right now I am not sure they also change it in the comments text, but anywhere else in the UI. |
Is this still valid? |
Follow up from here: nextcloud/spreed#1006
This is what happens if I mention a user who doesn't exists in Talk:
I think instead we shouldn't format the mention and show it as a normal string. Imagine I want to tell someone
I'm @schiessle on Twitter
, this shouldn't be changed toI'm @UnknownUser at Twitter
Some additional thoughts from @jancborchardt :
Agree with @schiessle here. There’s some other cases additionally:
@schiesle
or@blizzzz
would be completely made unreadable to@Unknown user
, which is worse than showing them with a typo@Unknown user
@Unknown user
will make the context invisible too. With a non-marked-up@ivan
you at least know who it was addressed too, even though they aren’t in the system anymore.The text was updated successfully, but these errors were encountered: