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

Use static emoji picker #1526

Merged
merged 1 commit into from
Oct 31, 2020
Merged

Use static emoji picker #1526

merged 1 commit into from
Oct 31, 2020

Conversation

PVince81
Copy link
Contributor

Solves constant CPU usage and energy impact when used in Talk app.

Also updated to 7.0.7.

See nextcloud/spreed#4501 for context about the performance issue and some research about it.

Note: not reproducible on the demo page with the emoji picker, so it might be due to some layout configuration.

Solves constant CPU usage and energy impact when used in Talk app.

Also updated to 7.0.7.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Copy link
Contributor

@skjnldsv skjnldsv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure

@skjnldsv skjnldsv requested review from GretaD, julien-nc, juliushaertl and ChristophWurst and removed request for georgehrke October 31, 2020 12:58
Copy link
Contributor

@julien-nc julien-nc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yay! I couldn't see any graphical difference between classic and static emoji picker. Totally worth using the static one!

This component is still quite heavy to load. I recently solved a big performance issue in Cospend by using v-if instead of v-show to avoid rendering it multiple times. Rendering 10 emoji pickers (even without triggering them) was taking more than one second. Maybe it's worth mentioning this in nc-vue doc.

Anyway, thanks @PVince81!

@skjnldsv skjnldsv merged commit 0750f44 into master Oct 31, 2020
@skjnldsv skjnldsv deleted the bugfix/noid/use-static-picker branch October 31, 2020 14:06
@skjnldsv skjnldsv added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Oct 31, 2020
@PVince81
Copy link
Contributor Author

PVince81 commented Nov 2, 2020

/backport to stable2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. to release Ready to be released and/or waiting for tests to finish bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants