superset icon indicating copy to clipboard operation
superset copied to clipboard

[Dashboard] Issue with tabbed dashboard

Open kamalkeshavani-aiinside opened this issue 2 years ago • 0 comments

There are 2 issues:

  1. 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.
  2. 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

  1. Open Sample Dashboard, 'Sales Dashboard'.
  2. Go to 'Exploratory' tab
  3. Go to 'Dashboards' list page
  4. Again, open 'Sales Dashboard'
  5. 1st issue
  6. Click on 'Sales Overview' tab
  7. Click on 'Exploratory' tab
  8. 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

dashboard_tab

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.

kamalkeshavani-aiinside avatar Aug 01 '22 08:08 kamalkeshavani-aiinside