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

VACMS-16917: DUW Result Page #30684

Merged
merged 11 commits into from
Jul 10, 2024
Merged

VACMS-16917: DUW Result Page #30684

merged 11 commits into from
Jul 10, 2024

Conversation

chriskim2311
Copy link
Contributor

@chriskim2311 chriskim2311 commented Jul 3, 2024

Summary

This PR starts the review page component and completes the routing logic and adds helper functions. Also includes results summary that conditionally renders upgrade instructions based on branch and some form responses.

Related issue(s)

department-of-veterans-affairs/va.gov-cms#16917

Testing done

Tested routes to the results page. Currently only the summary is being rendered for this PR. More content will be added with subsequent PRs.

Ending URL: /discharge-upgrade-instructions/results/ must go through any DUW flow to get to this page.

Testing flows:

BCNR and form 149:
Review_your_answers___How_to_Apply_for_A_Discharge_Upgrade___Veterans_Affairs

BCMR and form 149:
Review_your_answers___How_to_Apply_for_A_Discharge_Upgrade___Veterans_Affairs

DRB and form 293:
Review_your_answers___How_to_Apply_for_A_Discharge_Upgrade___Veterans_Affairs

Screenshots

Some example screenshots

BCNR
BCMR
DRB
Air Force Portal

What areas of the site does it impact?

DUW

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)

@va-vfs-bot va-vfs-bot temporarily deployed to master/16917-duw-results/main July 3, 2024 19:30 Inactive
@va-vfs-bot va-vfs-bot temporarily deployed to master/16917-duw-results/main July 3, 2024 20:47 Inactive
@va-vfs-bot va-vfs-bot temporarily deployed to master/16917-duw-results/main July 5, 2024 07:43 Inactive
@chriskim2311 chriskim2311 marked this pull request as ready for review July 5, 2024 16:24
@chriskim2311 chriskim2311 requested review from a team as code owners July 5, 2024 16:24
@laflannery
Copy link

@chriskim2311 I think I did an Airforce flow that wasn't in your examples and got a summary with a typo:

  • Screenshot of my Review screen with the answers I chose
    image

  • Summary with typo:
    image

@chriskim2311
Copy link
Contributor Author

@laflannery Nice catch this is a prod bug as well I will go ahead and update for both wizards.

@va-vfs-bot va-vfs-bot temporarily deployed to master/16917-duw-results/main July 5, 2024 21:09 Inactive
Copy link
Contributor

@randimays randimays left a comment

Choose a reason for hiding this comment

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

Reminder to add the initial URL used for testing (/discharge-upgrade-instructions/introduction) into the PR description, and the Mural used for the logic.

@@ -62,7 +62,7 @@ export const board = (formValues, noDRB) => {

if (formValues['1_branchOfService'] === 'airForce') {
return {
name: 'Air Force Review Boards Agency (AFDRB) for the Air Force',
name: 'Air Force Review Boards Agency (AFDRB)',
Copy link
Contributor

Choose a reason for hiding this comment

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

I asked Fran about removing this redundancy when I made a content change in May. I don't think we got confirmation that it should be removed.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@FranECross Wondering if this redundancy can be removed? On prod it reads Air Force Review Boards Agency (AFDRB) for the Air Force for the Air Force

Copy link
Contributor

Choose a reason for hiding this comment

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

Oh I didn't realize the last four words were actually repeated. I just thought it said Air Force Review Boards Agency (AFDRB) for the Air Force (which is redundant too)

src/applications/discharge-wizard/helpers/index.jsx Outdated Show resolved Hide resolved
src/applications/discharge-wizard/helpers/index.jsx Outdated Show resolved Hide resolved
@va-vfs-bot va-vfs-bot temporarily deployed to master/16917-duw-results/main July 8, 2024 22:53 Inactive
@va-vfs-bot va-vfs-bot temporarily deployed to master/16917-duw-results/main July 9, 2024 16:16 Inactive
Copy link
Contributor

@randimays randimays left a comment

Choose a reason for hiding this comment

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

LGTM

@chriskim2311 chriskim2311 merged commit 6a8f9de into main Jul 10, 2024
79 of 80 checks passed
@chriskim2311 chriskim2311 deleted the 16917-duw-results branch July 10, 2024 19:16
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.

4 participants