Adding Post Status Feature (Draft/Published) - #78
Conversation
… include status field
|
How it's different than |
|
@MrPunyapal status enums is for editorial workflow & content state. It stores the current editorial state of the content. Use case: "This post is still being written" vs "This post is ready for the public". Draft: Content is incomplete, under review, or not ready So i think its needed; and if we see the project scope, published_at is used in PostBuilder::published() to filter posts, status is now available but not yet used in queries, but could be used in many cases (example: ensures posts are only shown when they're both published (status) AND the time has arrived (published_at))... Thank you! |
|
Maybe we can have an active inactive kind of enum? or is_active. What are your thoughts? @MohcinBN |
We adds a new "status" field to posts, allowing them to be marked as either Draft or Published.