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

[Letters] - Update letters so V1 components are V3 components #28060

Merged
merged 2 commits into from
Mar 19, 2024

Conversation

pmclaren19
Copy link
Contributor

@pmclaren19 pmclaren19 commented Feb 19, 2024

Summary

Updated the following files to no longer have uswds='false'

  • src/applications/letters/components/AppContent.jsx
  • src/applications/letters/components/DownloadLetterLink.jsx
  • src/applications/letters/components/NoAddressBanner.jsx
  • src/applications/letters/components/systemDownMessage.jsx
  • src/applications/letters/containers/DownloadLetters.jsx
  • src/applications/letters/containers/LetterList.jsx
  • src/applications/letters/containers/Main.jsx
  • src/applications/letters/containers/VeteranBenefitSummaryLetter.jsx
  • src/applications/letters/utils/helpers.jsx

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

_Note: Tried to get screenshots but was unable to repro certain things in localhost/staging

Before After
NoAddressBanner.jsx va-alert Screenshot 2024-03-18 at 3 03 00 PM Screenshot 2024-03-18 at 3 02 31 PM
DownloadLetters.jsx va-segmented-progress-bar Screenshot 2024-03-18 at 3 10 05 PM Screenshot 2024-03-18 at 3 10 29 PM
LetterList.jsx va-accordion Screenshot 2024-03-18 at 3 22 39 PM Screenshot 2024-03-18 at 3 48 57 PM
LetterList.jsx va-telephone Screenshot 2024-03-18 at 3 23 07 PM Screenshot 2024-03-18 at 3 39 59 PM
DownloadLetterLink.jsx va-alert success Screenshot 2024-03-18 at 3 26 11 PM Screenshot 2024-03-18 at 3 49 25 PM
Systemdownmessage.jsx va-alert Screenshot 2024-03-18 at 3 41 19 PM Screenshot 2024-03-18 at 3 42 37 PM
helpers va-alert Screenshot 2024-03-18 at 4 07 06 PM Screenshot 2024-03-18 at 3 56 20 PM
VeteranBenefitSummaryLetter.jsx va-table Screenshot 2024-03-18 at 3 53 18 PM
AppContent.jsx va-alert Screenshot 2024-03-18 at 3 59 04 PM

What areas of the site does it impact?

Letters

Acceptance criteria

  • Any components that were updated as USWDS false that are not V3 components should have that prop removed.
  • Design and engineering test locally to confirm design fidelity of the migration before changes are merged

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

⚠️ Team Sites (only applies to modifications made to the VA.gov header) ⚠️

  • The vets-website header does not contain any web-components
  • I used the proxy-rewrite steps to test the injected header scenario
  • I reached out in the #sitewide-public-websites Slack channel for questions

Requested Feedback

How to test things

@pmclaren19 pmclaren19 self-assigned this Feb 19, 2024
@va-vfs-bot va-vfs-bot temporarily deployed to master/76123-Migrate-V1-Components-To-V3-For-Letters/main February 19, 2024 21:44 Inactive
@pmclaren19 pmclaren19 marked this pull request as ready for review March 18, 2024 20:24
@pmclaren19 pmclaren19 requested review from a team as code owners March 18, 2024 20:24
@pmclaren19 pmclaren19 marked this pull request as draft March 18, 2024 20:29
@pmclaren19 pmclaren19 marked this pull request as ready for review March 18, 2024 22:09
@pmclaren19 pmclaren19 merged commit a5b0333 into main Mar 19, 2024
83 of 84 checks passed
@pmclaren19 pmclaren19 deleted the 76123-Migrate-V1-Components-To-V3-For-Letters branch March 19, 2024 15:11
mkerns1 pushed a commit that referenced this pull request Mar 20, 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.

None yet

3 participants