department-of-veterans-affairs / vets-design-system-documentation

Repository for design.va.gov website
https://design.va.gov
37 stars 57 forks source link

Breadcrumbs - Update breadcrumbs.html liquid partial to use va-breadcrumbs #2945

Open micahchiang opened 2 months ago

micahchiang commented 2 months ago

Description

Applications on va.gov that rely on the page-react.html template have an inherent dependency on the breadcrumbs.html liquid partial. This partial relies on an unordered list to render breadcrumbs, and it needs to be updated to use va-breadcrumbs.

Initially, this ticket should be treated as a discovery ticket to determine whether or not v3 breadcrumbs can directly replace the existing logic. The concern here is that v3 breadcrumbs uses an array of objects to render individual crumbs, but the current implementation directly renders anchor tags itself.

Considerations

Tasks

Acceptance Criteria

caw310 commented 2 months ago

Hey team! Please add your planning poker estimate with Zenhub @Andrew565 @ataker @harshil1793 @it-harrison @jamigibbs @micahchiang @nickjg231 @powellkerry @rmessina1010 @rsmithadhoc

DLarson-Oddball commented 3 weeks ago

Hey team, is the wrapping attribute is being considered as part of this work?

My understanding is once this is released, teams will be able to configure breadcrumbs in content-build and they will be rendered with va-breadcrumbs. We have been updating the breadcrumbs on burials, and have to use some fairly long text, so the wrapping attribute is required to make content accessible.

We are currently working to understand if this will solve our desire to use va-breadcrumbs on burials, and still allow us to define the values in content-build (with the wrapping attribute enabled). Thanks!

Andrew565 commented 2 weeks ago

@DLarson-Oddball I'll make sure wrapping is enabled by default.