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

Typography Audit Issue: Discharge upgrade wizard #18082

Closed
3 tasks
laflannery opened this issue May 8, 2024 · 4 comments
Closed
3 tasks

Typography Audit Issue: Discharge upgrade wizard #18082

laflannery opened this issue May 8, 2024 · 4 comments
Assignees
Labels
Discharge wizard Product owned by Public Websites team Needs refining Issue status Public Websites Scrum team in the Sitewide crew VA.gov frontend CMS team practice area

Comments

@laflannery
Copy link
Contributor

Description

From Phase 1 of the Typography audit, we found 2 issues on the Discharge Upgrade Wizard:

  1. The labels of the questions on the typography PR do not match the styles currently on Prod. The reason we would like these to be what is on prod is so that each question/label gets the same font weight treatment and importance. It looks like the styles in the "dischage-wizard.scss" file aren't being picked up in the PR.
    image (6)
    image (7)

  2. There is also a max-width on the page in the PR that is coming from the

    however this isn't present on Prod. It's much more obvioius (and a bigger issue) on the review screen. Is there a reason the PR would have different markup than Prod?
    image (8)
    image (9)

Acceptance Criteria

  • Proper styles are applied to the wizard
  • The wizard is using the correct width
  • Requires design review
@laflannery laflannery added Needs refining Issue status VA.gov frontend CMS team practice area Public Websites Scrum team in the Sitewide crew labels May 8, 2024
@jilladams jilladams added the Discharge wizard Product owned by Public Websites team label May 9, 2024
@FranECross FranECross self-assigned this May 9, 2024
@FranECross
Copy link

@FranECross to message the DST folks to ask why markup is changing, and is that intended.

@randimays
Copy link
Contributor

I did some testing locally and here are my findings:

Label sizing issues

I figured out why the labels are behaving strangely. Since we're developing a new DUW app and supporting the old one in tandem, running the new app and old app in the local environment can be tricky. We have some logic in place that always sets up the page for the new DUW in all environments except production. But the routing behaves strangely because of this.

Old application URL (this is what lives in production): /discharge-upgrade-instructions
New application URL (this lives in all environments except production): /discharge-upgrade-instructions/introduction

Scenario 1:
If you run locally and go to /discharge-upgrade-instructions, you will get the page setup for the new application and the routing/components of the old application (Frankenstein).

Scenario 2:
If you run locally and go to /discharge-upgrade-instructions/introduction, you will get the page setup for the new application and the routing/components of the new application.

Scenario 3:
This is the only way to get the old application running correctly locally. Adjust the logic in this file: https://github.com/department-of-veterans-affairs/vets-website/blob/32c0f3872b0599af24ef5e0bcbeede146a78facf/src/applications/discharge-wizard/components/DischargeWizardApp.jsx#L10 to always return what is in the isProd block.

Ok cool but what does all this mean? DST does not need to take any action; what we are seeing is our own Frankenstein.

Page width issues

I have a PR open for the page width issues for DUW: department-of-veterans-affairs/vets-website#29694 I accidentally introduced some style problems when I took over Chris's DUW review page PR. Once we get that merged and DST pulls in those changes, they should be resolved in their branch; but we won't know until that happens.

@FranECross
Copy link

  • Closing as a no-op per comment above.
  • I see that Randi closed the loop with Micah in the Slack thread telling him they no longer need to look at this issue (thank you!).

@randimays
Copy link
Contributor

Closing per Fran's comment above

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Discharge wizard Product owned by Public Websites team Needs refining Issue status Public Websites Scrum team in the Sitewide crew VA.gov frontend CMS team practice area
Projects
None yet
Development

No branches or pull requests

4 participants