department-of-veterans-affairs / va.gov-team

Public resources for building on and in support of VA.gov. Visit complete Knowledge Hub:
https://depo-platform-documentation.scrollhelp.site/index.html
284 stars 206 forks source link

PrefName: Display prefName in auth menu when available #97411

Open wesrowe opened 1 week ago

wesrowe commented 1 week ago

Description

User story

As an authenticated user, I want the authenticated menu (header) to display my preferred name if I have entered one, so that I feel that the VA knows who I am.

Notes

Possible tasks:

Acceptance criteria

dcloud commented 1 week ago

Draft PR started with initial unit test.

dcloud commented 5 days ago

Failing e2e tests don't have anything to do with the sitewide header (seeing mhv-medications errors about prescription refills)… but the PR is platform/sitewide, so all tests get run.

Also, messaged public websites team about testing, ahead of putting any feature flag in place.