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

CMS: Add entity reference field to replace Other VA Locations #12004

Open JayDarnell opened 1 year ago

JayDarnell commented 1 year ago

User Story or Problem Statement

Relates to #11829

Due to the way the Other VA Locations field (and related front end logic) is currently built we can end up in a situation where values are provided for this field but the front end will display a blank section containing only the header. This happens due to the following:

Note: we cannot really do anything about this until the CMS is the source of truth for all facilities referenced by this field. Once it is we should create a new entity reference field to replace the existing plain text field, run a script to move the data to the new field, update the front end to use this new data and then remove the old field.

Acceptance Criteria

Design principles

Veteran-centered

Editor-centered

CMS Team

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

JayDarnell commented 1 year ago

I have created a corresponding FE ticket #12005 - More tickets may be needed to coordinate the switching of data from the old field to the new and changing the visibility of the old and new fields with the release of the front end change to support the new field.