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

✨ Disable controls while loading #51

Closed
wants to merge 1 commit into from

Conversation

danton267
Copy link
Collaborator

@danton267 danton267 commented Jul 21, 2023

Disables controls on

  • initial app load
  • project change
  • slice change

Something to think about:
if the UX is a problem, we remove, let controls be usable while images are loading, and "cache" the changed controls.
Then every time a figure finishes plotting, look at the cache, and see if anything has changed since the plot creation event, if yes patch it => no constant enabling/disabling of controls, and having to wait for the user to be able to interact with them.

@danton267 danton267 linked an issue Jul 21, 2023 that may be closed by this pull request
@github-actions
Copy link

Staging application has been deployed and is available at: https://dash5-services.plotly.host/ml-exchange-staging
Production app name: ml-exchange
Current branch name: disable-controls-while-loading
Commit: 6079eec

@hannahker
Copy link
Collaborator

@danton267 this is functional but I'd advocate for the solution in #53 since it's fewer LOC and more maintainable!

@hannahker hannahker closed this Jul 25, 2023
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.

Need to disable the left hand side controls while image is loading
2 participants