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 69 forks source link

Improve display of centralized content on local content where it is embedded #4055

Open kevwalsh opened 3 years ago

kevwalsh commented 3 years ago

Original ticket

As an editor of local content i can see the content moderation state of centralized content.

Notes by @davidmpickett

I'm not sure exactly what the original intent was here, but I do think there is a pretty good example of the pattern we should generally follow for Centralized Content embedded in local content that gets to the spirit of it.

On Vet Center nodes, there are several gray boxes where Centralized Content is displayed but can't be edited. When you go to edit this node, these gray boxes will get a clickable timestamp added to the lower right hand corner.

screencapture-prod-cms-va-gov-node-3783-edit-2023-09-18-17_54_54

Local editors can click through and see the current revision and a history of changes (including content moderation states).

screencapture-staging-cms-va-gov-centralized-content-national-vet-center-content-2023-09-18-18_07_08

Steps to reproduce

However, these clickable timestamps don't appear

screencapture-staging-cms-va-gov-node-45682-edit-2023-09-18-18_22_42

Possible path forward

swirtSJW commented 1 year ago

I think the intent was to show pink if the centralized content node has never been published.

swirtSJW commented 1 year ago

It is already pretty standard as the module offers this out of the box as an option for the "edit" version of the content. image