this post was submitted on 07 Mar 2024
18 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
 

for example when I type :cringe and it opens the menu for me to browse, it pulls up like 200 emotes most of which don't even have half of the word cringe in them, just way, way too many results so I couldn't find the ones actually tagged with the keyword. Am I doin something wrong?

Love the new system, thanks so much for the hard work! I think something in the searching algorithm is a bit loose? I don't know how to code in the slightest so idunno but something sure isn't right

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 6 points 8 months ago* (last edited 8 months ago)

The autofill popup definitely has some bugs especially on mobile and with so many more emotes all with their own tags in the system. Buuuuut, at least on desktop, typing :cringe is showing me things with exact title or tag matches first (the first 7 results) and then it descends into gibberish partial word/letter combo matches, which is annoying but I think expected?

If there is an issue, from what I've seen, its weird rendering on mobile, and possibly not starting scrolled to the top of the list, landing people in the middle of the gibberish results to start with instead. Does that line up with what you're seeing?

If anyone wants to look into it, we are using this library: https://github.com/zurb/tribute Calling it here: https://github.com/hexbear-collective/lemmy-ui/blob/1787a778f8cf01fb1b00262e44ae8e49f9b3ccc1/src/shared/markdown.ts#L335

Looks like we aren't setting a maximum for how many items it should load. I think it would be reasonable to do that.