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
282 stars 203 forks source link

Multiple Page List & Loop Pattern Summary Page Text Overrides #89286

Closed ToddWebDev closed 1 month ago

ToddWebDev commented 2 months ago

Feature Enhancement Ticket

Title: Enhance Multiple Page List & Loop Pattern Summary Page Text Overrides

Description: The Array Builder Pattern(Multiple responses list & loop) pattern summary page has a text override for 'summaryTitle'. This text override displays when the array has items. Some implementations may want to override the title text and description(with string or JSX) when the array does not have any items. For example, the Pension Benefits form would like to implement the summary page without items with a custom title and description.

Examples:

PensionBenefitsSummaryPage.png

Priority: [Low][Medium][High]

Dependencies: Array Builder Pattern(Multiple responses list & loop)

Acceptance Criteria: The arrayBuilderPatternSummaryPage should include an 'arrayBuilderSummaryTitleUI(...)' pattern that can be used on the summary page as the first page. This title pattern should include:

Testing Instructions: All existing unit tests pass Summary page is updated to work with custom 'arrayBuilderSummaryTitleUI pattern for Accessibility

Additional Notes:

aplatt-coforma commented 2 months ago

Hey team! Please add your planning poker estimate with Zenhub @danlim715 @TaiWilkin @ToddWebDev @wayne-weibel