ARBS-23 opened a new issue, #43385: URL: https://github.com/apache/superset/issues/43385
### Bug description With a large number of dashboards (~1000) in the list view, creating a new dashboard feels broken: clicking **+ Dashboard** shows no loading indicator and the editor only appears after a long delay. Saving the new dashboard also takes several minutes. **Steps to reproduce** 1. Ensure the Dashboards list contains ~1000 dashboards. 2. Open **Dashboards**. 3. Click **+ Dashboard**. 4. Wait until the dashboard editor appears. 5. Set a title, add one existing chart, click **Save**. **Actual behavior** - Step 3: No loading/spinner feedback; the click appears to do nothing. Editor opens after ~48 seconds. - Step 5: Save takes ~205 seconds. **Expected behavior** - **+ Dashboard** immediately shows a loading state and opens the editor without a long UI freeze. - Save completes in a reasonable time (seconds, not minutes), even with a large dashboard inventory. **Notes / suspected area** - Likely related to dashboard list payload size / client work when creating or refreshing after create (see prior work around heavy `json_metadata` / `position_json` on list endpoints, e.g. PRs around dashboard list performance). - UX gap: create action should show pending state even if backend/list refresh is slow. ### Screenshots/recordings https://github.com/user-attachments/assets/7991a95d-336d-4520-a117-9bec991b7031 ### Superset version 6.1.0 ### Python version 3.11 ### Node version 18 or greater ### Browser Chrome ### Additional context - Reproduced with ~1000 dashboards already present in the list. - Default/sample dashboard left in place. - Observed timings from recording: ~48s to open editor after **+ Dashboard**; ~205s to save. - Related prior discussion/PRs (for context, not claiming duplicate): - https://github.com/apache/superset/pull/28609 - https://github.com/apache/superset/pull/29121 - https://github.com/apache/superset/issues/31800 ### Checklist - [x] I have searched Superset docs and Slack and didn't find a solution to my problem. - [x] I have searched the GitHub issue tracker and didn't find a similar bug report. - [ ] I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section. -- 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]
