-
Notifications
You must be signed in to change notification settings - Fork 234
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-3836: Added a 'Add bed' button on the summary page of each location. #1433
base: main
Are you sure you want to change the base?
Conversation
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.
Looks good. Thanks!
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.
Thanks @UNCANNY69! Functionality works as intended, but I left some minor suggestions:
packages/esm-bed-management-app/src/ward-with-beds/ward-with-beds.component.tsx
Outdated
Show resolved
Hide resolved
packages/esm-bed-management-app/src/ward-with-beds/ward-with-beds.component.tsx
Outdated
Show resolved
Hide resolved
packages/esm-bed-management-app/src/ward-with-beds/ward-with-beds.component.tsx
Show resolved
Hide resolved
packages/esm-bed-management-app/src/ward-with-beds/ward-with-beds.component.tsx
Outdated
Show resolved
Hide resolved
packages/esm-bed-management-app/src/ward-with-beds/ward-with-beds.component.tsx
Outdated
Show resolved
Hide resolved
@@ -114,6 +118,25 @@ const WardWithBeds: React.FC = () => { | |||
}> | |||
<span>Return to summary</span> | |||
</Button> | |||
<span> |
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.
Do we need this many parent spans
?
Requirements
Summary
This PR enhances the bed-management-app by adding a "Add Bed" button to the summary page for each location. The functionality also includes setting the default active location.
Screenshots
Related Issue
https://issues.openmrs.org/browse/O3-3836
Other