Service locations render in confusing ways when no name is provided. #7416
Labels
Drupal engineering
CMS team practice area
Facilities
Facilities products (VAMC, Vet Center, etc)
Needs refining
Issue status
Regional office
CMS managed VBA product owned by the Facilities team
sitewide
VA.gov frontend
CMS team practice area
VAMC
CMS managed product owned by Facilities team
Description
Service locations (for both health services and non-clinical services) render in interesting ways when no name is provided, particularly when multiple service locations exist at a single facility.
Here is an example from production (as it stands currently) with multiple service locations at a single facility:
And, with annotations:
Here is the same data as it will appear with the new logic for displaying service location address (or, in this case, not displaying service location address when "use facility address" box is checked. see #7339):
Acceptance Criteria
On the front end, there should likely be some default header in the case when no name is provided for a service location. This would have two major outcomes:
It was first discussed whether this name field should be required in the CMS, but this feels less than desirable in the scenario where there is only one service location at a given facility, and this scenario seems like it's the rule more than the exception. This led to the idea that a FE default might be a good solution, at least temporarily. It would be temporary if it is decided that the best solution is some extended CMS logic that would potentially require names for service locations if, for example, multiple locations exist. It would otherwise be permanent.
https://dsva.slack.com/archives/CT4GZBM8F/p1640632587107500?thread_ts=1640631116.105000&cid=CT4GZBM8F
The text was updated successfully, but these errors were encountered: