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
99 stars 68 forks source link

Drupal UX debt: Lovell menu, breadcrumbs, and links #12334

Open Dottisea opened 1 year ago

Dottisea commented 1 year ago

User story

As a Lovell editor, I would like the sidebar menu to represent accurately the hierarchy of the content, rather than having items in the "Lovell Federal health care" take a VA link and breadcrumb structure.

Screenshot of problem

Screen Shot 2023-01-26 at 11 38 25 AM

Acceptance Criteria

Background information

Steve Wirt wrote in Slack:

  1. It might be helpful to editors to surface the url to federal pages as separate from VA. It would mean that each node that is supposed to be in both would end up with three aliases instead of two. ( a relatively light lift that might reduce editorial confusion for why a page with a VA url is present in their TRICARE menu) 2) we need to Make sure every node has been saved by hand so that the alias manipulation properly kicks in (it does not fire on bulk save, bulk alias update, bulk publish)
omahane commented 1 year ago

I have already done a first pass at this to make sure that all the "Lovell Federal health care" items have the proper URL on Prod. I have tracked this work on a Google Sheet.

omahane commented 1 year ago

@ryguyk, @JayDarnell and I discussed this issue again while going over the Lovell menu in the Drupal CMS. We all agree that there is a UX problem with the sidebar menu. We think it would make more sense to use a "Lovell Federal health care" url alias when that is the content's section. What's not clear is where breadcrumb links of the "Lovell Federal health care" should go. We are also not clear how much this UX debt is an issue for editors. We also discussed how because this content is on the va.gov website, that the decision to make VA the default link and breadcrumb is justified. It's also confusing, especially when you don't know the following about Lovell content on Drupal:

*There are exceptions to this:

mmiddaugh commented 10 months ago

Updated 10/2023 (CMS Content Model Documentation)

NEW: For nodes that are not in any menu: AP recently changed this logic. Now, nodes in no menu are handled via a Drupal module, Easy Breadcrumb, which makes breadcrumbs available in the JSON:API.

Two modules were added to the CMS