Skip to content

Feature Request: Add support for "Draft" status visual indicator in Pages list #2512

Description

@jackM57

Description
Currently, the admin interface only visually distinguishes between published: true (green) and published: false (red/grey). However, many users use a draft: true metadata or header property to keep a page published (for preview purposes) but marked as "in progress". It would be very helpful to have a distinct visual indicator (e.g., an orange badge) for this state.

Proposed Solution
Add a native "Draft" state recognition in the Pages list. If a page has draft: true in its frontmatter:

The status badge should turn orange instead of green.

This should work even if published is set to true (allowing for live previews while clearly signaling the draft status to editors).

Why this is useful
For blogs and long-form essays, writers often need to preview their work in the live theme without it being considered "final". The current binary color system makes it hard to distinguish at a glance which pages are truly finished and which ones are still being polished.

Additional context
This could be implemented by checking for a draft property in the page header and adding a .status-draft class to the row in the admin list.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions