-
Notifications
You must be signed in to change notification settings - Fork 14k
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
[Dashboard] Issue with tabbed dashboard #20930
Comments
I can replicate both of these problems in Firefox with Superset 2.0.0. The second problem, chart data loading getting stuck, is the bigger problem for me. In my case, it's a dashboard with native filters that only apply to the third of three tabs. When the page loads for the public, the charts are stuck on the loading animation. Clicking between the 1st and 2nd tabs doesn't get the charts to load, they only load when I click the 3rd tab. Then charts load on all tabs after that. |
We want to upgrade to 2.0.1 but fear that it will impact our production users if this is broken in 2.0.0. A fix will be really appreciated. |
I tested the first issue and couldn't replicate it on the 2.0.1 test environment. Can someone else verify that this was fixed? |
@eschutho I checked, and could reproduce both issues on 2 different dashboards with tabs. |
@kamalkeshavani-aiinside I'm not sure. I have try to reproduce but I can't. It's wired. 2022-11-10.11.51.16.mov |
@stephenLYZ Did you try the Docker Hub image or docker-compose. I am able to reproduce the issue with the Docker Hub image.(haven't tried docker-compose) |
I tested it based on the master branch, It has been fixed. @stephenLYZ Could you help with this issue? #22062 |
I don't follow how this is "Docker Hub or docker-compose" ... I'm running the command |
If anyone needs an example for debugging this issue, see this public-facing dashboard: https://analytics.a2gov.org/superset/dashboard/traffic-crashes/ It will hang until the user clicks "Filters out of scope" / clicks through other tabs / reloads the dashboard. I have at least one other dashboard that replicates this bug. As well as several tabbed dashboards with "filters out of scope" that don't have this behavior. I'm happy to meet and screenshare/show this behavior if it would be helpful for debugging. |
@kamalkeshavani-aiinside - I think I've isolated the cause of the dashboard not loading behavior, it appears when "Select first filter value by default" box is checked on the out-of-scope filter. When I uncheck that box then the dashboard loads properly. Can you confirm this with one of your dashboards? I'm able to make this bug appear/disappear on both my production dashboards in 2.0.1 and example data dashboards in 2.1.0rc1 by checking/unchecking this box. Which also means I was able to change my default filters on the dashboards for now as a workaround until this bug is patched. |
This should be fixed in 2.1 with this PR: #23299. Closing this issue for now. |
There are 2 issues:
How to reproduce the bug
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):
2.0.0
Checklist
Make sure to follow these steps before submitting your issue - thank you!
Additional context
It is possible that both issues are related, solving 1st may resolve 2nd also.
The text was updated successfully, but these errors were encountered: