this post was submitted on 11 Sep 2024
27 points (100.0% liked)

hexbear

10261 readers
2 users here now

Now that the old Hexbear fork has been officially abandoned, this community will be used as a space for meta-discussion on the site itself.

founded 4 years ago
MODERATORS
 

example: selecting "kelly" is a needless chore, because you have to sift through a bunch of kelly emojis to find the one named kelly. similar things happen with "slammer" and several others.

the canonical name of an emoji should always have precedence over keywords in the picker

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 7 points 2 months ago* (last edited 2 months ago) (1 children)

would adding "kelly" to the tags of :kelly: do it you think? it would double match then

I also am seeing in the code that we seem to put the keywords first in the array of strings for a given emote:

return [...customEmoji!.keywords.map(y => y.keyword), customEmoji!.custom_emoji.shortcode].join(',');

Maybe re-ordering that to put shortcode first would help? I haven't used that library so idk

Or maybe the library just does "once there's an exact match shrug your arms and sort it alphabetically". shit

[โ€“] [email protected] 6 points 2 months ago

yeah iirc, it just tries to match it the best it can and sort alphabetically.