Prachil-MI opened a new issue, #30402:
URL: https://github.com/apache/superset/issues/30402

   ### Bug description
   
   # Dashboard gets stuck on the Loader logo of Superset when embedded into 
Angular application using Public role.
   
   ## Basic Information. 
   ### **Operating system name and version:** 
   Ubuntu 22.04 LTS
     
   ### **Superset version:** 
   4.0.1
     
   ### **What we have already tried:**
   1. We preloaded couple of dashboards in the background to reduce the 
download overhead. The actual dashboards load all the static contents from 
memory. (Ex. JS, CSS, Images Etc. common across multiple dashboards)
   2. We have minimised all the other API calls from the Angular components to 
leave all the resources free for Superset to use. Basically, apart from visible 
dashboard's API calls, there are no other API calls which are executed at the 
time of loading that specific dashboard. 
   3. We are loading the dashboards dynamically so that they do not use too 
many resources. i.e. based on the scroll position.
   4. The dashboards are loaded based on the scroll position.
   
   ### Additional Information 
   It is our understanding that the issue could be present in the rendering 
mechanism of the dashboard and how the rendering is handled between multiple 
API calls which are required for the dashboard to load. 
   
   
   
   
   ### How to reproduce the bug
   
   ### **Bug and detailed steps to reproduce the bug:**
   1. Load 4-5 dashboards on a single page, create 4-5 such pages. 
   2. Then try switching between the dashboards and pages. 
   3. After browsing for some time, on any one random dashboard, issue occurs 
where the loader does not disappear. 
   
   Even if the page has two dashboards, the issue appears after a few 
navigations. If the user scrolls to the next dashboard, the next dashboard 
loads. When the user goes back to the same dashboard where the loader was stuck 
forever, the dashboard loads correctly. Alternatively, if the user refreshes 
the dashboard, it loads. It looks like the dashboard rendering gets stuck due 
to some reason within the embedded iframe.
   
   ### Screenshots/recordings
   
   _No response_
   
   ### Superset version
   
   4.0.2
   
   ### Python version
   
   3.9
   
   ### Node version
   
   16
   
   ### Browser
   
   Chrome
   
   ### Additional context
   
   _No response_
   
   ### 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.
   - [X] 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]

Reply via email to