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

Navigate to doctor notes page upon doctor notes clicked if popup already in view #6704

Merged
merged 2 commits into from
Nov 29, 2023

Conversation

konavivekramakrishna
Copy link
Contributor

@konavivekramakrishna konavivekramakrishna commented Nov 23, 2023

component

WHAT

🤖[deprecated] Generated by Copilot at 150a5ba

Improved the navigation logic for the patient_doctor_notes link in the ConsultationDetails component. Added a state variable to show a popup with patient details before redirecting to the patient notes page.

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

🤖[deprecated] Generated by Copilot at 150a5ba

  • Added a state variable showPatientNotesPopup to track whether the user has seen the patient notes popup or not (link)
  • Implemented a function handlePatientNotesPopup to toggle the value of showPatientNotesPopup and set the patientNotes state variable to the selected consultation's notes (link)
  • Rendered a PatientNotesPopup component inside the ConsultationDetails component, passing the patientNotes and handlePatientNotesPopup as props (link)

@konavivekramakrishna konavivekramakrishna requested a review from a team November 23, 2023 17:46
@konavivekramakrishna konavivekramakrishna requested a review from a team as a code owner November 23, 2023 17:46
Copy link

vercel bot commented Nov 23, 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 Nov 24, 2023 4:03pm

Copy link

netlify bot commented Nov 23, 2023

Deploy Preview for care-egov-staging ready!

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

LGTM

@khavinshankar khavinshankar merged commit 3aa6259 into ohcnetwork:develop Nov 29, 2023
29 of 31 checks passed
@konavivekramakrishna konavivekramakrishna deleted the fix#6701 branch December 1, 2023 11:53
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.

Navigate to doctor notes page upon doctor notes clicked if popup already in view
4 participants