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

feature/9759-Add AppointmentMedicationWording to InPerson Phone & CC #9859

Conversation

juancstlm-a6
Copy link
Contributor

@juancstlm-a6 juancstlm-a6 commented Oct 9, 2024

Description of Change

Update the content in a In person Appointment and Community Care Appointment details to include the following component when Upcoming and Cancelled status. Existing content/wording relating to medication wording will be removed in favor of only the component listed below.
Image

Screenshots/Video

iOS
9759-iOS.mp4
Screenshot 2024-10-09 at 1 45 12 PM
Android
9759-Android.mp4
Screenshot 2024-10-09 at 1 44 43 PM

Testing

  • Updated test for In Person, Community Care, and Phone Tests to account for new component showing on Upcoming and Cancelled statuses
  • Tested on iOS
  • Tested on Android

Reviewer Validations

  • Update In person Appointment details to include the "Medication wording" component for Upcoming and Cancelled status
  • Update Community Care Appointment details to include the "Medication wording" component Upcoming and Cancelled status
  • Update Phone Appointment details to include the "Medication wording" component Upcoming and Cancelled status
  • Update VideoVA Appointment details to include the "Medication wording" component Upcoming and Cancelled status
  • "Medication wording" component contains a link that opens https://www.va.gov/resources/what-should-i-bring-to-my-health-care-appointments/ in a in app web view
  • ENV file is updated with the appropriate link

PR Checklist

Reviewer: Confirm the items below as you review

  • PR is connected to issue(s)
  • Tests are included to cover this change (when possible)
  • No magic strings (All string unions follow the Union -> Constant type pattern)
  • No secrets or API keys are checked in
  • All imports are absolute (no relative imports)
  • New functions and Redux work have proper TSDoc annotations

For QA

Run a build for this branch

@juancstlm-a6 juancstlm-a6 self-assigned this Oct 9, 2024
@juancstlm-a6 juancstlm-a6 changed the title feat: Add AppointmentMedicationWording to InPerson Phone & CC feature/9759-Add AppointmentMedicationWording to InPerson Phone & CC Oct 9, 2024
@juancstlm-a6 juancstlm-a6 force-pushed the feature/9759-UpdateMedicationWordingForAppointments-InPersion-CC-Phone branch from 1cf2235 to 5a695a3 Compare October 9, 2024 20:50
@juancstlm-a6 juancstlm-a6 marked this pull request as ready for review October 10, 2024 14:27
@juancstlm-a6 juancstlm-a6 requested review from a team as code owners October 10, 2024 14:27
@TKDickson
Copy link
Contributor

@juancstlm-a6 I was taking a look at this ticket for testing assignment, and noticed that the spacing between the content and the link doesn't meet our minimum requirements. You'll need to increase it to match the spacing on the mock in the design library, FYI: https://www.figma.com/design/QVLPB3eOunmKrgQOuOt0SU/Flagship-Library---%F0%9F%93%90-Resource---VA-Mobile?node-id=4598-17424&t=rZu6KwpJc4zhhOzC-4

@juancstlm-a6
Copy link
Contributor Author

@juancstlm-a6 I was taking a look at this ticket for testing assignment, and noticed that the spacing between the content and the link doesn't meet our minimum requirements. You'll need to increase it to match the spacing on the mock in the design library, FYI: https://www.figma.com/design/QVLPB3eOunmKrgQOuOt0SU/Flagship-Library---%F0%9F%93%90-Resource---VA-Mobile?node-id=4598-17424&t=rZu6KwpJc4zhhOzC-4

Do you mean this spacing ? or the one below the link ?
Screenshot 2024-10-11 at 3 09 26 PM

@TKDickson
Copy link
Contributor

@juancstlm-a6 yep that spacing.

@juancstlm-a6
Copy link
Contributor Author

@TKDickson It seems that it already is the correct spacing. Below is a gif of the simulator overlayed on the figma file while I toggle the opacity on and off. I lined up the headers and the link icon and it seems dead on to me. Would you suggest increasing or decreasing the spacing ?
Kapture 2024-10-11 at 15 03 07

The spacing that I see incorrect is from the "Details you shared with ..." and the "TTY link" happy to fix that in a separate ticket.

@juancstlm-a6 juancstlm-a6 force-pushed the feature/9759-UpdateMedicationWordingForAppointments-InPersion-CC-Phone branch from 5a695a3 to 67246e0 Compare October 15, 2024 03:47
@TKDickson
Copy link
Contributor

@juancstlm-a6 yeah your spacing looks good. I was looking at the Figma designs linked in the ticket, which don't have the correct spacing, and assumed that you had built to match those; hadn't brought up the branch.

@dumathane
Copy link
Contributor

@alexandec can you PR this for Juan this week?

Copy link
Contributor

@alexandec alexandec left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good overall, just a couple test-related things:

@github-actions github-actions bot added the FE-Changes Requested Requested changes from Eng or QA label Oct 16, 2024
@juancstlm-a6 juancstlm-a6 force-pushed the feature/9759-UpdateMedicationWordingForAppointments-InPersion-CC-Phone branch from 67246e0 to 1c6b40a Compare October 17, 2024 15:45
@juancstlm-a6
Copy link
Contributor Author

@alexandec Thanks for the review. I have updated the PR to address your points.
I added e2e tests to check that the components show in the right places I left this checking against text as trying to tests against the translation function had errors and I didn't see any existing e2e test that do this.
Updated the unit test to check against the translation function (this is great btw)

@alexandec
Copy link
Contributor

@juancstlm-a6 looks good, thanks for making those changes. We haven't tried using the t function in E2E tests yet, no worries there

@github-actions github-actions bot added the FE-With QA A PR waiting for QA Activity label Oct 17, 2024
@dumathane dumathane removed the FE-Changes Requested Requested changes from Eng or QA label Oct 18, 2024
@juancstlm-a6 juancstlm-a6 force-pushed the feature/9759-UpdateMedicationWordingForAppointments-InPersion-CC-Phone branch from 9c5739c to 5845ef7 Compare October 21, 2024 15:38
@github-actions github-actions bot added FE-Ready to Merge and removed FE-With QA A PR waiting for QA Activity labels Oct 21, 2024
@juancstlm-a6 juancstlm-a6 merged commit e307dad into develop Oct 21, 2024
46 checks passed
@juancstlm-a6 juancstlm-a6 deleted the feature/9759-UpdateMedicationWordingForAppointments-InPersion-CC-Phone branch October 21, 2024 17:33
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.

Update Medication Wording for Appointments | In Person & Community Care & Phone
4 participants