neardevhub-bos
neardevhub-bos copied to clipboard
Implement timestamps for blog posts (create, modify, and published)
Problem
Currently, blog posts lack timestamps for creation, modification, and publication, making it difficult for blog editors to track relevant information for edits.
User Story
As a blog editor/community admin, I want to see appropriate timestamps so that I can easily track the history and editorial process for each post.
Acceptance Criteria
- [x] Introduce 3 new timestamp (date and time) fields for each blog post (in UTC)
- [x] Created: Automatically set this to when the post is first created (Read Only)
- [x] Modified: Automatically update to the last time the post was edited (Read Only)
- [x] Published: Make this editable by the author. This should essentially be a "Visible Publish Date" field within the blog itself. And when the editor set this, the blog should treat this as the published date. So if the sorting is set to last published, treat this date as the source of truth. Not the creation or modification date. Note: Currently we say "Date" in the blog post, but we should change that to "Visible Publish Date".
- [x] Display all 3 timestamps on the blog posts dashboard screen (see new user story for it). Only display the published date in the blog edit mode & public facing published version.