weather-gov / weather.gov

weather.gov 2.0
Other
326 stars 7 forks source link

Content dashboard: Draft status column #1272

Open kmranjo opened 2 months ago

kmranjo commented 2 months ago

To allow users to better understand at a glance what the available versions and status is of any item, we would like to add a column to the content dashboard with the header Draft status

Background

Any version of content that is saved but not published is a draft. On the back end, the system will recognize this as a revision where publication status = unpublished. But to users, it will be easiest to refer to these as drafts. In the dashboard, there should be a column for Draft Status for each item of content so that users can understand the full state.

Draft statuses

[Blank] - -
Condition: If the content was created, published, and no further changes have been made. Indicates there is no draft for this item.

Saved [date/time] Condition: If the content (either the original or a new draft version) has been created and saved but NOT published or scheduled. Indicates an active draft exists for this item.

Scheduled for [date/time] Condition: If the content (either the original or a new draft) has been scheduled to publish at a future time. Indicates this draft will be publishing at the noted date/time, either for the first time or replacing the currently live version if there is one.

loganmcdonald-noaa commented 2 months ago

Pushed this back to lower priority and returned to backlog. It's a bit complicated given there is no way to do this in the view without hooking into it. Should revisit when we next look at draft status.

colinmurphy01 commented 1 month ago

Moving this to Next when we tackle CMS enhancements again