You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Username completion ordering: when I type a username, @... I expect to see the shorter/exact match sorted before the longer incomplete match, but this is not the current behavior.
Steps to reproduce
Find/create users with matching-prefix names, ideally where one username is a prefix of the other, @prefix & @prefixuser
Type @ to begin tagging, at @prefix
(I observe) @prefixuser first in the suggestions and tab completion, despite that it should come later in lexicographic order.
Is there some kind of special casing of completion on shorter or complete/terminated words/tokens?
Logs being sent: no
Screenshot
Shows chat text-entry box, with user-completion initiated.
Text: @dk
Completion: @dkess then @dk
Version information
Platform: desktop
For the desktop app:
OS: macOS
URL: private, 1.7.10
The text was updated successfully, but these errors were encountered:
Originally, I thought this is going to be an easy thing to do but it doesn't seem to be that easy: We use both mxids and display names when searching. That means that if we try to order the completions by length and I type @mat, I'll get the user with mxidlx:matrix.org first (in #element-dev). The only solution I can see right now is to cut off the server part of the mxids, which isn't ideal
Description
Username completion ordering: when I type a username,
@...
I expect to see the shorter/exact match sorted before the longer incomplete match, but this is not the current behavior.Steps to reproduce
@prefix
&@prefixuser
@
to begin tagging, at@prefix
@prefixuser
first in the suggestions and tab completion, despite that it should come later in lexicographic order.Is there some kind of special casing of completion on shorter or complete/terminated words/tokens?
Logs being sent: no
Screenshot
Shows chat text-entry box, with user-completion initiated.
Text:
@dk
Completion:
@dkess
then@dk
Version information
For the desktop app:
The text was updated successfully, but these errors were encountered: