-
Notifications
You must be signed in to change notification settings - Fork 490
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
fix: Duty doctors and Staff for each Location in a Facility #5370
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. |
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
👋 Hi, @cp-coder, This message is automatically generated by prince-chrismc/label-merge-conflicts-action so don't hesitate to report issues/improvements there. |
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
👋 Hi, @cp-coder, This message is automatically generated by prince-chrismc/label-merge-conflicts-action so don't hesitate to report issues/improvements there. |
@cp-coder resolve the merge conflict |
👋 Hi, @cp-coder, This message is automatically generated by prince-chrismc/label-merge-conflicts-action so don't hesitate to report issues/improvements there. |
@cp-coder can you clear the merge conflict |
6a5f527
to
129fa01
Compare
LGTM |
@gigincg to post a comment on @vigneshhari query in the back-end |
👋 Hi, @cp-coder, This message is automatically generated by prince-chrismc/label-merge-conflicts-action so don't hesitate to report issues/improvements there. |
❌ Deploy Preview for care-net failed.
|
@cp-coder will be creating a new co-related back-end PR for review in two days CC : @khavinshankar @gigincg |
Opening a new PR |
Bug Fix
WHAT
🤖 Generated by Copilot at ba5bdc4
The pull request adds the feature to assign users (doctors and staff) to locations in a facility and display them in the location management table. It modifies the
AddLocationForm.tsx
,LocationManagement.tsx
, andmodels.tsx
files in thesrc/Components/Facility
folder to handle the user data and the UI components.Proposed Changes
Duty Staff
section to location formdoctors
andstaff
with each locationAssociated Issue
Screenshot
Location View table
Location Add form
@coronasafe/care-fe-code-reviewers @coronasafe/code-reviewers
Merge Checklist
HOW
🤖 Generated by Copilot at ba5bdc4
AddLocationForm
component (link, link, link, link, link, link, link, link, link)getFacilityUsers
action in theAddLocationForm
component (link, link)AddLocationForm
component (link)duty_staff
field in the data object sent to the API when submitting theAddLocationForm
component (link, link)LocationRow
component (link, link, link)doctors
andstaff
props to theLocationRow
component from theduty_staff_objects
field of thelocationItem
object in theLocationManagement
component (link)duty_staff_objects
field to theLocationModel
interface in thesrc/Components/Facility/models.ts
file (link, link)