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

(feat) Offline Form Improvements #611

Merged

Conversation

manuelroemer
Copy link
Member

Requirements

  • This PR has a title that briefly describes the work done, including the ticket number if there is a ticket.
  • My work conforms to the OpenMRS 3.0 Styleguide.
  • My work includes tests or is validated by existing tests.

Summary

The PR contains major improvements towards how offline forms are handled. As part of this work, I had to make some (rather large) adjustments in various locations of esm-form-entry-app in order to support the new offline form submission flow. Among these, I tried my best to improve the code and make it easier to work with (introduce better typings, extract certain tasks into services, removed unused code, ...).

With that being said, I focused on not making any behavioral changes in the code whenever possible. The services (and the whole module, actually) should still do the same thing as before, except, of course, for the changes with regard to offline form handling.

Changes Regarding Offline Forms

Previously, offline forms were handled like this: esm-form-entry-app intercepted POST requests submitted by the MF with the help of the service worker. This was functional for the requirements back then, but by now, we needed offline forms to support more complex flows (like editing offline forms from the offline actions).
To support such tasks, I refactored esm-form-entry-app so that it is aware of offline mode and handles offline synchronization items directly, i.e. without any network interception magic. This allows us, and other MFs, to better interact with the queued data. It should further make the entire process of handling offline forms much much much more stable because the way data is submitted during create/edit flows is now handled differently.

With these changes in place, editing offline forms should now also be possible (though I will have to test this more extensively in the coming days, ideally with more forms). If there are follow-up issues, they can be addressed in another PR.

Other Changes / Refactorings

The task described above required some deep changes in esm-form-entry-app. I had to touch a lot of files and took the chance to make some improvements (this is always subjective, I know) to the code:

  • Slimmed down large files like fe-wrapper.component.tsx by extracting functions into separate services.
  • Adding more types in the locations I touched.
  • Use appropriate RX operators in the locations I touched.
  • Removed dead code.
  • ...

Screenshots

No UI changes.

Related Issue

https://issues.openmrs.org/browse/O3-1032
https://issues.openmrs.org/browse/O3-949 (foundational work for this issue)

Other

If this PR is merged the way it is, there are some follow-up tasks that should be done:

  • The app's service worker can now be slimmed down because the network request interception logic is no longer needed (it was only ever introduced for the flow described above).
  • There are some TODOs in the code. A major one is that esm-offline should be expanded with a new API for retrieving full sync items (and not just their content).

@manuelroemer
Copy link
Member Author

@donaldkibet @denniskigen Tagging you guys as reviewers since you probably know most about how forms work. It would be great if you guys could have a look at these changes and check if I missed something!

@manuelroemer
Copy link
Member Author

@ibacher Do you know if it is possible/a huge amount of effort to add more forms to Dev3? I used the legacy openmrs-spa env a lot since there are a lot more forms available, but that was not a good experience, really. Ideally, we'd have more forms available in our new dev environment. Maybe there is even a way to move the old forms from openmrs-spa over to the new dev3 version?

@ibacher
Copy link
Member

ibacher commented Mar 15, 2022

@manuelroemer It shouldn't be a big effort. Essentially just adding the JSON for forms to this directory should automatically add them to dev3.

@github-actions
Copy link
Contributor


Warning: The comment body was truncated to fit GitHub limit on comment length.
As the body is truncated the message might be hard to read.
For the record the full comment length was 91446 bytes.


File size impact

Merging feature/form-offline-improvements into master impact files as follow:

