department-of-veterans-affairs / va.gov-cms

Editor-centered management for Veteran-centered content.
https://prod.cms.va.gov
GNU General Public License v2.0
99 stars 69 forks source link

Build new Facility Locator search by state results #15300

Open xiongjaneg opened 1 year ago

xiongjaneg commented 1 year ago

User Story or Problem Statement

As a Veteran, I want to be able to find VA locations in my state.

Final designs

https://www.sketch.com/s/d5e5c924-e8c0-47af-b3e4-994c335d6f31

Description or Additional Context

Facility Locator will be updated to search by state.

Currently, under the map, there is a link: Can’t find what you’re looking for? Try using our other tools to search. This links to a state by state listing of all VA facility types.

The updated search will include a link under the map that goes to a new search by state page that includes state and facility type.

Screenshot 2023-08-22 at 4 25 08 PM Screenshot 2023-08-22 at 4 25 38 PM

This front end of this new page can be built as hard coded lorem if API work needs to be done in #14915 first, before connecting the data to this front end.

Acceptance Criteria

mmiddaugh commented 1 year ago

Suggestions for functional behavior acceptance criteria (not sure if they belong here or https://github.com/department-of-veterans-affairs/va.gov-cms/issues/14916 - please adjust as needed)

@thejordanwood @davidmpickett

Questions about the "Search results list for the "Browse VA locations in each state" search experience

thejordanwood commented 1 year ago

@mmiddaugh

  1. What is the expected sort order for search results?

I think we should sort these alphabetically and have 10 results per page. The current Facility Locator search lists 10 per page, so we can keep these consistent.

  1. Do we need to provide a way for the Veteran to return to the main Facility Locator search experience?

In my current mockups, there is a breadcrumb that will take users back to the Facility Locator search. On the state search page, the link at the bottom will change from "Browse VA locations in each state" (linking to state search) to "Browse VA locations near you" (linking back to Facility Locator).

If we want to make the link more obvious, we can put one in the copy under the "Browse Va locations in each state" header.

Screenshot 2023-09-20 at 11 54 14 AM
mmiddaugh commented 1 year ago

@xiongjaneg we will want to ensure the new functionality is wired for analytics - should this be a separate issue?