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

[CONSIDER] Revisit logic governing "Other nearby VA locations" on VAMC pages #13896

Open mmiddaugh opened 3 years ago

mmiddaugh commented 3 years ago

Issue Description

The locations listed under "Other nearby VA locations" on VAMC system level Locations pages are currently handled manually by editors which means they are inconsistent, at best. The process also is neither intuitive or in line with our modernization efforts. The editor is prompted to visit the facility's detail page via the Facility Locator to pull the facility ID. Facility Locator detail pages are redirected once a modernized page is published. Modernized pages exist for VA health facilities and Vet Centers (and will soon for VBA Regional offices).

We may want to handle this automagically, as we do on Vet Centers and Regional office pages.

We may want to take this opportunity to uses graphQL queries and liquid templates to display the new entity reference

Screenshot

Screenshot image.png

Related

Examples: By comparison, the Locations page for Washington DC health care includes only 4 Vet Centers (ranging from 1 - 13 miles away) despite the presence of

Greater Los Angeles health care also lists only Vet Centers (8) despite the presence of a National cemetery and a Regional Office within a mile.

Screenshots

Screenshot - Pittsburgh Locations page ![image](https://user-images.githubusercontent.com/55411834/98846150-ec24b180-240b-11eb-92aa-004a6379044e.png)
Screenshot - Washington DC Locations page ![image.png](https://images.zenhubusercontent.com/5d8a47393ac3440001d1a2ed/8f29ffdd-9eea-424f-b12b-acf0b9f1db0f)
Screenshot - Greater Los Angeles Locations page ![image.png](https://images.zenhubusercontent.com/5d8a47393ac3440001d1a2ed/c6164003-1870-4c31-ad68-6082652573f3)

Engineering notes


Tasks

mmiddaugh commented 1 year ago

May make sense to do along with Update Other nearby locations directions link with sr-only solution #14309

jilladams commented 1 year ago

From refinement: Other Locations on VAMC Systems are manually entered: https://prod.cms.va.gov/node/318/edit

This is an editor management issue, right now.

Noting: Vet Center "Other nearby VA locations" behaves differently. It's build programmatically, and not manually entered.

In the future, when hardening VAMCs, we may want to revisit the logic for how this is handled and make this programmatic as well. For VBA, we also want to make that programmatic.

jilladams commented 1 year ago

Other locations where this applies: