Skip to content
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

Sort emote autocomplete properly #90

Open
zorchenhimer opened this issue Apr 29, 2019 · 0 comments
Open

Sort emote autocomplete properly #90

zorchenhimer opened this issue Apr 29, 2019 · 0 comments
Labels
bug Something isn't working front-end Anything HTML/CSS/JS

Comments

@zorchenhimer
Copy link
Owner

Currently, the emote autocomplete popup is sorted alphabetically form the top down, and is case sensitive. When the default selection was moved to the bottom in 40f4cc7 the sort order was not reversed and made the incorrect sort order much more noticeable.

Given the autocomplete input of :pog the list from top to bottom is

POGGERS
Pog
PogChamp
peepogun

with the last item being selected. The correct order should be reversed, sorted ignoring case, and the shortest at the bottom:

POGGERS
PogChamp
Pog
peepogun

Additionally, if an option matches the input exactly (eg, :pog matches Pog in the list) that should be selected even though peepogun contains the input and would normally be the default selection.

@zorchenhimer zorchenhimer added bug Something isn't working front-end Anything HTML/CSS/JS labels Apr 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working front-end Anything HTML/CSS/JS
Projects
None yet
Development

No branches or pull requests

1 participant