@openmrs/esm-form-entry-app (+0.68%)
Files new size
packages/esm-form-entry-app/dist/1.openmrs-esm-form-entry-app.js 1.39 MB (+14.2 kB / +1.03%) ↗️
packages/esm-form-entry-app/dist/2.openmrs-esm-form-entry-app.js 40.5 kB (-360 B / -0.88%) ↘️
packages/esm-form-entry-app/dist/openmrs-esm-form-entry-app.js 75.1 kB (-3.58 kB / -4.55%) ↘️
Unmodified (1) 155 B (0 B / +0%) 👻
Total (4) 1.51 MB (+10.2 kB / +0.68%) ↗️
@openmrs/esm-generic-patient-widgets-app (+0.37%)
Files new size
packages/esm-generic-patient-widgets-app/dist/815.js 1.28 MB (+1.26 MB / +6778.66%) ↗️
packages/esm-generic-patient-widgets-app/dist/498.js 466 kB 👶
packages/esm-generic-patient-widgets-app/dist/690.js 324 kB 👶
packages/esm-generic-patient-widgets-app/dist/873.js 58.2 kB 👶
packages/esm-generic-patient-widgets-app/dist/370.js 43 kB 👶
packages/esm-generic-patient-widgets-app/dist/932.js 19.3 kB 👶
packages/esm-generic-patient-widgets-app/dist/373.js 16.8 kB 👶
packages/esm-generic-patient-widgets-app/dist/339.js 411 kB (+8.17 kB / +2.03%) ↗️
packages/esm-generic-patient-widgets-app/dist/745.js 1.51 kB 👶
packages/esm-generic-patient-widgets-app/dist/openmrs-esm-generic-patient-widgets-app.js 9.36 kB (+11 B / +0.12%) ↗️
packages/esm-generic-patient-widgets-app/dist/217.js deleted (-1.51 kB)
packages/esm-generic-patient-widgets-app/dist/860.js deleted (-41.3 kB)
packages/esm-generic-patient-widgets-app/dist/800.js deleted (-60.2 kB)
packages/esm-generic-patient-widgets-app/dist/66.js deleted (-324 kB)
packages/esm-generic-patient-widgets-app/dist/231.js deleted (-466 kB)
packages/esm-generic-patient-widgets-app/dist/541.js deleted (-1.3 MB)
Unmodified (5) 375 kB (0 B / +0%) 👻
Total (21) 3.01 MB (+11.2 kB / +0.37%) ↗️
@openmrs/esm-patient-allergies-app (+0.82%)
Files new size
packages/esm-patient-allergies-app/dist/498.js 466 kB 👶
packages/esm-patient-allergies-app/dist/732.js 224 kB 👶
packages/esm-patient-allergies-app/dist/482.js 198 kB 👶
packages/esm-patient-allergies-app/dist/904.js 152 kB 👶
packages/esm-patient-allergies-app/dist/780.js 141 kB 👶
packages/esm-patient-allergies-app/dist/629.js 140 kB 👶
packages/esm-patient-allergies-app/dist/301.js 137 kB 👶
packages/esm-patient-allergies-app/dist/786.js 136 kB 👶
packages/esm-patient-allergies-app/dist/759.js 74.3 kB 👶
packages/esm-patient-allergies-app/dist/287.js 56.3 kB 👶
packages/esm-patient-allergies-app/dist/411.js 44.6 kB 👶
packages/esm-patient-allergies-app/dist/817.js 27.8 kB 👶
packages/esm-patient-allergies-app/dist/574.js 23.5 kB (+21.9 kB / +1392.87%) ↗️
packages/esm-patient-allergies-app/dist/932.js 19.3 kB 👶
packages/esm-patient-allergies-app/dist/373.js 18.7 kB 👶
packages/esm-patient-allergies-app/dist/366.js 16.7 kB 👶
packages/esm-patient-allergies-app/dist/339.js 411 kB (+8.17 kB / +2.03%) ↗️
packages/esm-patient-allergies-app/dist/209.js 5.76 kB 👶
packages/esm-patient-allergies-app/dist/409.js 3.75 kB 👶
packages/esm-patient-allergies-app/dist/828.js 1.57 kB 👶
packages/esm-patient-allergies-app/dist/879.js 6.55 kB (+77 B / +1.19%) ↗️
packages/esm-patient-allergies-app/dist/379.js 11.1 kB (+2 B / +0.02%) ↗️
packages/esm-patient-allergies-app/dist/872.js 37.4 kB (+1 B / +0%) ↗️
packages/esm-patient-allergies-app/dist/openmrs-esm-patient-allergies-app.js 12.1 kB (-13 B / -0.11%) ↘️
packages/esm-patient-allergies-app/dist/584.js deleted (-2.29 kB)
packages/esm-patient-allergies-app/dist/325.js deleted (-3.09 kB)
packages/esm-patient-allergies-app/dist/920.js deleted (-3.75 kB)
packages/esm-patient-allergies-app/dist/233.js deleted (-17.9 kB)
packages/esm-patient-allergies-app/dist/815.js deleted (-18.6 kB)
packages/esm-patient-allergies-app/dist/695.js deleted (-23.5 kB)
packages/esm-patient-allergies-app/dist/782.js deleted (-28.1 kB)
packages/esm-patient-allergies-app/dist/415.js deleted (-44.6 kB)
packages/esm-patient-allergies-app/dist/262.js deleted (-53.6 kB)
packages/esm-patient-allergies-app/dist/849.js deleted (-74.3 kB)
packages/esm-patient-allergies-app/dist/53.js deleted (-136 kB)
packages/esm-patient-allergies-app/dist/104.js deleted (-137 kB)
packages/esm-patient-allergies-app/dist/754.js deleted (-140 kB)
packages/esm-patient-allergies-app/dist/802.js deleted (-141 kB)
packages/esm-patient-allergies-app/dist/11.js deleted (-152 kB)
packages/esm-patient-allergies-app/dist/546.js deleted (-186 kB)
packages/esm-patient-allergies-app/dist/547.js deleted (-242 kB)
packages/esm-patient-allergies-app/dist/231.js deleted (-466 kB)
packages/esm-patient-allergies-app/dist/172.js 5.58 kB (0 B / +0%) 👻
packages/esm-patient-allergies-app/dist/618.js 1.78 kB (0 B / +0%) 👻
Unmodified (5) 330 kB (0 B / +0%) 👻
Total (49) 2.7 MB (+21.9 kB / +0.82%) ↗️
@openmrs/esm-patient-appointments-app (+1.11%)
Files new size
packages/esm-patient-appointments-app/dist/498.js 466 kB 👶
packages/esm-patient-appointments-app/dist/581.js 234 kB 👶
packages/esm-patient-appointments-app/dist/904.js 205 kB 👶
packages/esm-patient-appointments-app/dist/309.js 164 kB 👶
packages/esm-patient-appointments-app/dist/154.js 135 kB 👶
packages/esm-patient-appointments-app/dist/478.js 37.5 kB 👶
packages/esm-patient-appointments-app/dist/817.js 27.8 kB 👶
packages/esm-patient-appointments-app/dist/957.js 23.2 kB 👶
packages/esm-patient-appointments-app/dist/932.js 19.3 kB 👶
packages/esm-patient-appointments-app/dist/373.js 16.8 kB 👶
packages/esm-patient-appointments-app/dist/339.js 411 kB (+8.17 kB / +2.03%) ↗️
packages/esm-patient-appointments-app/dist/701.js 6.57 kB 👶
packages/esm-patient-appointments-app/dist/600.js 1.78 kB 👶
packages/esm-patient-appointments-app/dist/593.js 739 B 👶
packages/esm-patient-appointments-app/dist/118.js 336 B 👶
packages/esm-patient-appointments-app/dist/883.js 30.7 kB (+183 B / +0.6%) ↗️
packages/esm-patient-appointments-app/dist/879.js 6.55 kB (+77 B / +1.19%) ↗️
packages/esm-patient-appointments-app/dist/openmrs-esm-patient-appointments-app.js 10.1 kB (+15 B / +0.15%) ↗️
packages/esm-patient-appointments-app/dist/720.js deleted (-334 B)
packages/esm-patient-appointments-app/dist/78.js deleted (-734 B)
packages/esm-patient-appointments-app/dist/655.js deleted (-1.77 kB)
packages/esm-patient-appointments-app/dist/455.js deleted (-5.41 kB)
packages/esm-patient-appointments-app/dist/815.js deleted (-18.6 kB)
packages/esm-patient-appointments-app/dist/462.js deleted (-23.6 kB)
packages/esm-patient-appointments-app/dist/782.js deleted (-28.1 kB)
packages/esm-patient-appointments-app/dist/993.js deleted (-37.9 kB)
packages/esm-patient-appointments-app/dist/913.js deleted (-123 kB)
packages/esm-patient-appointments-app/dist/964.js deleted (-164 kB)
packages/esm-patient-appointments-app/dist/376.js deleted (-205 kB)
packages/esm-patient-appointments-app/dist/314.js deleted (-249 kB)
packages/esm-patient-appointments-app/dist/231.js deleted (-466 kB)
Unmodified (7) 378 kB (0 B / +0%) 👻
Total (38) 2.17 MB (+24 kB / +1.11%) ↗️
@openmrs/esm-patient-attachments-app (+1.59%)
Files new size
packages/esm-patient-attachments-app/dist/498.js 466 kB 👶
packages/esm-patient-attachments-app/dist/105.js 221 kB 👶
packages/esm-patient-attachments-app/dist/493.js 69.7 kB 👶
packages/esm-patient-attachments-app/dist/200.js 61.4 kB 👶
packages/esm-patient-attachments-app/dist/813.js 38.3 kB 👶
packages/esm-patient-attachments-app/dist/932.js 19.3 kB 👶
packages/esm-patient-attachments-app/dist/373.js 17.5 kB 👶
packages/esm-patient-attachments-app/dist/36.js 10.7 kB 👶
packages/esm-patient-attachments-app/dist/339.js 411 kB (+8.17 kB / +2.03%) ↗️
packages/esm-patient-attachments-app/dist/638.js 7.3 kB 👶
packages/esm-patient-attachments-app/dist/600.js 1.78 kB 👶
packages/esm-patient-attachments-app/dist/723.js 943 B 👶
packages/esm-patient-attachments-app/dist/openmrs-esm-patient-attachments-app.js 9.72 kB (+9 B / +0.09%) ↗️
packages/esm-patient-attachments-app/dist/208.js 16.3 kB (-12 B / -0.07%) ↘️
packages/esm-patient-attachments-app/dist/422.js deleted (-943 B)
packages/esm-patient-attachments-app/dist/655.js deleted (-1.78 kB)
packages/esm-patient-attachments-app/dist/309.js deleted (-7.3 kB)
packages/esm-patient-attachments-app/dist/40.js deleted (-9.16 kB)
packages/esm-patient-attachments-app/dist/815.js deleted (-18.6 kB)
packages/esm-patient-attachments-app/dist/92.js deleted (-38.3 kB)
packages/esm-patient-attachments-app/dist/802.js deleted (-62.8 kB)
packages/esm-patient-attachments-app/dist/563.js deleted (-69.2 kB)
packages/esm-patient-attachments-app/dist/387.js deleted (-221 kB)
packages/esm-patient-attachments-app/dist/231.js deleted (-466 kB)
Unmodified (6) 376 kB (0 B / +0%) 👻
Total (30) 1.73 MB (+27 kB / +1.59%) ↗️
@openmrs/esm-patient-banner-app (+2.44%)
Files new size
packages/esm-patient-banner-app/dist/294.js 261 kB 👶
packages/esm-patient-banner-app/dist/965.js 28.2 kB 👶
packages/esm-patient-banner-app/dist/749.js 19 kB 👶
packages/esm-patient-banner-app/dist/26.js 17.3 kB 👶
packages/esm-patient-banner-app/dist/200.js 12.8 kB 👶
packages/esm-patient-banner-app/dist/339.js 411 kB (+8.17 kB / +2.03%) ↗️
packages/esm-patient-banner-app/dist/133.js 5.86 kB 👶
packages/esm-patient-banner-app/dist/263.js 2.04 kB 👶
packages/esm-patient-banner-app/dist/576.js 1.87 kB 👶
packages/esm-patient-banner-app/dist/607.js 1.49 kB 👶
packages/esm-patient-banner-app/dist/openmrs-esm-patient-banner-app.js 8.78 kB (+14 B / +0.16%) ↗️
packages/esm-patient-banner-app/dist/13.js deleted (-1.49 kB)
packages/esm-patient-banner-app/dist/487.js deleted (-1.87 kB)
packages/esm-patient-banner-app/dist/34.js deleted (-2.04 kB)
packages/esm-patient-banner-app/dist/628.js deleted (-6.22 kB)
packages/esm-patient-banner-app/dist/292.js deleted (-11.9 kB)
packages/esm-patient-banner-app/dist/815.js deleted (-18.6 kB)
packages/esm-patient-banner-app/dist/234.js deleted (-28.5 kB)
packages/esm-patient-banner-app/dist/661.js deleted (-261 kB)
Unmodified (5) 329 kB (0 B / +0%) 👻
Total (24) 1.1 MB (+26.1 kB / +2.44%) ↗️
@openmrs/esm-patient-biometrics-app (+0.5%)
Files new size
packages/esm-patient-biometrics-app/dist/908.js 799 kB 👶
packages/esm-patient-biometrics-app/dist/498.js 466 kB 👶
packages/esm-patient-biometrics-app/dist/668.js 284 kB 👶
packages/esm-patient-biometrics-app/dist/371.js 137 kB 👶
packages/esm-patient-biometrics-app/dist/370.js 43 kB 👶
packages/esm-patient-biometrics-app/dist/338.js 35 kB 👶
packages/esm-patient-biometrics-app/dist/849.js 22.5 kB 👶
packages/esm-patient-biometrics-app/dist/932.js 19.3 kB 👶
packages/esm-patient-biometrics-app/dist/373.js 18.7 kB 👶
packages/esm-patient-biometrics-app/dist/339.js 411 kB (+8.17 kB / +2.03%) ↗️
packages/esm-patient-biometrics-app/dist/955.js 2.49 kB 👶
packages/esm-patient-biometrics-app/dist/81.js 534 B 👶
packages/esm-patient-biometrics-app/dist/43.js 523 B 👶
packages/esm-patient-biometrics-app/dist/879.js 6.55 kB (+77 B / +1.19%) ↗️
packages/esm-patient-biometrics-app/dist/openmrs-esm-patient-biometrics-app.js 10.6 kB (+5 B / +0.05%) ↗️
packages/esm-patient-biometrics-app/dist/592.js deleted (-525 B)
packages/esm-patient-biometrics-app/dist/857.js deleted (-536 B)
packages/esm-patient-biometrics-app/dist/891.js deleted (-2.49 kB)
packages/esm-patient-biometrics-app/dist/815.js deleted (-18.6 kB)
packages/esm-patient-biometrics-app/dist/201.js deleted (-22.9 kB)
packages/esm-patient-biometrics-app/dist/735.js deleted (-36.5 kB)
packages/esm-patient-biometrics-app/dist/860.js deleted (-41.2 kB)
packages/esm-patient-biometrics-app/dist/560.js deleted (-137 kB)
packages/esm-patient-biometrics-app/dist/689.js deleted (-284 kB)
packages/esm-patient-biometrics-app/dist/231.js deleted (-466 kB)
packages/esm-patient-biometrics-app/dist/517.js deleted (-813 kB)
packages/esm-patient-biometrics-app/dist/182.js 3.55 kB (0 B / +0%) 👻
Unmodified (6) 375 kB (0 B / +0%) 👻
Total (33) 2.63 MB (+13.1 kB / +0.5%) ↗️
@openmrs/esm-patient-chart-app (+0.24%)
Files new size
packages/esm-patient-chart-app/dist/66.js 1.02 MB 👶
packages/esm-patient-chart-app/dist/498.js 466 kB 👶
packages/esm-patient-chart-app/dist/334.js 282 kB 👶
packages/esm-patient-chart-app/dist/504.js 195 kB 👶
packages/esm-patient-chart-app/dist/686.js 168 kB 👶
packages/esm-patient-chart-app/dist/871.js 167 kB 👶
packages/esm-patient-chart-app/dist/961.js 136 kB 👶
packages/esm-patient-chart-app/dist/759.js 74.3 kB 👶
packages/esm-patient-chart-app/dist/908.js 48.1 kB 👶
packages/esm-patient-chart-app/dist/392.js 47.9 kB 👶
packages/esm-patient-chart-app/dist/637.js 40.8 kB 👶
packages/esm-patient-chart-app/dist/967.js 29.2 kB 👶
packages/esm-patient-chart-app/dist/817.js 27.7 kB 👶
packages/esm-patient-chart-app/dist/932.js 19.3 kB 👶
packages/esm-patient-chart-app/dist/474.js 14.6 kB 👶
packages/esm-patient-chart-app/dist/434.js 13.8 kB 👶
packages/esm-patient-chart-app/dist/409.js 9.48 kB 👶
packages/esm-patient-chart-app/dist/339.js 411 kB (+8.17 kB / +2.03%) ↗️
packages/esm-patient-chart-app/dist/253.js 864 B 👶
packages/esm-patient-chart-app/dist/578.js 844 B 👶
packages/esm-patient-chart-app/dist/103.js 816 B 👶
packages/esm-patient-chart-app/dist/742.js 428 B 👶
packages/esm-patient-chart-app/dist/696.js 32 kB (+168 B / +0.53%) ↗️
packages/esm-patient-chart-app/dist/671.js 11.3 kB (+160 B / +1.43%) ↗️
packages/esm-patient-chart-app/dist/879.js 6.54 kB (+77 B / +1.19%) ↗️
packages/esm-patient-chart-app/dist/913.js 10.4 kB (+2 B / +0.02%) ↗️
packages/esm-patient-chart-app/dist/903.js 38 kB (+1 B / +0%) ↗️
packages/esm-patient-chart-app/dist/openmrs-esm-patient-chart-app.js 18.3 kB (-44 B / -0.24%) ↘️
packages/esm-patient-chart-app/dist/299.js deleted (-428 B)
packages/esm-patient-chart-app/dist/748.js deleted (-815 B)
packages/esm-patient-chart-app/dist/577.js deleted (-843 B)
packages/esm-patient-chart-app/dist/650.js deleted (-863 B)
packages/esm-patient-chart-app/dist/412.js deleted (-2.32 kB)
packages/esm-patient-chart-app/dist/920.js deleted (-9.5 kB)
packages/esm-patient-chart-app/dist/373.js deleted (-11.1 kB)
packages/esm-patient-chart-app/dist/428.js deleted (-14.2 kB)
packages/esm-patient-chart-app/dist/815.js deleted (-18.6 kB)
packages/esm-patient-chart-app/dist/782.js deleted (-28.1 kB)
packages/esm-patient-chart-app/dist/556.js deleted (-30.6 kB)
packages/esm-patient-chart-app/dist/831.js deleted (-39.4 kB)
packages/esm-patient-chart-app/dist/523.js deleted (-46.9 kB)
packages/esm-patient-chart-app/dist/442.js deleted (-47.9 kB)
packages/esm-patient-chart-app/dist/849.js deleted (-74.3 kB)
packages/esm-patient-chart-app/dist/554.js deleted (-136 kB)
packages/esm-patient-chart-app/dist/858.js deleted (-157 kB)
packages/esm-patient-chart-app/dist/202.js deleted (-167 kB)
packages/esm-patient-chart-app/dist/311.js deleted (-209 kB)
packages/esm-patient-chart-app/dist/75.js deleted (-282 kB)
packages/esm-patient-chart-app/dist/231.js deleted (-466 kB)
packages/esm-patient-chart-app/dist/148.js deleted (-1.02 MB)
packages/esm-patient-chart-app/dist/618.js 1.22 kB (0 B / +0%) 👻
Unmodified (9) 375 kB (0 B / +0%) 👻
Total (60) 3.67 MB (+8.83 kB / +0.24%) ↗️
@openmrs/esm-patient-clinical-view-app (+1.73%)
Files new size
packages/esm-patient-clinical-view-app/dist/498.js 466 kB 👶
packages/esm-patient-clinical-view-app/dist/849.js 58.5 kB 👶
packages/esm-patient-clinical-view-app/dist/482.js 38.6 kB 👶
packages/esm-patient-clinical-view-app/dist/493.js 36.5 kB 👶
packages/esm-patient-clinical-view-app/dist/460.js 27.3 kB 👶
packages/esm-patient-clinical-view-app/dist/461.js 23.7 kB 👶
packages/esm-patient-clinical-view-app/dist/932.js 19.3 kB 👶
packages/esm-patient-clinical-view-app/dist/373.js 16.8 kB 👶
packages/esm-patient-clinical-view-app/dist/339.js 411 kB (+8.17 kB / +2.03%) ↗️
packages/esm-patient-clinical-view-app/dist/409.js 1.89 kB 👶
packages/esm-patient-clinical-view-app/dist/923.js 25.8 kB (+296 B / +1.16%) ↗️
packages/esm-patient-clinical-view-app/dist/openmrs-esm-patient-clinical-view-app.js 9.75 kB (-36 B / -0.37%) ↘️
packages/esm-patient-clinical-view-app/dist/920.js deleted (-1.91 kB)
packages/esm-patient-clinical-view-app/dist/171.js deleted (-1.92 kB)
packages/esm-patient-clinical-view-app/dist/815.js deleted (-18.6 kB)
packages/esm-patient-clinical-view-app/dist/424.js deleted (-23.8 kB)
packages/esm-patient-clinical-view-app/dist/368.js deleted (-26.7 kB)
packages/esm-patient-clinical-view-app/dist/200.js deleted (-36.5 kB)
packages/esm-patient-clinical-view-app/dist/530.js deleted (-38.6 kB)
packages/esm-patient-clinical-view-app/dist/459.js deleted (-57 kB)
packages/esm-patient-clinical-view-app/dist/231.js deleted (-466 kB)
Unmodified (6) 389 kB (0 B / +0%) 👻
Total (27) 1.52 MB (+25.9 kB / +1.73%) ↗️
@openmrs/esm-patient-common-lib (no impact)

