-
-
Notifications
You must be signed in to change notification settings - Fork 832
Order users in autocomplete by length #6348
Order users in autocomplete by length #6348
Conversation
Signed-off-by: Šimon Brandner <[email protected]>
Signed-off-by: Šimon Brandner <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the code looks fine, though personally I'd prefer a relevancy metric over a length metric. If I share a lot of rooms with Matthew, and ping Matthew a lot, and talk to Matthew a lot, I probably want to ping that Matthew.
Signed-off-by: Šimon Brandner <[email protected]> Co-authored-by: Travis Ralston <[email protected]>
This seems like more of a product decision vs a design thing. Switched the reviewers ⏩ |
@SimonBrandner I know this has been a while but I think this is a risky change so we should close/not merge this. I can see the attraction of exact matching if searching for something short, but we'll break peoples existing muscle memory so it's a really high risk change. I also agree with Travis's comment that we should figure out some smarter relevancy metrics instead, perhaps informed by space membership too. Sorry to be the bearer of bad news! |
No worries, makes sense, could you please comment/close the issue? |
Fixes element-hq/element-web#15609
This isn't an ideal solution since it doesn't take the server part of
mxid
s into account when searching for the reasons explained in element-hq/element-web#15609 (comment)