-
Notifications
You must be signed in to change notification settings - Fork 359
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: action and review after fields to copy from consultation page to log update #5348
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 settings. |
@cp-Coder I holding this PR, as a co-related issue that need to be fixed before this #5342 |
👋 Hi, @cp-Coder, This message is automatically generated by prince-chrismc/label-merge-conflicts-action so don't hesitate to report issues/improvements there. |
SonarCloud Quality Gate failed. 0 Bugs No Coverage information |
LGTM |
@ cp-Coder seems there are no changes in code, some other pr might have handled it. So closing this pr, feel free to open it if needed. cc: @nihal467 |
Bug Fix
WHAT
🤖 Generated by Copilot at d4bc6d0
Improved the logic and UI of the daily rounds component for patient consultations. Used more descriptive state variable names and reduced unnecessary API calls. Added a debug log in
DailyRounds.tsx
.Proposed Changes
action
andreview_interval
to take values from previous logAssociated Issue
@coronasafe/care-fe-code-reviewers @coronasafe/code-reviewers
Merge Checklist
HOW
🤖 Generated by Copilot at d4bc6d0
actions
toaction
ininitForm
object to match API field name (link)prevAction
state variable to store previous action for patient (link)useEffect
hook (link)useEffect
hook andfetchHasPreviousLog
function to anonymous async functions for simplicity (link, link)fetchPatientName
andfetchHasPreviousLog
function calls (link, link)action
andreview_interval
properties indata
object withprevAction
andprevReviewInterval
state variables when saving consultation update (link)action
input field to use and setprevAction
state variable on change (link)review_interval
input field to use and setprevReviewInterval
state variable on change (link)