-
Notifications
You must be signed in to change notification settings - Fork 0
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
Updating the existing Prefill alert content component #262
Comments
Also for reference the existing content that is shown now in production is
|
The new language should match what we've updated on the engagement messages page I believe which I've included below.
However reviewing the usage of the prefill content component I believe this is the one that often shows on the step page NOT the intro page, and we have updated our guidance to REMOVE the step page alert afaik, is that correct @kristen101606? |
We're going to investigate the usage of prefill alert component on intro pages, and suggest deprecation for step-page prefill alert.
When to useWhen prefilling information from the user’s profile. These messages communicate to the user that their profile information has been leveraged to pre-populate the form that they are filling out and informs the user that their progress will be saved as they complete the form. When to consider something elseUnauthenticated users. Users who are unauthenticated should not see this message as we cannot use their profile data to prefill the form. How this component worksUses Alert - Informational. This component is an instance of the Alert - Informational component, with specific per-determined content. PlacementThis component appears after the subtitle of the form and before the action link to start the form process on the authenticated variation of the Form - Introduction page. |
Apps that are using
|
I created a new ticket to address updating the prefill page in VADS #273 |
Let's pivot this task to more of a discovery/spike task and use the new one for implementation. I'll close this one out. |
User Story
As a member of the AEDP team I want to update the existing content component so that it follows our updated pattern.
Steps
In the PrefillMessage.jsx component:
div
withusa-alert
classes.Deliverables
Acceptance Criteria
Questions & Considerations
The current prefill alert content in our pattern docs is:
However, this text may not fit every use case. The main issues are:
"All updates will be made only to this form"
This may not always be true if the application is using the update functionality that pushes back to the profile.
"You can select edit below"
This statement assumes the use of cards (as per our pattern), but some forms just prefill fields directly without using cards. In these cases, the language around "select edit below" may not be applicable.
Proposed Solution
We could create language variants based on a specific prop to ensure the correct message is displayed depending on the use case. For ex: if the form is prefilled with fields rather than cards, the language should reflect that. The existing language could be the default unless a specific prop value triggers an alternate message.
We need to appropriate language thats covers the following scenarios:
Review needed by
Definition of Done
The text was updated successfully, but these errors were encountered: