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

fix: made notes consultation specific #5429

Closed
wants to merge 2 commits into from

Conversation

aeswibon
Copy link
Member

@aeswibon aeswibon commented May 3, 2023

Bug Fix

WHAT

🤖 Generated by Copilot at 216ff35

The pull request adds the functionality to view and manage notes for specific consultations of a patient. It modifies the PatientNotes component, the getPatientNotes action, and the Link component in ConsultationDetails to pass and use the consultationId parameter. It also adds a new route to the AppRouter component to render the PatientNotes component with the relevant props.

Proposed Changes

  • Adds consultation specific notes

Associated Issue

@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 the screenshot or demo video for the changelog entry, and attach it to issue
  • Request for Peer Reviews
  • Completion of QA

HOW

🤖 Generated by Copilot at 216ff35

  • Add a new route to access the notes page of a specific consultation for a patient (link)
  • Modify the href attribute of the Link component to include the consultationId parameter (link)
  • Update the PatientNotes component to receive and use the consultationId prop (link, link, link, link, link, link)
  • Convert the fetchPatientName function to an async arrow function and wrap it in an IIFE (link, link, link)
  • Add the consultation parameter to the getPatientNotes and addPatientNote actions (link)

@vercel
Copy link

vercel bot commented May 3, 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 Aug 7, 2023 8:50am

@netlify
Copy link

netlify bot commented May 3, 2023

Deploy Preview for care-egov-staging ready!

Name Link
🔨 Latest commit 469351d
🔍 Latest deploy log https://app.netlify.com/sites/care-egov-staging/deploys/64d0b007c73a0200082cd524
😎 Deploy Preview https://deploy-preview-5429--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.

@github-actions
Copy link

Hi, This pr has been automatically marked as stale because it has not had any recent activity. It will be automatically closed if no further activity occurs for 7 more days. Thank you for your contributions.

@github-actions github-actions bot added the stale label May 11, 2023
@aeswibon aeswibon marked this pull request as ready for review May 11, 2023 06:37
@aeswibon aeswibon requested a review from a team May 11, 2023 06:38
@aeswibon aeswibon requested a review from a team as a code owner May 11, 2023 06:38
@aeswibon aeswibon requested a review from mathew-alex May 11, 2023 06:38
@sonarcloud
Copy link

sonarcloud bot commented May 11, 2023

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 2 Code Smells

No Coverage information No Coverage information
15.3% 15.3% Duplication

@github-actions github-actions bot added the merge conflict pull requests with merge conflict label May 30, 2023
@github-actions
Copy link

👋 Hi, @cp-Coder,
Conflicts have been detected against the base branch. Please rebase your branch against the base branch.


This message is automatically generated by prince-chrismc/label-merge-conflicts-action so don't hesitate to report issues/improvements there.

@github-actions
Copy link

github-actions bot commented Aug 7, 2023

👋 Hi, @cp-Coder,
Conflicts have been detected against the base branch. Please rebase your branch against the base branch.


This message is automatically generated by prince-chrismc/label-merge-conflicts-action so don't hesitate to report issues/improvements there.

@github-actions github-actions bot added the merge conflict pull requests with merge conflict label Aug 7, 2023
@aeswibon aeswibon removed the merge conflict pull requests with merge conflict label Aug 7, 2023
@aeswibon aeswibon closed this Aug 7, 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.

None yet

1 participant