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 plan view not updating #1451

Closed

Conversation

OskarDamkjaer
Copy link
Contributor

When reusing a frame for profiling, the react lifecycle methods were written so that the component didn't update properly when it received new props. Meaning the db-hits numbers in PlanStatusBar didn't refresh as a new query was profiled.

Before:
https://user-images.githubusercontent.com/10564538/122965716-ccce0980-d388-11eb-8032-8a5d54c45505.mp4

After:
https://user-images.githubusercontent.com/10564538/122965400-6fd25380-d388-11eb-8876-7967d8a6b13a.mp4

This PR is dependent on #1445. The change intended for review is only the last commit. Preview at http://fix_plan_view_not_updating.surge.sh

@OskarDamkjaer
Copy link
Contributor Author

Closing in favour of #1455

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.

1 participant