-
Notifications
You must be signed in to change notification settings - Fork 50
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
frontend: load all dayResponsibles in one request in Dashboard.vue #4135
frontend: load all dayResponsibles in one request in Dashboard.vue #4135
Conversation
⛔ Feature branch deployment currently inactive.If the PR is still open, you can add the |
…d.vue By loading the days in one request per period which embed the dayResponsibles. When loading the dayResponsibles directly, there was still a request per day for the dayResponsibles. This makes the loading of Dashboard.vue faster. It also may reduce the e2e test failures of the firefox tests due to: "Request aborted" errors after the test is finished. (The test did not wait for the dayResponsibles to be loaded and then aborted the load which lead to the requests being aborted.)
That it's possible to load all days of a camp in one request.
f737f3b
to
c6e9dc8
Compare
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.
Looks great now, thanks!
@manuelmeister |
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.
frontend: load all dayResponsibles in one request per period Dashboard.vue
By loading the days in one request per period which embed the dayResponsibles.
When loading the dayResponsibles directly, there was still
a request per day for the dayResponsibles.
This makes the loading of Dashboard.vue faster.
It also may reduce the e2e test failures of the firefox tests due to:
"Request aborted" errors after the test is finished.
(The test did not wait for the dayResponsibles to be loaded and then
aborted the load which lead to the requests being aborted.)
frontend/api: add camp filter on days for Dashboard.vue
That it's possible to load all days of a camp in one request.
Related to #4010