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 performance of skeleton tab #7989

Merged
merged 17 commits into from
Aug 15, 2024
Merged

Improve performance of skeleton tab #7989

merged 17 commits into from
Aug 15, 2024

Conversation

philippotto
Copy link
Member

@philippotto philippotto commented Aug 13, 2024

The PR optimizes the contextmenu for tree items similarily how it was done for the segments in #7958. The scroll speed is improved by a factor of ~3.

Use "ignore whitespace" while reviewing. even better: use this tip.

URL of deployed dev instance (used for testing):

  • https://___.webknossos.xyz

Steps to test:

  • use the skeleton tab including the context menu

Issues:


(Please delete unneeded items, merge only when none are left open)

@philippotto philippotto self-assigned this Aug 13, 2024
@philippotto philippotto marked this pull request as ready for review August 13, 2024 12:23
Copy link
Contributor

@MichaelBuessemeyer MichaelBuessemeyer left a comment

Choose a reason for hiding this comment

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

I found a possible refactorings. After they are addressed, I'll test the fast skeleton tab 🔥

Copy link
Contributor

@MichaelBuessemeyer MichaelBuessemeyer left a comment

Choose a reason for hiding this comment

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

Code LGTM 👍 . Will test after lunch 🍽️

And thanks for the awesome refactoring & the additional fixes

Copy link
Contributor

@MichaelBuessemeyer MichaelBuessemeyer left a comment

Choose a reason for hiding this comment

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

Awesome works 🎉

I only noticed an unrelated thing: If there are enough skeletons so that the tab becomes vertically scrollable, the horizontal scrollbar is pushed out of the tab and is therefore not reachable anymore. => In case a skeleton has a long name, one can no longer scroll to see the full name :/

As this is unrelated lets mergy merge and some this in another pr

oh and the pref improvement is very noticeable 🎉

@philippotto philippotto merged commit 84285e6 into master Aug 15, 2024
2 checks passed
@philippotto philippotto deleted the skeleton-tab-perf branch August 15, 2024 11:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants