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

FE Tech Debt: Facility Locator Covid status cleanup #12014

Closed ryguyk closed 1 year ago

ryguyk commented 1 year ago

Description

11794 changes the Covid status to no longer be expandable. The PR to accomplish that makes a very simple change to move from an expandable alert to a standard alert. But this change actually has bigger implications. The information that we are no longer displaying was the result of a fair amount of processing that includes fetching a static data file and displaying information from that file according to the Covid status level at a particular facility. That processing is no longer needed.

What needs to be done:

  1. The static data file is no longer needed. The only thing still being used from it is the name field, and we can hard-code that (see step 2 below). All of the code that fetches and processes this data file should be removed.
  2. Hard-code the alert message based on the status level.

Acceptance Criteria

CMS Team

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

JQuaggles commented 1 year ago

Pulled into the Sprint