-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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(explore): highlight Run button correctly when query is stale #15994
Conversation
Codecov Report
@@ Coverage Diff @@
## master #15994 +/- ##
==========================================
+ Coverage 76.98% 77.11% +0.13%
==========================================
Files 988 988
Lines 52378 53529 +1151
Branches 6622 7093 +471
==========================================
+ Hits 40322 41278 +956
- Misses 11833 12020 +187
- Partials 223 231 +8
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
/testenv up |
@rusackas Container image not yet published for this PR. Please try again when build is complete. |
@rusackas Ephemeral environment creation failed. Please check the Actions logs for details. |
@suddjian Container image not yet published for this PR. Please try again when build is complete. |
@suddjian Ephemeral environment creation failed. Please check the Actions logs for details. |
/testenv up |
@rusackas Ephemeral environment spinning up at http://54.68.119.214:8080. Credentials are |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Can I test this PR with dd feature flag on? The previous reported issue is dd related |
/testenv up FEATURE_ENABLE_EXPLORE_DRAG_AND_DROP=true |
@rusackas Ephemeral environment spinning up at http://34.210.64.222:8080. Credentials are |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Run.button.mov
Ephemeral environment shutdown and build artifacts deleted. |
Awesome work! |
SUMMARY
In the staleness logic, it was only looking at the changes in controls since the last render of the explore container, when actually it should look at changes since the last query.
This also fixes a number of other cases where changing the value of a control did not prompt running the query.
AFTER
Screen.Recording.2021-07-30.at.3.27.08.PM.mov
TESTING INSTRUCTIONS
Open explore, change controls around, see run button light up.
ADDITIONAL INFORMATION