Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Make user autocomplete query search beyond prefix #5822

Merged
merged 2 commits into from
Apr 1, 2021

Conversation

germain-gg
Copy link
Contributor

fixes element-hq/element-web#12237

The user autocomplete query matcher would not look beyond the prefix. This changes this behaviour to be able to look through the whole user name

@germain-gg germain-gg requested a review from a team March 31, 2021 10:43
Copy link
Collaborator

@jryans jryans left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, that was easier than expected! Let's also do some more clean up here as well.

src/autocomplete/UserProvider.tsx Outdated Show resolved Hide resolved
@germain-gg germain-gg requested a review from jryans March 31, 2021 17:21
Copy link
Collaborator

@jryans jryans left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, thanks! 😄

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

It's really annoying that t3<tab> doesn't autocomplete 'Michael (t3chguy)'
2 participants