-
Notifications
You must be signed in to change notification settings - Fork 497
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
Rearranging buttons in the Patient consultation page #6674
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. |
|
👋 Hi, @GokulramGHV, This message is automatically generated by prince-chrismc/label-merge-conflicts-action so don't hesitate to report issues/improvements there. |
@nihal467 I'm not able to reproduce the shift patient button issue. I'm able to see "Track Shifting". I didn't change or remove the shift patient logic. |
LGTM |
WHAT
🤖[deprecated] Generated by Copilot at 045444b
The pull request refactors the code and improves the user interface for the consultation details and patient info card components. It removes unused code and dependencies from
src/Components/Facility/ConsultationDetails/index.tsx
and moves the buttons for shifting and discharge actions tosrc/Components/Patient/PatientInfoCard.tsx
. It also adds a dropdown menu for the buttons and enables their functionality and localization.Proposed Changes
@coronasafe/care-fe-code-reviewers @coronasafe/code-reviewers
Merge Checklist
HOW
🤖[deprecated] Generated by Copilot at 045444b
ConsultationDetails
component to thePatientInfoCard
component and place them in a dropdown menu (link, link, link, link, link, link)navigate
,DischargeSummaryModal
,DischargeModal
anduseTranslation
to thePatientInfoCard
component to enable the functionality and localization of the buttons (link, link)openDischargeSummaryDialog
andopenDischargeDialog
to thePatientInfoCard
component to control the visibility of the modals for discharge summary and discharge from care (link, link)activeShiftingData
to store the propactiveShiftingData
in thePatientInfoCard
component to simplify the access to the data of the active shifting request of the patient (link)ButtonV2
,CareIcon
,DischargeModal
,DischargeSummaryModal
anduseTranslation
from theConsultationDetails
component as they are no longer used in this component (link, link)openDischargeSummaryDialog
andopenDischargeDialog
from theConsultationDetails
component as they are no longer used in this component (link)hasActiveShiftingRequest
from theConsultationDetails
component as it is no longer used in this component (link)const { t } = useTranslation();
from theTABS
value in theConsultationDetails
component as it is no longer used in this value (link)DischargeSummaryModal
andDischargeModal
components from theConsultationDetails
component as they are no longer used in this component (link)