Skip to content
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

Added nav link for bed status in consultation form #6170

Merged
merged 2 commits into from
Sep 6, 2023

Conversation

suprabathk
Copy link
Contributor

@suprabathk suprabathk commented Aug 28, 2023

WHAT

🤖 Generated by Copilot at b0ae8e8

Added bed details section to consultation form. This section displays and allows editing of the patient's current bed allocation when updating a consultation in ConsultationForm.tsx.

Proposed Changes

@coronasafe/care-fe-code-reviewers @coronasafe/code-reviewers

Merge Checklist

  • Add specs that demonstrate bug / test a new feature.
  • Update product documentation.
  • Ensure that UI text is kept in I18n files.
  • Prep screenshot or demo video for changelog entry, and attach it to issue.
  • Request for Peer Reviews
  • Completion of QA

HOW

🤖 Generated by Copilot at b0ae8e8

  • Extend ConsultationFormSection type to include "Bed Status" section (link)
  • Add state variable and ref for tracking visibility and position of "Bed Status" section (link, link)
  • Update activeSection state variable to include bedStatusVisible condition and dependency (link)
  • Add conditional rendering logic to renderSection function to hide "Bed Status" section for new consultations (link)
  • Use sectionTitle function to render title of "Bed Status" section in ConsultationForm.tsx (link)

@suprabathk suprabathk requested a review from a team August 28, 2023 13:47
@suprabathk suprabathk requested a review from a team as a code owner August 28, 2023 13:47
@suprabathk suprabathk requested a review from mathew-alex August 28, 2023 13:47
@vercel
Copy link

vercel bot commented Aug 28, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
care-storybook ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 4, 2023 1:47am

@netlify
Copy link

netlify bot commented Aug 28, 2023

Deploy Preview for care-egov-staging ready!

Name Link
🔨 Latest commit 1dfa2da
🔍 Latest deploy log https://app.netlify.com/sites/care-egov-staging/deploys/64f536fe02f441000873d16a
😎 Deploy Preview https://deploy-preview-6170--care-egov-staging.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@nihal467
Copy link
Member

nihal467 commented Sep 5, 2023

LGTM

@khavinshankar khavinshankar merged commit 539beec into ohcnetwork:develop Sep 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add "Bed Status" tab in Update consultation
3 participants