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

Add Consultation button is now conditionally active #6260

Merged
merged 3 commits into from
Sep 12, 2023

Conversation

thtauhid
Copy link
Contributor

@thtauhid thtauhid commented Sep 11, 2023

WHAT

🤖 Generated by Copilot at 44142f7

This pull request enables consultations for inactive patients in the PatientHome.tsx component. It also updates the UI to show different consultation cards depending on the patient's status.

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 44142f7

  • Reverse the conditional classes for the consultation card to enable it for inactive patients and disable it for active patients who already have a consultation (link)
  • Add visual feedback for the consultation card by changing the background color and cursor style depending on the patient status (link)

@thtauhid thtauhid requested a review from a team September 11, 2023 07:11
@thtauhid thtauhid requested a review from a team as a code owner September 11, 2023 07:11
@thtauhid thtauhid requested a review from bodhish September 11, 2023 07:11
@vercel
Copy link

vercel bot commented Sep 11, 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 12, 2023 7:46am

@netlify
Copy link

netlify bot commented Sep 11, 2023

Deploy Preview for care-egov-staging ready!

Name Link
🔨 Latest commit f5787d9
🔍 Latest deploy log https://app.netlify.com/sites/care-egov-staging/deploys/650017296970360008e2f4c3
😎 Deploy Preview https://deploy-preview-6260--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

@thtauhid
Copy link
Contributor Author

Hi @nihal467 I have updated the code.
Please check again.

Thank you.

@nihal467
Copy link
Member

LGTM

@khavinshankar khavinshankar merged commit 3fdf1d5 into ohcnetwork:develop Sep 12, 2023
22 of 23 checks passed
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 Consultation is permanently disabled in Patient Details page
3 participants