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
97 stars 69 forks source link

Facility Locator card display changes when changing Facility Type filter #13651

Open ryguyk opened 1 year ago

ryguyk commented 1 year ago

This is likely low priority.

Describe the defect

On the Facility Locator, search-result cards are changing when the "Facility type" filter is changed before the "Search" button is clicked:

To Reproduce

Steps to reproduce the behavior:

  1. Go to https://staging.va.gov/find-locations/
  2. Search (click Search button): image
  3. Note Covid-19 operating status in results: image
  4. Change "Facility type" (do not click Search button): image
  5. Note Covid-19 operating status disappears: image

AC / Expected behavior

Since the "Search" button has not yet been clicked, the results should not be adjusted. It might make sense that result cards display operating status for "VA health" facilities and not "Community providers", but the search results do not change until the "Search" button is actually clicked, so the cards being displayed should not be changed until the new search is submitted.

Screenshots

See above.

Team

Please check the team(s) that will do this work.

jilladams commented 1 year ago

@eselkin FYI this has been discussed as a potentially good candidate for a first coding task for you once your onboarding paperwork is done and your environment is ready. We'll discuss more in sprint planning.