-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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(dashboard): Don't switch to first tab when directPathToChild changes #26340
fix(dashboard): Don't switch to first tab when directPathToChild changes #26340
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #26340 +/- ##
=======================================
Coverage 69.18% 69.18%
=======================================
Files 1945 1945
Lines 75971 75973 +2
Branches 8467 8468 +1
=======================================
+ Hits 52559 52561 +2
Misses 21225 21225
Partials 2187 2187
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
/testenv up |
@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. |
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
…ges (apache#26340) (cherry picked from commit 39ac453)
SUMMARY
When user performed an action that caused
directPathToChild
to point to an element outside ofDashboardContainer
(such as clicking on applied native filter's name in chart's header to highlight the native filter), it caused the tabs to switch to the first tab.This PR fixes that behaviour to instead remain on current tab.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
Before:
Screen.Recording.2023-12-22.at.11.47.24.mov
After:
Screen.Recording.2023-12-22.at.11.46.23.mov
TESTING INSTRUCTIONS
ADDITIONAL INFORMATION