Skip to content
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

FS-4004: Preload AssessmentRecord properties and compress response #479

Merged
merged 2 commits into from
Jun 14, 2024

Conversation

ksp37-dluhc
Copy link
Contributor

@ksp37-dluhc ksp37-dluhc commented Jun 11, 2024

This PR implements two changes to the applications_overview endpoint:

  • Avoids N+1 queries by preloading related data for AssessmentRecord

  • Compresses the response from the applications_overview endpoint by using minified json.

  • Unit tests and other appropriate tests added or updated

  • README and other documentation has been updated / added (if needed)

  • Commit messages are meaningful and follow good commit message guidelines (e.g. "FS-XXXX: Add margin to nav items preventing overlapping of logo")

How to test

Observe load time in test environment

Screenshots of UI changes (if applicable)

@ksp37-dluhc ksp37-dluhc force-pushed the FS-4004-optimise-application-overviews-endpoint branch from 0919c4d to 1ff1e69 Compare June 14, 2024 08:44
@ksp37-dluhc ksp37-dluhc merged commit ba65745 into main Jun 14, 2024
14 checks passed
@ksp37-dluhc ksp37-dluhc deleted the FS-4004-optimise-application-overviews-endpoint branch June 14, 2024 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants