-
Notifications
You must be signed in to change notification settings - Fork 208
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) O3-1422 / O3-2724: Move workspace system into the framework #979
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
...es/framework/esm-styleguide/src/workspaces/notification/workspace-notification.component.tsx
Fixed
Show resolved
Hide resolved
3 tasks
So happy to see the PR 🥳 |
This was referenced Apr 19, 2024
Size Change: -15.4 kB (0%) Total Size: 3.72 MB
ℹ️ View Unchanged
|
denniskigen
approved these changes
Apr 19, 2024
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.
Excellent. Thanks, @brandones!
packages/framework/esm-styleguide/src/workspaces/overlay/workspace-overlay.component.tsx
Outdated
Show resolved
Hide resolved
packages/framework/esm-styleguide/src/workspaces/window/workspace-window.component.tsx
Outdated
Show resolved
Hide resolved
denniskigen
reviewed
Apr 19, 2024
packages/framework/esm-styleguide/src/workspaces/action-menu/action-menu.component.tsx
Show resolved
Hide resolved
Co-authored-by: Dennis Kigen <kigen.work@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
See openmrs/openmrs-esm-home#201 and openmrs/openmrs-esm-patient-management#1103 for Overlays.
See openmrs/openmrs-esm-patient-chart#1796 for the patient chart change.
Requirements
feat
,fix
, orchore
, among others). See existing PR titles for inspiration.For changes to apps
If applicable
Summary
This consolidates the workspace and overlay systems. Workspaces are now declared in the
routes.json
file. The workspace rendering is handled by a component that can be used in any app. The Patient Chart style workspace is implemented asWorkspaceWindow
, and overlay-style workspaces are implemented asWorkspaceOverlay
.Most of this code comes from patient-management and patient-chart.
There should be no functional change.
I'm not sure if I should add mocks. I imagine it will become clear as I fix the tests for the other repos.
Screenshots
workspace-drugs.mp4
workspace-sidebar-tablet.mp4
Related Issue
https://openmrs.atlassian.net/browse/O3-1421
https://openmrs.atlassian.net/browse/O3-2724