Skip to content

DataViews for Posts, Categories and Tags #62371

Open

Description

Similarly to the pages, patterns and templates pages in the site editor, we should explore how we can leverage the same DataViews UIs, frame, editor, navigation... to power the Posts section of WP-Admin as part of the Admin redesign project.

There are a lot of challenges here:

  • Reusing the "pages" dataviews without duplicating all the code.
  • Reusing the site editor shell, navigation menus and routing logic
  • Generating forms for categories and tags creation and modification without necessarily creating custom code DataForm component #59745
  • Extensibility DataViews: Extensibility #61084
  • Backward compatibility
  • Transition

There's a lot to cover and a lot of uncertainties, for these reasons, I'm proposing that we start a new experimental page in the Gutenberg plugin, where we explore a new page that could serve as a playground to explore these ideas and address all the blockers.

Task list:

  • Bootstrap a site-editor like shell Bootstrap the dashboard layout #62409
  • Add the "posts" dataviews page. (@ntsekouras)
  • Add the "categories" dataviews page.
  • Add the "tags" dataviews page.
  • Leverage DataViews forms to implement "Add new category" and "Add new tag" (and edit forms as well)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Needs DesignNeeds design efforts.[Feature] DataViewsWork surrounding upgrading and evolving views in the site editor and beyond[Feature] Posts/Tags/Categories ScreenBringing Data Views to Posts, Categories and Tags alongside their own Forms/Editors.[Type] Tracking IssueTactical breakdown of efforts across the codebase and/or tied to Overview issues.

    Type

    No type

    Projects

    • Status

      🏈 Punted to 6.8

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions