kgabryje opened a new pull request, #21438:
URL: https://github.com/apache/superset/pull/21438

   
   ### SUMMARY
   This PR is a proof of concept for dashboard virtualization.
   Due to a performance issues on large dashboards (60+ charts in a single 
tab/view), this PR introduces virtualization in an attempt to reduce the number 
of elements (DOM nodes) rendered at once.
   Only the charts visible in the current viewport (with 100% margin top and 
bottom) are rendered - the rest of them are removed from DOM tree and rendered 
only when user scrolls them into view.
   
   As of now, this feature is in proof-of-concept faze and should be considered 
as experimental. It's hidden behind a feature flag `DASHBOARD_VIRTUALIZATION`
   
   ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
   
   
https://user-images.githubusercontent.com/15073128/189683884-96f5d02f-4b2d-4eaa-8f05-5bb6b6de899e.mov
   
   
   
   ### TESTING INSTRUCTIONS
   <!--- Required! What steps can be taken to manually verify the changes? -->
   
   ### ADDITIONAL INFORMATION
   <!--- Check any relevant boxes with "x" -->
   <!--- HINT: Include "Fixes #nnn" if you are fixing an existing issue -->
   - [ ] Has associated issue:
   - [x] Required feature flags: `DASHBOARD_VIRTUALIZATION`
   - [ ] Changes UI
   - [ ] Includes DB Migration (follow approval process in 
[SIP-59](https://github.com/apache/superset/issues/13351))
     - [ ] Migration is atomic, supports rollback & is backwards-compatible
     - [ ] Confirm DB migration upgrade and downgrade tested
     - [ ] Runtime estimates and downtime expectations provided
   - [ ] Introduces new feature or API
   - [ ] Removes existing feature or API
   


-- 
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