No file in @openmrs/esm-patient-common-lib group (see config below).

{
  "./packages/esm-patient-common-lib/dist/*.js": true,
  "./packages/esm-patient-common-lib/dist/*.css": true,
  "./packages/esm-patient-common-lib/dist/*.map": false,
  "./packages/esm-patient-common-lib/dist/*.txt": false,
  "./packages/esm-patient-common-lib/dist/*.json": false
}
@openmrs/esm-patient-conditions-app (+1.16%)
Files new size
packages/esm-patient-conditions-app/dist/498.js 466 kB 👶
packages/esm-patient-conditions-app/dist/600.js 214 kB 👶
packages/esm-patient-conditions-app/dist/13.js 142 kB 👶
packages/esm-patient-conditions-app/dist/568.js 133 kB 👶
packages/esm-patient-conditions-app/dist/491.js 47.4 kB 👶
packages/esm-patient-conditions-app/dist/245.js 44.6 kB 👶
packages/esm-patient-conditions-app/dist/108.js 39 kB 👶
packages/esm-patient-conditions-app/dist/817.js 27.8 kB 👶
packages/esm-patient-conditions-app/dist/806.js 25.4 kB 👶
packages/esm-patient-conditions-app/dist/932.js 19.3 kB 👶
packages/esm-patient-conditions-app/dist/373.js 16.8 kB 👶
packages/esm-patient-conditions-app/dist/145.js 13.7 kB 👶
packages/esm-patient-conditions-app/dist/339.js 411 kB (+8.17 kB / +2.03%) ↗️
packages/esm-patient-conditions-app/dist/880.js 1.76 kB 👶
packages/esm-patient-conditions-app/dist/406.js 33.8 kB (+238 B / +0.71%) ↗️
packages/esm-patient-conditions-app/dist/879.js 6.55 kB (+77 B / +1.19%) ↗️
packages/esm-patient-conditions-app/dist/188.js 7.55 kB (+2 B / +0.03%) ↗️
packages/esm-patient-conditions-app/dist/552.js 40.3 kB (+1 B / +0%) ↗️
packages/esm-patient-conditions-app/dist/openmrs-esm-patient-conditions-app.js 10.1 kB (-31 B / -0.31%) ↘️
packages/esm-patient-conditions-app/dist/214.js deleted (-825 B)
packages/esm-patient-conditions-app/dist/655.js deleted (-1.77 kB)
packages/esm-patient-conditions-app/dist/38.js deleted (-12.3 kB)
packages/esm-patient-conditions-app/dist/815.js deleted (-18.6 kB)
packages/esm-patient-conditions-app/dist/26.js deleted (-23.3 kB)
packages/esm-patient-conditions-app/dist/511.js deleted (-28.1 kB)
packages/esm-patient-conditions-app/dist/782.js deleted (-40.2 kB)
packages/esm-patient-conditions-app/dist/904.js deleted (-44.6 kB)
packages/esm-patient-conditions-app/dist/926.js deleted (-47.4 kB)
packages/esm-patient-conditions-app/dist/291.js deleted (-121 kB)
packages/esm-patient-conditions-app/dist/974.js deleted (-142 kB)
packages/esm-patient-conditions-app/dist/187.js deleted (-230 kB)
packages/esm-patient-conditions-app/dist/231.js deleted (-466 kB)
Unmodified (6) 331 kB (0 B / +0%) 👻
Total (38) 2.03 MB (+23.3 kB / +1.16%) ↗️
@openmrs/esm-patient-forms-app (+0.55%)
Files new size
packages/esm-patient-forms-app/dist/498.js 466 kB 👶
packages/esm-patient-forms-app/dist/911.js 352 kB 👶
packages/esm-patient-forms-app/dist/315.js 223 kB 👶
packages/esm-patient-forms-app/dist/615.js 138 kB 👶
packages/esm-patient-forms-app/dist/416.js 45 kB 👶
packages/esm-patient-forms-app/dist/572.js 36 kB 👶
packages/esm-patient-forms-app/dist/476.js 33.5 kB 👶
packages/esm-patient-forms-app/dist/753.js 24 kB 👶
packages/esm-patient-forms-app/dist/343.js 21.7 kB 👶
packages/esm-patient-forms-app/dist/932.js 19.2 kB 👶
packages/esm-patient-forms-app/dist/373.js 17.5 kB 👶
packages/esm-patient-forms-app/dist/366.js 13.9 kB 👶
packages/esm-patient-forms-app/dist/392.js 12.8 kB 👶
packages/esm-patient-forms-app/dist/339.js 411 kB (+8.17 kB / +2.03%) ↗️
packages/esm-patient-forms-app/dist/150.js 6.67 kB 👶
packages/esm-patient-forms-app/dist/642.js 5.37 kB 👶
packages/esm-patient-forms-app/dist/openmrs-esm-patient-forms-app.js 14.7 kB (+1.71 kB / +13.09%) ↗️
packages/esm-patient-forms-app/dist/237.js 789 B 👶
packages/esm-patient-forms-app/dist/482.js 751 B 👶
packages/esm-patient-forms-app/dist/255.js 737 B 👶
packages/esm-patient-forms-app/dist/879.js 6.54 kB (+77 B / +1.19%) ↗️
packages/esm-patient-forms-app/dist/647.js deleted (-736 B)
packages/esm-patient-forms-app/dist/902.js deleted (-750 B)
packages/esm-patient-forms-app/dist/92.js deleted (-830 B)
packages/esm-patient-forms-app/dist/502.js deleted (-3.07 kB)
packages/esm-patient-forms-app/dist/489.js deleted (-4.94 kB)
packages/esm-patient-forms-app/dist/481.js deleted (-15.2 kB)
packages/esm-patient-forms-app/dist/669.js deleted (-17.8 kB)
packages/esm-patient-forms-app/dist/815.js deleted (-18.6 kB)
packages/esm-patient-forms-app/dist/350.js deleted (-20.7 kB)
packages/esm-patient-forms-app/dist/66.js deleted (-24.1 kB)
packages/esm-patient-forms-app/dist/698.js deleted (-35.6 kB)
packages/esm-patient-forms-app/dist/369.js deleted (-36 kB)
packages/esm-patient-forms-app/dist/88.js deleted (-44.1 kB)
packages/esm-patient-forms-app/dist/721.js deleted (-138 kB)
packages/esm-patient-forms-app/dist/583.js deleted (-236 kB)
packages/esm-patient-forms-app/dist/337.js deleted (-352 kB)
packages/esm-patient-forms-app/dist/231.js deleted (-466 kB)
Unmodified (6) 376 kB (0 B / +0%) 👻
Total (44) 2.23 MB (+12.2 kB / +0.55%) ↗️
@openmrs/esm-patient-immunizations-app (+1.32%)
Files new size
packages/esm-patient-immunizations-app/dist/498.js 466 kB 👶
packages/esm-patient-immunizations-app/dist/133.js 228 kB 👶
packages/esm-patient-immunizations-app/dist/615.js 139 kB 👶
packages/esm-patient-immunizations-app/dist/981.js 54.7 kB 👶
packages/esm-patient-immunizations-app/dist/634.js 48.9 kB 👶
packages/esm-patient-immunizations-app/dist/378.js 47.3 kB 👶
packages/esm-patient-immunizations-app/dist/50.js 47.1 kB 👶
packages/esm-patient-immunizations-app/dist/459.js 39.8 kB 👶
packages/esm-patient-immunizations-app/dist/932.js 19.3 kB 👶
packages/esm-patient-immunizations-app/dist/373.js 16.8 kB 👶
packages/esm-patient-immunizations-app/dist/339.js 411 kB (+8.17 kB / +2.03%) ↗️
packages/esm-patient-immunizations-app/dist/701.js 8.15 kB 👶
packages/esm-patient-immunizations-app/dist/554.js 2.94 kB 👶
packages/esm-patient-immunizations-app/dist/openmrs-esm-patient-immunizations-app.js 10.9 kB (-38 B / -0.35%) ↘️
packages/esm-patient-immunizations-app/dist/259.js deleted (-2.96 kB)
packages/esm-patient-immunizations-app/dist/502.js deleted (-3.09 kB)
packages/esm-patient-immunizations-app/dist/455.js deleted (-5.42 kB)
packages/esm-patient-immunizations-app/dist/815.js deleted (-18.6 kB)
packages/esm-patient-immunizations-app/dist/398.js deleted (-37.1 kB)
packages/esm-patient-immunizations-app/dist/477.js deleted (-47.1 kB)
packages/esm-patient-immunizations-app/dist/920.js deleted (-47.3 kB)
packages/esm-patient-immunizations-app/dist/217.js deleted (-48.9 kB)
packages/esm-patient-immunizations-app/dist/183.js deleted (-55.2 kB)
packages/esm-patient-immunizations-app/dist/783.js deleted (-128 kB)
packages/esm-patient-immunizations-app/dist/575.js deleted (-241 kB)
packages/esm-patient-immunizations-app/dist/231.js deleted (-466 kB)
Unmodified (7) 381 kB (0 B / +0%) 👻
Total (33) 1.92 MB (+25 kB / +1.32%) ↗️
@openmrs/esm-patient-medications-app (+0.99%) Generated by @jsenv/file-size-impact during Report bundle size#1988658563 on 31104df
Files new size
packages/esm-patient-medications-app/dist/245.js 773 kB 👶
packages/esm-patient-medications-app/dist/243.js 470 kB 👶
packages/esm-patient-medications-app/dist/964.js 234 kB 👶
packages/esm-patient-medications-app/dist/810.js 202 kB 👶
packages/esm-patient-medications-app/dist/350.js 183 kB 👶
packages/esm-patient-medications-app/dist/759.js 134 kB 👶
packages/esm-patient-medications-app/dist/931.js 55.6 kB 👶
packages/esm-patient-medications-app/dist/111.js 26.4 kB 👶
packages/esm-patient-medications-app/dist/373.js 17.5 kB 👶
packages/esm-patient-medications-app/dist/278.js 14.6 kB 👶
packages/esm-patient-medications-app/dist/339.js 411 kB (+8.17 kB / +2.03%) ↗️
packages/esm-patient-medications-app/dist/600.js 2 kB 👶
packages/esm-patient-medications-app/dist/666.js 1.83 kB 👶
packages/esm-patient-medications-app/dist/472.js 1.1 kB 👶
packages/esm-patient-medications-app/dist/879.js 6.55 kB (+77 B / +1.19%) ↗️
packages/esm-patient-medications-app/dist/openmrs-esm-patient-medications-app.js 10.1 kB (+8 B / +0.08%) ↗️
packages/esm-patient-medications-app/dist/660.js deleted (-1.1 kB)
packages/esm-patient-medications-app/dist/915.js deleted (-1.83 kB)
packages/esm-patient-medications-app/dist/655.js deleted (-2 kB)
packages/esm-patient-medications-app/dist/299.js deleted (-17.2 kB)

Copy link
Member

@donaldkibet donaldkibet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🍻 Thanks @manuelroemer

@rbuisson rbuisson requested a review from enyachoke March 16, 2022 14:13
@donaldkibet donaldkibet merged commit ead9335 into openmrs:master Mar 17, 2022
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