-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
fix(dashboard): don't initially load items of hidden api widgets #50152
fix(dashboard): don't initially load items of hidden api widgets #50152
Conversation
/backport to stable30 |
/backport to stable29 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
Is there a way to test this? (To prevent regressions in the future) |
Load the dashboard, and check how much API requests are done? But it's kind of complicated and most/all widgets are enabled by default? |
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2205d2d
to
0bb7be2
Compare
Summary
Before: Load items of all widgets on page load even if some are hidden.
After: Only load items of widgets that are actually enabled initially. Load items of toggled widgets on demand as soon as they are enabled.
Checklist