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
281 stars 198 forks source link

[FE] 10-10CG - Facilities selection: Search Results and "show more" link #70846

Open hdjustice opened 9 months ago

hdjustice commented 9 months ago

Background

To improve the Facility Selection experience, we are implementing new functionality to allow users to input their city, state or postal code and get a list of results from which they can choose. We need to create the results list that contains radio cards to allow for the selection of a single facility.

The cards should contain the facility name and address as shown in the Sketch designs listed below. Based on consultation with design system and accessibility experts, we can omit any pagination for this list. We should show all results on the same screen.

NOTE: To get appropriate styling between the facility name and facility description, we may need to request for the Design System team to add a CSS part attribute to that markup in the web component to allow us to target those items for styling.

Resources

Tasks

Acceptance Criteria

hdjustice commented 1 month ago

Update design links @hdjustice

hdjustice commented 1 month ago

design links updated

coope93 commented 2 days ago

Looking into an issue @allanto-ah found in regards to the facilities api returns a 500 error when the facilities list that is returned is nil.