-
Notifications
You must be signed in to change notification settings - Fork 39
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
🐛 [Bug] Some users with short usernames missing on mention menu and cannot be mentioned #2635
Comments
I can reproduce the problem with user I believe it's a problem on the client and I guess the suggestion menu is lacking capabilities to browse the list of suggestions without typing. You cannot press space, you have to choose a search result from the list to continue. So if you have a large number of results and you can only put in two letters you have a problem because the desired search result does not show up. I would suggest that you could always use your arrow keys to browse the whole list. Also, the search should be better. Right now it's just checking if a user handle contains a character combination. A 100% match should always be the top search result. |
I agree in general with @roschaefer .
(Clearyfied @DennisHack ) |
related ? #2800 |
No relation to #2800 |
Hello! I would like to work on this. :) |
I assigned you @ashleysylvialee - please contact us on discord if you need help <3 |
For a quick fix, could we simply sort the results by length before returning? We could also implement or find and use a more sophisticated sorting algorithm that finds the closest match. match-sorter seems like it would be relevant here? |
🐛 Bugreport
Some users with a short username are missing on mention menu. Consequently, they can't be mentioned in a post or comment. Example: Username "tj" (@tj)
Steps to reproduce the behavior
Expected behavior
Username should be visible and selectable.
Version & Environment
Additional context
The text was updated successfully, but these errors were encountered: