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

fix: don't re-fetch variables if their loading status is done #18651

Merged
merged 1 commit into from
Jun 23, 2020

Conversation

hoorayimhelping
Copy link
Contributor

@hoorayimhelping hoorayimhelping commented Jun 22, 2020

Connects #18296

Checks if variables have been loaded and skips the hydration process for any variables that have already been hydrated.

previously note the delay between double clicking the Submit/Cancel button and the cancel notification firing
old

now cancel button fires immediately*
new

* I know we're planning on changing it so it doesn't flash, but the flash is actually the indicator that the ui is responsive.

@hoorayimhelping hoorayimhelping force-pushed the bucky_dont_refetch_variables branch from ef54009 to 0224384 Compare June 22, 2020 23:54
@hoorayimhelping hoorayimhelping force-pushed the bucky_dont_refetch_variables branch from 0224384 to b68ae0f Compare June 22, 2020 23:57
Copy link
Contributor

@ebb-tide ebb-tide left a comment

Choose a reason for hiding this comment

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

👍

ui/src/variables/actions/thunks.ts Show resolved Hide resolved
@hoorayimhelping hoorayimhelping force-pushed the bucky_dont_refetch_variables branch from b68ae0f to 910cead Compare June 23, 2020 13:58
@hoorayimhelping hoorayimhelping force-pushed the bucky_dont_refetch_variables branch from 910cead to 47715b9 Compare June 23, 2020 15:18
@hoorayimhelping hoorayimhelping merged commit a96f21f into master Jun 23, 2020
@hoorayimhelping hoorayimhelping deleted the bucky_dont_refetch_variables branch June 23, 2020 15:33
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.

3 participants