-
Notifications
You must be signed in to change notification settings - Fork 13.8k
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): dnd error when dragging metric if multi: false #16088
Conversation
Codecov Report
@@ Coverage Diff @@
## master #16088 +/- ##
==========================================
- Coverage 76.86% 76.83% -0.04%
==========================================
Files 995 995
Lines 52876 52890 +14
Branches 6720 6724 +4
==========================================
- Hits 40645 40639 -6
- Misses 12005 12026 +21
+ Partials 226 225 -1
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
/testenv up FEATURE_ENABLE_DRAG_AND_DROP=true |
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.
The code looks good to me. Now waiting for env to spin up for manual testing
@kgabryje Container image not yet published for this PR. Please try again when build is complete. |
@kgabryje Ephemeral environment creation failed. Please check the Actions logs for details. |
/testenv up FEATURE_ENABLE_DRAG_AND_DROP=true |
@kgabryje Ephemeral environment spinning up at http://52.42.154.69:8080. Credentials are |
I was able to reproduce the error: Screen.Recording.2021-08-06.at.8.57.31.AM.mov |
@michael-s-molina Thanks for catching that! My original fix worked with dnd enabled, I added a fix for non-dnd now Screen.Recording.2021-08-09.at.10.47.40.mov |
Ephemeral environment shutdown and build artifacts deleted. |
🏷 2021.31 |
* fix(explore): dnd error when dragging metric if multi: false * Fix error for non-dnd controls (cherry picked from commit b7cc89c)
…16088) * fix(explore): dnd error when dragging metric if multi: false * Fix error for non-dnd controls
…16088) * fix(explore): dnd error when dragging metric if multi: false * Fix error for non-dnd controls
SUMMARY
When dragging a metric a bit in a control that accepts only a single metric, an error occurred. After this fix not only there's no error, but also "Run" button doesn't highlight (as there's no actual change).
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
Before: see linked issue
After:
https://user-images.githubusercontent.com/15073128/128349174-53832874-e7d7-42ea-8080-13020bd995fd.mov
TESTING INSTRUCTIONS
ADDITIONAL INFORMATION
CC @junlincc @jinghua-qa