Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve startup time #3

Open
rugk opened this issue Mar 29, 2019 · 5 comments
Open

Improve startup time #3

rugk opened this issue Mar 29, 2019 · 5 comments
Labels
enhancement New feature or request help wanted Extra attention is needed UI/usability/UX

Comments

@rugk
Copy link
Owner

rugk commented Mar 29, 2019

startup

The GIF does not really convey it, but it does not really start fast. 😃

Actually, it is kinda slow and you can see it first opens only a small white space and then – when the Emoji picker is inserted – it occupies all the space and FF increases the popup size… 😄

This should be faster… (no idea, how, though…)

@Prometheos2
Copy link
Contributor

Possible solution?

It might be due to the toolbox charging up everything at the same time instead of doing it incrementally (i.e.: first the toolbox structure, the first rows, then by block of rows).

@rugk
Copy link
Owner Author

rugk commented Apr 18, 2019

Hmm… but this is likely a behavior of emoji-mart or preact…

Likely hard to influence… 🤔

@rugk rugk added the help wanted Extra attention is needed label Jun 24, 2019
@rugk
Copy link
Owner Author

rugk commented Jun 24, 2019

Resources are already served locally and I've already optimized emoji-mart in the best way I can think of (#8), so I really guess there is nothing I can do here anymore.

Thus I marked this as "help wanted". If anyone has any idea/can analyze what is the issue here, feel free to do so.

In my case, it still takes 1-2 seconds when the popup is opened until I see the whole emoji picker.

@Prometheos2
Copy link
Contributor

I have seen that Trello uses a suspiciously similar emoji tool, it seems to start a bit faster, so it might interest you.

@rugk
Copy link
Owner Author

rugk commented May 30, 2020

The problem is likely the startup time of React/preact that needs to init it's own system and start the things.

On a website like Trello, that then likely is already built with React, that is the thing that loads once at website startup and then stays there. The emoji picker "opens" a new website at each start, however…

rugk pushed a commit that referenced this issue Nov 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed UI/usability/UX
Projects
None yet
Development

No branches or pull requests

2 participants