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

Preload options #3656

Merged
merged 2 commits into from Apr 17, 2023
Merged

Preload options #3656

merged 2 commits into from Apr 17, 2023

Conversation

yayuyokitano
Copy link
Member

#3652 already fixed any speed issue there may have been due to not preloading, but left the transition to the options page looking pretty bad, with toggles flickering and select text popping in.

By preloading the options, it ensures the user's preferred settings are loaded before going to the page, ensuring no flickering.

Makes some additional changes to the loading of override options to reduce lag. (Does not render connector options until the user clicks to expand, did some modification to existing lazy loading too)

@yayuyokitano yayuyokitano added the patch-change For patch changes label Apr 17, 2023
Copy link
Member

@inverse inverse left a comment

Choose a reason for hiding this comment

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

LGTM aside the logging

src/ui/options/components/options/connector-override.tsx Outdated Show resolved Hide resolved
@yayuyokitano yayuyokitano merged commit 902db6f into web-scrobbler:master Apr 17, 2023
6 checks passed
@inverse inverse added the fixed label Apr 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch-change For patch changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants