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

O3-1023 Should be possible to launch patient chart with workspace open #546

Merged
merged 1 commit into from
Feb 10, 2022

Conversation

brandones
Copy link
Contributor

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.
  • I checked for feature overlap with existing widgets.

Summary

This makes it possible to launch the patient chart with a workspace open.

Screenshots

launch-workspace

Issue

https://issues.openmrs.org/browse/O3-1023

@brandones brandones requested a review from ibacher February 10, 2022 02:54
@brandones
Copy link
Contributor Author

@ibacher I opted not to implement this using the URL bar because of some questions I hadn't finished thinking through—namely I wasn't sure how to deal with workspace props provided at launch time. I now think those props should probably just be serialized to the URL bar? But anyway that's a different problem for a different ticket.

@brandones
Copy link
Contributor Author

Note—JJ pointed out that in my gif the workspace doesn't go to the bottom of the screen. That doesn't have to do with this PR. Probably just something out of date with my dev server.

@brandones brandones marked this pull request as draft February 10, 2022 03:07
@brandones
Copy link
Contributor Author

Oh, this might not be working for other reasons though. Will notify once it's confirmed in good shape.

@brandones
Copy link
Contributor Author

j/k I think it's fine

@brandones brandones marked this pull request as ready for review February 10, 2022 03:13
@github-actions
Copy link
Contributor

File size impact

Merging workspace-launch into master impact files as follow:

@openmrs/esm-form-entry-app (no impact)
Files new size
Unmodified (4) 1.47 MB (0 B / +0%) 👻
Total (4) 1.47 MB (0 B / +0%) 👻
@openmrs/esm-generic-patient-widgets-app (+0.01%)
Files new size
packages/esm-generic-patient-widgets-app/dist/119.js 465 kB (+270 B / +0.06%) ↗️
Unmodified (15) 2.46 MB (0 B / +0%) 👻
Total (16) 2.92 MB (+270 B / +0.01%) ↗️
@openmrs/esm-patient-allergies-app (+0.01%)
Files new size
packages/esm-patient-allergies-app/dist/119.js 464 kB (+270 B / +0.06%) ↗️
Unmodified (32) 2.11 MB (0 B / +0%) 👻
Total (33) 2.58 MB (+270 B / +0.01%) ↗️
@openmrs/esm-patient-appointments-app (+0.01%)
Files new size
packages/esm-patient-appointments-app/dist/119.js 465 kB (+270 B / +0.06%) ↗️
Unmodified (24) 1.6 MB (0 B / +0%) 👻
Total (25) 2.06 MB (+270 B / +0.01%) ↗️
@openmrs/esm-patient-attachments-app (+0.02%)
Files new size
packages/esm-patient-attachments-app/dist/119.js 465 kB (+270 B / +0.06%) ↗️
Unmodified (21) 1.14 MB (0 B / +0%) 👻
Total (22) 1.61 MB (+270 B / +0.02%) ↗️
@openmrs/esm-patient-banner-app (no impact)
Files new size
Unmodified (17) 1.01 MB (0 B / +0%) 👻
Total (17) 1.01 MB (0 B / +0%) 👻
@openmrs/esm-patient-biometrics-app (+0.01%)
Files new size
packages/esm-patient-biometrics-app/dist/119.js 464 kB (+270 B / +0.06%) ↗️
Unmodified (21) 2.08 MB (0 B / +0%) 👻
Total (22) 2.54 MB (+270 B / +0.01%) ↗️
@openmrs/esm-patient-chart-app (+0.01%)
Files new size
packages/esm-patient-chart-app/dist/119.js 464 kB (+270 B / +0.06%) ↗️
packages/esm-patient-chart-app/dist/937.js 1.04 MB (+5 B / +0%) ↗️
Unmodified (38) 2.05 MB (0 B / +0%) 👻
Total (40) 3.55 MB (+275 B / +0.01%) ↗️
@openmrs/esm-patient-clinical-view-app (+0.02%)
Files new size
packages/esm-patient-clinical-view-app/dist/119.js 465 kB (+270 B / +0.06%) ↗️
Unmodified (18) 952 kB (0 B / +0%) 👻
Total (19) 1.42 MB (+270 B / +0.02%) ↗️
@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 (+0.01%)
Files new size
packages/esm-patient-conditions-app/dist/119.js 464 kB (+270 B / +0.06%) ↗️
Unmodified (25) 1.45 MB (0 B / +0%) 👻
Total (26) 1.91 MB (+270 B / +0.01%) ↗️
@openmrs/esm-patient-forms-app (+0.01%)
Files new size
packages/esm-patient-forms-app/dist/119.js 464 kB (+270 B / +0.06%) ↗️
Unmodified (24) 1.52 MB (0 B / +0%) 👻
Total (25) 1.98 MB (+270 B / +0.01%) ↗️
@openmrs/esm-patient-immunizations-app (+0.01%)
Files new size
packages/esm-patient-immunizations-app/dist/119.js 465 kB (+270 B / +0.06%) ↗️
Unmodified (22) 1.36 MB (0 B / +0%) 👻
Total (23) 1.82 MB (+270 B / +0.01%) ↗️
@openmrs/esm-patient-medications-app (+0.01%)
Files new size
packages/esm-patient-medications-app/dist/119.js 465 kB (+270 B / +0.06%) ↗️
Unmodified (19) 2.32 MB (0 B / +0%) 👻
Total (20) 2.78 MB (+270 B / +0.01%) ↗️
@openmrs/esm-patient-notes-app (+0.01%)
Files new size
packages/esm-patient-notes-app/dist/119.js 464 kB (+270 B / +0.06%) ↗️
Unmodified (24) 1.38 MB (0 B / +0%) 👻
Total (25) 1.85 MB (+270 B / +0.01%) ↗️
@openmrs/esm-patient-programs-app (+0.01%)
Files new size
packages/esm-patient-programs-app/dist/119.js 464 kB (+270 B / +0.06%) ↗️
Unmodified (22) 1.41 MB (0 B / +0%) 👻
Total (23) 1.87 MB (+270 B / +0.01%) ↗️
@openmrs/esm-patient-test-results-app (+0.01%)
Files new size
packages/esm-patient-test-results-app/dist/119.js 465 kB (+270 B / +0.06%) ↗️
Unmodified (27) 3.32 MB (0 B / +0%) 👻
Total (28) 3.78 MB (+270 B / +0.01%) ↗️
@openmrs/esm-patient-vitals-app (+0.01%)
Files new size
packages/esm-patient-vitals-app/dist/119.js 464 kB (+270 B / +0.06%) ↗️
Unmodified (25) 3.02 MB (0 B / +0%) 👻
Total (26) 3.49 MB (+270 B / +0.01%) ↗️
Generated by @jsenv/file-size-impact during Report bundle size#1821643279 on 79fe7cd

Copy link
Member

@ibacher ibacher left a comment

Choose a reason for hiding this comment

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

LGTM

@ibacher ibacher merged commit d1e4106 into master Feb 10, 2022
@ibacher ibacher deleted the workspace-launch branch February 10, 2022 17:43
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.

2 participants