The addon I posted about 4 days ago is now available!


This user is suspected of being a cat. Please report any suspicious behavior.

      • nfreak@lemmy.ml
        link
        fedilink
        English
        arrow-up
        12
        ·
        2 months ago

        It just takes a pretty long time for the emoji list to load on my end. Network’s fine otherwise.

        • That’s still not quite clear to me, I’m asking of course because I want to figure out if there is anything I can do to make it better.

          The emoji list is downloaded when you click save in preferences, and has been saved into the browser storage once the date is changed. When you click on the icon to show the popup, it will fetch this list from local storage. If fetching the list from local storage takes a long time then it would probably take a long time for the emoji picker itself to show. The emoji picker will then begin to download the images for each of the emojies, this might take some time but once one has been downloaded it should be cached and hopefully be quick to display.

          Which part seems to be the problem?


          This user is suspected of being a cat. Please report any suspicious behavior.

          • Kumikommunism [comrade/them, any]@hexbear.net
            link
            fedilink
            English
            arrow-up
            12
            ·
            2 months ago

            I’m assuming you are loading them directly from Hexbear and not hosting them elsewhere. In which case, Hexbear emotes just load slowly a lot of the time and there isn’t anything you can do.

          • Enjoyer_of_Games [comrade/them, he/him]@hexbear.net
            link
            fedilink
            English
            arrow-up
            3
            ·
            2 months ago

            It’s thousands of images some that are over 3mb which all must then be resized for display in the emojimart. It’s not clear to me how the resizing is handled, I suppose it is inside browser.js which I can’t make heads or tails of. Would go a long way to speeding things up if the emoji where resized on the server itself and failing that at least having them presized to the picker display size in the local storage (if they’re not already).