LG-13691: Standardize PIV/CAC terminology#10969
Conversation
78476db to
15ea50c
Compare
|
Returning to a draft PR to address logic change for error steps (sign in vs. authentication) and cleanup |
|
Updated screen shots as discussed in this acceptance thread Error state: PIV is not associated with an account page with updated button
Add your PIV/CAC screen with updated button text
Error stage page with updated button
|
| <div class="margin-top-4"> | ||
| <%= link_to t('instructions.mfa.piv_cac.back_to_sign_in'), root_url, class: 'usa-button' %> | ||
| </div> |
There was a problem hiding this comment.
While we're here, I think we should fix up the fact that this button is the incorrect size and spacing relative to the preceding paragraph. The designs linked to the ticket also have the button in the correct size.
Compare:
| Your Screenshots | Figma Reference Design |
|---|---|
![]() |
![]() |
| <div class="margin-top-4"> | |
| <%= link_to t('instructions.mfa.piv_cac.back_to_sign_in'), root_url, class: 'usa-button' %> | |
| </div> | |
| <%= render ButtonComponent.new( | |
| url: new_user_session_url, | |
| big: true, | |
| wide: true, | |
| class: 'display-block margin-top-5' | |
| ).with_content(t('instructions.mfa.piv_cac.back_to_sign_in')) %> |
There was a problem hiding this comment.
Got it. I made a few additional changes to the suggestion-- I removed the display-block class and then took a bit off the margin-top of the button so that the distance between the paragraph and the button is at 40px.
<%= render ButtonComponent.new(
url: new_user_session_url,
big: true,
wide: true,
class: 'margin-top-3'
).with_content(t('instructions.mfa.piv_cac.back_to_sign_in')) %>| <%= render ButtonComponent.new( | ||
| url: setup_piv_cac_url, | ||
| class: 'usa-button margin-top-2', |
There was a problem hiding this comment.
Same note here about using the correct button size (big & wide). Also, ButtonComponent handles adding the usa-button class, so we don't need to add it.
| <%= render ButtonComponent.new( | |
| url: setup_piv_cac_url, | |
| class: 'usa-button margin-top-2', | |
| <%= render ButtonComponent.new( | |
| url: setup_piv_cac_url, | |
| big: true, | |
| wide: true, | |
| class: 'margin-top-2', |
There was a problem hiding this comment.
I think that might be a mistake in the Figma designs, since these page layouts typically use the "wide" button variant. Could you get some clarification from UX people on the team?
Co-authored-by: Andrew Duthie <1779930+aduth@users.noreply.github.com>
Co-authored-by: Andrew Duthie <1779930+aduth@users.noreply.github.com>
Co-authored-by: Andrew Duthie <1779930+aduth@users.noreply.github.com>
28b0792 to
23d8cce
Compare
















🎫 Ticket
Link to the relevant ticket:
LG-13691
🛠 Summary of changes
This PR standardizes the use of "Government employee ID" and "PIV/CAC" throughout the application.
📜 Testing Plan
On account creation
When adding a PIV card
After the successful setup of a PIV card
When signing in with a PIV/CAC
Error state: logging in with PIV not connected to an account
Error state: User tries to register PIV card, no certificate is available
Note: Can be done on an existing account or during account creation. The instructions below is for the account creation flow
.govor.milemail address, follow steps to create an accountSidebar on "Your account" page
Requirement: An existing account
Banner after PIV is added to account
Requirement: An existing account