-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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): dashboard doesn't load properly if it has tabs #21576
Conversation
Codecov Report
@@ Coverage Diff @@
## master #21576 +/- ##
==========================================
+ Coverage 66.65% 66.67% +0.01%
==========================================
Files 1794 1794
Lines 68692 68701 +9
Branches 7308 7313 +5
==========================================
+ Hits 45789 45807 +18
+ Misses 21035 21027 -8
+ Partials 1868 1867 -1
Flags with carried forward coverage won't be shown. Click here to find out more.
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
superset-frontend/src/dashboard/components/gridComponents/Tabs.test.jsx
Outdated
Show resolved
Hide resolved
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
…e#21576) Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
@stephenLYZ I tried 2.0.1rc2 docker hub image, to test this fix. I can still reproduce some issue of tabs. Please check. |
I can confirm that the issue of a dashboard's first (default) tab not loading if there are filters out of scope persists using the 2.0.1rc2 image on docker hub. |
…e#21576) Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
I still have this issue even with the lastest image 2.0.1rc6, could you please check ? @stephenLYZ |
@duanzy47 this will not be fixed until 2.1.0, see this comment for more #21263 (reply in thread) |
Looks like the issue persists in 2.1.0rc1. |
SUMMARY
This PR fixes the problem that dashboard does not load properly after switching dashboard when there are tabs and native filters. The reason is that the dashboard is loading the tab component with incorrect timing.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
before
2022-09-26.1.59.06.mov
after
2022-09-26.1.57.38.mov
TESTING INSTRUCTIONS
ADDITIONAL INFORMATION