WIP: emoji_input: implement fuzzy suggestions #417
No reviewers
Labels
No labels
a11y
Bug
Bug fix
Critical Priority
Documentation
Feature
Feature request
Held for next release cycle
High Priority
Low Priority
Medium Priority
Minor change
Translation/Locale
WIP
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: AkkomaGang/akkoma-fe#417
Loading…
Reference in a new issue
No description provided.
Delete branch "novenary/akkoma-fe:fuzzy-emojis"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This makes it a lot easier to find what you're looking for with fewer keystrokes.
Open design questions:
Emoji shortcodes aren’t allowed to contain quotes, thus we could use quoted text for exact search analogous to commonly used search syntax and Akkoma’s database search being strict about order of quoted words
imho, for consistency yes, both interfaces should ideally use the same search method, but i don’t have good ideas re categories and ranking either
It was pointed out to me that the existing search is regex, so I could see some users appreciate the option to choose. As far as "exact" search is concerned, fzy.js already ranks exact substring matches at the top, so I think the results should be rather unsurprising for users who don't expect fuzzy matching.
huh, TIL; how about using slashes instead of quotes then; e.g.
/p[ae]t/
? Those too are not allowed in shortcodesIt works out when you know/suspect it ranks it first and pay attention, though I’ve been fooled a couple times into searching the result list for the desired emoji before realizing none was an exact match and the emoji just doesn’t exist on the server (or at least not under this name) This will already be taken care of with regex search though
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.