-
Notifications
You must be signed in to change notification settings - Fork 348
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
fixes Code Refactor: ConsultationDetails.tsx #5830 #5885
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
❌ Deploy Preview for care-egov-staging failed.
|
@rithviknishad Kindly review this PR. I have implemented all the suggested points from previous PR |
👋 Hi, @nazrul7711, This message is automatically generated by prince-chrismc/label-merge-conflicts-action so don't hesitate to report issues/improvements there. |
@nazrul7711 can you resolve the merge conflict |
hey @nihal467 I have resolved the conflicts. |
@nazrul7711 can you clear the merge conflict |
❌ Deploy Preview for care-net failed.
|
hey @nihal467 i have resolved conflicts again . I don't know why m seeing these conflicts some are the same conflicts which I resolved yesterday. |
@nazrul7711 fix the build ![]() |
👋 Hi, @nazrul7711, This message is automatically generated by prince-chrismc/label-merge-conflicts-action so don't hesitate to report issues/improvements there. |
Hi, This pr has been automatically marked as stale because it has not had any recent activity. It will be automatically closed if no further activity occurs for 7 more days. Thank you for your contributions. |
Hi, @gigincg, @nihal467, @khavinshankar, @mathew-alex, This pr has been automatically closed because it has not had any recent activity. Thank you for your contributions. Feel free to repopen the pr. |
WHAT
🤖 Generated by Copilot at 68d8064
The pull request adds several new components to the
src/Components/Facility
directory, each corresponding to a different tab for displaying consultation data. The components use theConsultationTabProps
type and thePage
component fromsrc/Common/constants.tsx
. The components render various plots, tables, diagrams, and files related to the consultation, such as blood gas analysis, dialysis, nursing, nutrition, pressure sore, and ventilator data.The pull request adds several new components to the src/Components/Facility directory, each corresponding to a different tab for displaying consultation data. The components use a common interface defined in src/Common/constants.tsx to receive props from the parent component. The components also import and render various plot, table, and file upload components from other directories. The purpose of the changes is to enhance the user interface and functionality of the consultation feature.
The task was to break ConsultationDetails.tsx files into smaller components.
Proposed Changes
I made the following components.
ConsultationUpdatesTab
ConsultationFeedTab
ConsultationSummaryTab
ConsultationMedicinesTab
ConsultationFilesTab
ConsultationABGTab
ConsultationNursingTab
ConsultationNeurologicalMonitoringTab
ConsultationVentilatorTab
ConsultationNutritionTab
ConsultationPressureSoreTab
ConsultationDialysisTab
ConsultationInvestigationsTab
ConsultationDetails.tsx
#5830@coronasafe/care-fe-code-reviewers @coronasafe/code-reviewers
Merge Checklist
HOW
🤖 Generated by Copilot at 68d8064
ConsultationTabProps
interface to define common props for consultation tabs (link)ConsultationModel
andPatientModel
interfaces to use in props (link)ConsultationABGTab
component to render arterial blood gas analysis plots (link)ConsultationDialysisTab
component to render dialysis plots (link)ConsultationFeedTab
component to render camera feed (link)ConsultationFilesTab
component to render file upload and view (link)ConsultationInvestigationsTab
component to render investigations and test results (link)ConsultationMedicinesTab
component to render prescribed and administered medicines (link)ConsultationNeurologicalMonitoringTab
component to render neurological monitoring data (link)ConsultationNursingTab
component to render nursing analysis plot (link)ConsultationNutritionTab
component to render nutrition plots (link)ConsultationPressureSoreTab
component to render pressure sore diagrams (link)ConsultationSummaryTab
component to render primary parameters plot (link)ConsultationVentilatorTab
component to render respiratory support plot (link)ConsultationTabProps
to each tab component as props (link, link, link, link, link, link, link, link, link, link, link, link)ConsultationInvestigationsTab
with authorization and navigation logic (link)ConsultationMedicinesTab
(link)ConsultationMedicinesTab
(link)