-
Notifications
You must be signed in to change notification settings - Fork 13.9k
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
perf(dashboard): Send chart requests before native filter requests #19077
Conversation
Codecov Report
@@ Coverage Diff @@
## master #19077 +/- ##
=======================================
Coverage 66.51% 66.51%
=======================================
Files 1643 1643
Lines 63462 63474 +12
Branches 6449 6451 +2
=======================================
+ Hits 42210 42218 +8
- Misses 19582 19586 +4
Partials 1670 1670
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
/testenv up |
@geido Ephemeral environment spinning up at http://54.188.132.226:8080. Credentials are |
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.
LGTM!
Ephemeral environment shutdown and build artifacts deleted. |
SUMMARY
For performance reasons, when a dashboard loads, native filters requests are delayed until chart requests were triggered. However, that's not the case when user clicks "Refresh dashboard" button. This PR fixes that issue.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
In the
Network
panel on the right you can see the requests sent after clicking "Refresh dashboard". The ones that just saydata
are native filter requests. The other ones are chart requests. The goal was to make sure that all native filter requests were made after chart requestsBefore:
After:
TESTING INSTRUCTIONS
ADDITIONAL INFORMATION
https://app.shortcut.com/preset/story/38199/refresh-dashboard-performance-issue-filter-requests-blocking-chart-requests