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

97211 [CDP] Bug - Account number not showing on copay statement page #33752

Merged
merged 7 commits into from
Dec 30, 2024

Conversation

penny-lischer
Copy link
Contributor

@penny-lischer penny-lischer commented Dec 23, 2024

Note: Delete the description statements, complete each step. None are optional, but can be justified as to why they cannot be completed as written. Provide known gaps to testing that may raise the risk of merging to production.

Are you removing, renaming or moving a folder in this PR?

  • No, I'm not changing any folders (skip to TeamSites and delete the rest of this section)
  • Yes, I'm removing, renaming or moving a folder

Did you change site-wide styles, platform utilities or other infrastructure?

Summary

  • (Summarize the changes that have been made to the platform)
  • (If bug, how to reproduce)
  • (What is the solution, why is this the solution)
  • (Which team do you work for, does your team own the maintenance of this component?)
  • (If using a flipper, what is the end date of the flipper being required/success criteria being targeted)

Related issue(s)

Testing done

  • Describe what the old behavior was prior to the change
  • Describe the steps required to verify your changes are working as expected
  • Describe the tests completed and the results
  • _Exclusively stating 'Specs and automated tests passing' is NOT acceptable as appropriate testing
  • Optionally, provide a link to your test plan and test execution records

Screenshots

Screenshot 2024-12-23 at 11 25 39 AM
Screenshot 2024-12-23 at 11 26 06 AM

What areas of the site does it impact?

(Describe what parts of the site are impacted if code touched other areas)

Acceptance criteria

Quality Assurance & Testing

  • I fixed|updated|added unit tests and integration tests for each feature (if applicable).
  • No sensitive information (i.e. PII/credentials/internal URLs/etc.) is captured in logging, hardcoded, or specs
  • Linting warnings have been addressed
  • Documentation has been updated (link to documentation *if necessary)
  • Screenshot of the developed feature is added
  • Accessibility testing has been performed

Error Handling

  • Browser console contains no warnings or errors.
  • Events are being sent to the appropriate logging solution
  • Feature/bug has a monitor built into Datadog or Grafana (if applicable)

Authentication

  • Did you login to a local build and verify all authenticated routes work as expected with a test user

Requested Feedback

(OPTIONAL) What should the reviewers know in addition to the above. Is there anything specific you wish the reviewer to assist with. Do you have any concerns with this PR, why?

@penny-lischer penny-lischer self-assigned this Dec 23, 2024
@va-vfs-bot va-vfs-bot temporarily deployed to master/97211_account_number_bug_copay/main December 23, 2024 20:56 Inactive
@va-vfs-bot va-vfs-bot temporarily deployed to master/97211_account_number_bug_copay/main December 24, 2024 00:33 Inactive
const acctNum = selectedCopay?.pHAccountNumber
? selectedCopay?.pHAccountNumber.toString()
: selectedCopay?.pHCernerAccountNumber.toString();
const acctNum = selectedCopay?.accountNumber;
Copy link
Contributor

Choose a reason for hiding this comment

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

I'd just double check on a potential fallback value, or include maybe a Sentry error to throw saying we're missing it? (without capturing any PII)

Copy link
Contributor

Choose a reason for hiding this comment

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

@penny-lischer, I think what we want here is something like this:

selectedCopay?.accountNumber || selectedCopay?.pHAccountNumber

This will give us the fallback we need prioritizing the value we want and then using the value we had originally.

@penny-lischer penny-lischer marked this pull request as ready for review December 24, 2024 19:08
@penny-lischer penny-lischer requested review from a team as code owners December 24, 2024 19:08
@va-vfs-bot va-vfs-bot temporarily deployed to master/97211_account_number_bug_copay/main December 24, 2024 19:13 Inactive
Copy link
Contributor

@Dr-Pongo Dr-Pongo left a comment

Choose a reason for hiding this comment

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

LGTM! 🚀

@va-vfs-bot va-vfs-bot temporarily deployed to master/97211_account_number_bug_copay/main December 28, 2024 23:28 Inactive
Copy link
Contributor

@IGallupSoCo IGallupSoCo left a comment

Choose a reason for hiding this comment

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

LGTM

@penny-lischer penny-lischer merged commit 85a46db into main Dec 30, 2024
80 checks passed
@penny-lischer penny-lischer deleted the 97211_account_number_bug_copay branch December 30, 2024 23:39
@penny-lischer penny-lischer changed the title [CDP] Bug - Account number not showing on copay statement page 97211 [CDP] Bug - Account number not showing on copay statement page Dec 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants