sadpandajoe opened a new pull request, #44674: URL: https://github.com/apache/superset/pull/44674
### SUMMARY Adds coverage for dashboard tab switching and charts in hidden tabs: - Switching tabs selects the clicked tab, exposes only its content panel, and renders that tab's content as visible while the previous tab's content is no longer visible. - A chart in a hidden tab does not re-render on prop updates, and adopts the pending update once its tab is revealed. Test-only change; no production code is modified. Each new assertion was verified to fail when the guarded production line is temporarily broken. ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF N/A (tests only) ### TESTING INSTRUCTIONS ```bash cd superset-frontend npm run test -- src/dashboard/components/gridComponents/Tabs/Tabs.test.tsx src/dashboard/components/gridComponents/Chart/Chart.test.tsx ``` ### ADDITIONAL INFORMATION - [ ] Has associated issue: - [ ] Required feature flags: - [ ] Changes UI - [ ] Includes DB Migration (follow approval process in [SIP-59](https://github.com/apache/superset/issues/13351)) - [ ] Migration is atomic, supports rollback & is backwards-compatible - [ ] Confirm DB migration upgrade and downgrade tested - [ ] Runtime estimates and downtime expectations provided - [ ] Introduces new feature or API - [ ] Removes existing feature or API 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
