18
submitted 8 months ago* (last edited 8 months ago) by AOCapitulator@hexbear.net to c/hexbear@hexbear.net

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

all 11 comments
sorted by: hot top controversial new old
[-] YearOfTheCommieDesktop@hexbear.net 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.

[-] makotech222@hexbear.net 4 points 8 months ago

Yeah i noticed that when i implemented it; The js library for the inline emojis has a search functionality, and it basically finds all emojis with name/keywords that contains the letters that you are searching for, and ranks them as most matching to least. So searching 'cringe' will search for all emojis that have the letters 'c' 'r' 'i' ..., with the top ranked emojis having the most letters and in typed order.

I tried to work around it a bit but the library doesn't have any hooks for it as far as i saw.

[-] YearOfTheCommieDesktop@hexbear.net 4 points 8 months ago* (last edited 8 months ago)

Oh! One thing I didn't mention that I would be remiss not to: Use the emoji mart by clicking on the little smiley face at the top of the text entry box. It has better search, but displays the emotes very tiny. Totally separate system from the autocomplete popup deal I discuss in my other comment

[-] AOCapitulator@hexbear.net 3 points 8 months ago

it displays it too tiny for me, hard to see what Im looking for, thanks for mentioning though!

[-] OgdenTO@hexbear.net 1 points 8 months ago

I wonder if there's a way to make these display a little bit larger?

[-] InevitableSwing@hexbear.net 1 points 8 months ago

I've always gotten very little - cough - feedback when I've posted in c/feedback. I guess c/hexbear is always where the party is.

[-] AOCapitulator@hexbear.net 1 points 8 months ago

I don't even think it exists anymore? I looked and didn't see it, maybe I'm silly

[-] InevitableSwing@hexbear.net 1 points 8 months ago
[-] AOCapitulator@hexbear.net 1 points 8 months ago

I did that, I guess I must have typod somehow lmfao

[-] InevitableSwing@hexbear.net 1 points 8 months ago

Search can be awful. I regularly get false negatives. It drives me batty.

this post was submitted on 07 Mar 2024
18 points (100.0% liked)

hexbear

10263 readers
1 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