-
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
Make Doctor notes Realtime #6149
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, @Bhavik-ag, This message is automatically generated by prince-chrismc/label-merge-conflicts-action so don't hesitate to report issues/improvements there. |
@Bhavik-ag instead of refreshing the whole page, use the notes object from webpush |
already a combined single PR is raised #6224 |
WHAT
🤖 Generated by Copilot at 5ce435a
This pull request adds a feature to view and add patient notes in a slide-over panel in the consultation details page, and refactors the patient notes components to use a common list and card component with infinite scrolling and WebSocket support. It also cleans up some code in various files by removing unused imports and improving formatting.
Proposed Changes
Backend Changes
Requirements to run locally
Screenshots / Videos
Care.Realtime.Doctor.Notes.webm
@coronasafe/care-fe-code-reviewers @coronasafe/code-reviewers
HOW
🤖 Generated by Copilot at 5ce435a
PatientNotesList
component for rendering the notes list with infinite scrolling and pagination, and thePage
component for rendering the page title and back button (link, link, link, link)react-infinite-scroll-component
to thepackage.json
file for implementing infinite scrolling in React components (link)l-minus
andl-text
icon paths in theUniconPaths.json
file to fit in one line, and remove a trailing comma from the last icon path, for code style consistency and to avoid parsing errors (link, link, link)Link
component with theButtonV2
component for rendering the "Doctor's Notes" button in theConsultationDetails
component, for UI consistency and functionality (link)consultationBedVentilator
variable declaration in theConsultationDetails
component, for code style consistency and to avoid potential errors (link)span
element that shows the number of assets associated with a bed in theBeds
component, for code style consistency and readability (link)useSelector
hook from various files, as they are not used in the corresponding components (link, link, link, link, link, link, link, link)Common.json
file, for code style consistency and readability (link)Consultation.json
file, for code style consistency and readability (link)