superset
superset copied to clipboard
[Dashboard] Issue with tabbed dashboard
There are 2 issues:
- When user leaves dashboard on any tab other than the 1st tab, that tab is seen selected when user returns to dashboard. Even though the charts from 1st tab are visible.
- In first situation, if user clicks on 1st tab and then again to previous tab, the chart data loading gets stuck.
How to reproduce the bug
- Open Sample Dashboard, 'Sales Dashboard'.
- Go to 'Exploratory' tab
- Go to 'Dashboards' list page
- Again, open 'Sales Dashboard'
- 1st issue
- Click on 'Sales Overview' tab
- Click on 'Exploratory' tab
- 2nd issue
Expected results
1st issue: Dashboard opens with charts from 1st tab, and 1st tab seen selected. 2nd issue: Dashboard should load the charts normally.
Actual results
1st issue: Dashboard open with charts from 1st tab, but 2nd tab is seen as selected. 2nd issue: Dashboard cannot load data in the charts.
Screenshots
Environment
(please complete the following information):
- browser type and version: Chrome
- superset version:
2.0.0
- Docker image
- any feature flags active: DASHBOARD_NATIVE_FILTERS
Checklist
Make sure to follow these steps before submitting your issue - thank you!
- [x] I have checked the superset logs for python stacktraces and included it here as text if there are any.
- [x] I have reproduced the issue with at least the latest released version of superset.
- [x] I have checked the issue tracker for the same issue and I haven't found one similar.
Additional context
It is possible that both issues are related, solving 1st may resolve 2nd also.