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(ui): exiting out of a configure cell leaves cell content intact #15559

Merged

Conversation

hoorayimhelping
Copy link
Contributor

@hoorayimhelping hoorayimhelping commented Oct 24, 2019

Closes #15239

When the view editor overlay is loaded, getViewForTimeMachine is called. getViewForTimeMachine checks the store for the relevant view based on the viewID passed in to the function. Previously (the buggy state), getViewForTimeMachine dispatched a SET_VIEW action with a null view, even if view already existed in the store. Now, it only dispatches a null view if there is no view.

Note:

e2e tests are waiting on #15538 since the changes Deniz is making are necessary for me to write tests on this component.

fix

@hoorayimhelping hoorayimhelping changed the title Bs fix spooky disappearing dashboard content 👻 fix(ui): exiting out of a configure cell leaves cell content intact Oct 24, 2019
@hoorayimhelping hoorayimhelping requested a review from a team October 24, 2019 00:10
@ghost ghost requested review from 121watts and drdelambre and removed request for a team October 24, 2019 00:10
Copy link
Contributor

@121watts 121watts left a comment

Choose a reason for hiding this comment

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

This pr is fantastic. What a wonderful explanation of the problem. And automated tests! Woot!

@hoorayimhelping hoorayimhelping force-pushed the bs_fix_spooky_disappearing_dashboard_content_ branch from e6f36d8 to f00f7b2 Compare October 24, 2019 15:13
@hoorayimhelping hoorayimhelping merged commit 45944a4 into master Oct 24, 2019
@hoorayimhelping hoorayimhelping deleted the bs_fix_spooky_disappearing_dashboard_content_👻 branch October 24, 2019 15:42
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.

Dashboard cell contents disappear after canceled edit, require page refresh to view
2 participants