Skip to content

Data views: Expanding quick-actions for Pages #55628

@jameskoster

Description

@jameskoster
page quick actions

#55488 enables 'quick actions' in data views. For pages this initially includes primary actions; View, Trash, and the secondary actions: Edit and View revisions.

We can expand upon this by adding:

  • Edit Title – opens a modal similar to renaming a template or pattern
  • Edit slug – opens a modal with contents similar to the slug editing popover in the post editor
  • Edit status – opens a flyout with status options
  • Edit author – opens a flyout with scrollable & searchable list of authors
  • Edit publish date - opens a modal with a datepicker like in the post editor
  • Disable/Enable comments
  • Swap template – opens the same modal you find when editing a page in the site editor
  • Edit visibility – opens a modal with a similar UI to the 'Visibility' popover in the post editor
  • Edit page parent – opens a flyout with scrollable & searchable list of pages

I suspect much of the design work can occur alongside PR's. But if there's anything we need to dive deeper on before work begins let me know @ntsekouras.

It's also worth noting that the modals here could also potentially be opened when clicking values in table views (#55101), and when performing bulk actions (#55098).

cc @WordPress/gutenberg-design for further feedback.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs Design FeedbackNeeds general design feedback.[Feature] DataViewsWork surrounding upgrading and evolving views in the site editor and beyond[Type] EnhancementA suggestion for improvement.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions