-
Notifications
You must be signed in to change notification settings - Fork 489
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
Added location type to location form #6592
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
✅ Deploy Preview for care-egov-staging ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
@GokulramGHV as per the latest discussion work only on the below things :
Discussion note on 27/11/2023 - Engineering Call |
👋 Hi, @GokulramGHV, This message is automatically generated by prince-chrismc/label-merge-conflicts-action so don't hesitate to report issues/improvements there. |
LGTM, will take up the UI as a separate issue |
WHAT
🤖 Generated by Copilot at a0f328d
This pull request adds a new feature to categorize asset locations by type, such as ward, ICU, or pharmacy. It modifies the
AssetTypes.tsx
file to define the types and theAddLocationForm.tsx
file to enable the user input and the API integration. This feature may improve the asset management and allocation in the facility.Proposed Changes
Fixes Classifying location as an ICU or Ward for a Location #6553
Backend PR: Field to classify location as an ICU or Ward or Other care#1708
@coronasafe/care-fe-code-reviewers @coronasafe/code-reviewers
Merge Checklist
HOW
🤖 Generated by Copilot at a0f328d
AssetLocationType
to define the possible types of locations where assets can be stored (link)location_type
to the interfaceAssetLocationObject
to store the type of location as anAssetLocationType
value (link)SelectFormField
component and theAssetLocationType
enum to use them in theAddLocationForm
component (link)AddLocationForm
component (link)SelectFormField
component to theAddLocationForm
component to render a dropdown menu for the user to select the location type from the predefined options and pass the relevant props to the component (link)