-
Notifications
You must be signed in to change notification settings - Fork 475
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
🔧 Hide Camera Feed Tab for bed with no camera attached. #6536
🔧 Hide Camera Feed Tab for bed with no camera attached. #6536
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. |
LGTM |
👋 Hi, @shyamprakash123, This message is automatically generated by prince-chrismc/label-merge-conflicts-action so don't hesitate to report issues/improvements there. |
@shyamprakash123 can you make the changes requested and resolve the merge conflicts |
@rithviknishad @Ashesh3 I made the suggested changes. Can you once review this? |
@shyamprakash123 you've not solved this: #6536 (comment) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
LGTM |
WHAT
🤖 Generated by Copilot at 8d8a8a3
Added camera-related features for patient beds in
ConsultationDetails
component. This allows users to view live feed and initiate video calls with patients who have cameras attached to their beds.Proposed Changes
Camera Feed
button also be hidden when nocamera
is attached to thebed
.Before:
After:
@coronasafe/care-fe-code-reviewers @coronasafe/code-reviewers
Merge Checklist
HOW
🤖 Generated by Copilot at 8d8a8a3
listAssetBeds
action to fetch the list of assets attached to a bed (link)isCameraAttached
state variable to store the camera status of the current bed (link)listAssetBeds
action with the current bed id and filter the response to check for camera type assets (link)isCameraAttached
as a condition to render the "Feed" link in thesrc/Components/Facility/ConsultationDetails/index.tsx
file (link)isCameraAttached
as a condition to render the "Video Call" button in thesrc/Components/Facility/ConsultationDetails/index.tsx
file (link)