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

[DEA] Optimize the APIs on subject profile #1259

Open
mahalakshme opened this issue Jun 18, 2024 · 0 comments
Open

[DEA] Optimize the APIs on subject profile #1259

mahalakshme opened this issue Jun 18, 2024 · 0 comments

Comments

@mahalakshme
Copy link
Contributor

mahalakshme commented Jun 18, 2024

Image

AC:
Now all the below calls are made when clicking on a subject. Instead do them only when needed.

  • /msgs and /msgsNotYetSent need to load only on clicking on profile
  • programSummaryRule for the same program enrolment loading more than once - The call can go only when the user opens the ProgramSummary expand icon
  • Do /web/forms/formUuid once only when expand icon on Enrolment details is clicked
  • /eligibleProgramEncounters and /eligibleGeneralEncounters calls can be made when clicking on 'New Form'. New form can be displayed even if only one encounter present.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Analysis
Development

No branches or pull requests

1 participant