Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Details View → Page #50390

Closed
Tracked by #33094
mtias opened this issue May 5, 2023 · 10 comments
Closed
Tracked by #33094

Details View → Page #50390

mtias opened this issue May 5, 2023 · 10 comments
Labels
[Feature] Site Editor Related to the overarching Site Editor (formerly "full site editing")

Comments

@mtias
Copy link
Member

mtias commented May 5, 2023

The page details panel in the site editor currently contains a permalink and generic description:

Screenshot 2023-05-05 at 16 04 00

This panel could be more useful if we surfaced page details and pathways to edit them:

  • Featured image.
  • Excerpt.
  • Title (should be editable)
  • Slug / URL (should be editable).
  • Published and modified date at the bottom (next to save action).
  • Template (only if there are more than just the default page template).

Special pages may need unique treatments:

  • Homepage (displays posts)
  • Static home page
    • Posts page

Ellipsis actions (next to Edit button)

  • Delete
  • Duplicate

Mockup

Here's an updated design with a couple of additional details:

Page
@mtias mtias mentioned this issue May 5, 2023
57 tasks
@richtabor richtabor added the Needs Design Needs design efforts. label May 5, 2023
@jasmussen jasmussen moved this to Needs design, or refresh in 6.3 Design May 8, 2023
@mtias mtias changed the title Details View: Page Details View → Page May 8, 2023
@SaxonF
Copy link
Contributor

SaxonF commented May 9, 2023

image

The page detail panel offers a great space to provide a quick view into the makeup and performance of a page. We’ll start simple with the most basic of information (e.g. treated similar to OG link previews) but should also design it such a way that allows for extension by plugins (e.g. page statistics).

We can take some inspiration from other tools that give you an insight into a document/record/file e.g. finder or Craft

image

image

  • Show day was first published if published
  • OR show day draft was first created if not published
  • Show featured image if it exists
  • Show post excerpt if it exists
  • Show’s which template a page is currently using. Clicking on the template name takes you to the template details panel.
  • Clicking back on the template details panel takes you back to the page panel
  • Secondary actions include “Delete” and “Duplicate” which can be accessed via a DropdownMenu ellipsis next to edit

As we build this view out, along with any other view on the dark canvas, we should ideally by updating any primitive components to make use of the new theme provider .

@mtias I've purposely stripped this right back for 6.3 which means read only, no editing. We have a bit of work to do around componentry, mixing read vs write info (e.g. plugins), and how we handle localised saving which makes editing certain fields a bit more complicated. Thoughts on creating follow-up issues for any high level editing needs as we come across them?

@jameskoster
Copy link
Contributor

Here's an updated design with a couple of additional details:

Page

I removed the excerpt affordance as (afaik) pages do not make use of them in the same way as posts. Easy to add back if needed.

@WordPress/gutenberg-design what do you think? Is this one ready for dev?

@jameskoster jameskoster moved this from Needs design, or refresh to Needs feedback in 6.3 Design May 18, 2023
@paaljoachim
Copy link
Contributor

paaljoachim commented May 18, 2023

I got to say that this looks great!
Being able to drill down into a page and later on posts and seeing the most important things is very helpful!
Personally I would not care about time to read in a page. Perhaps I would in a post.

What is important here is status.
Featured image if the page has one. Might just not have one as it is not needed for a page.
Details.
Template, Parent, Words, Time to read.

Last modified is very helpful.

All in all this is very very nice!

@SaxonF
Copy link
Contributor

SaxonF commented May 19, 2023

@jameskoster development has already started :)

@jasmussen jasmussen added Needs Dev Ready for, and needs developer efforts [Feature] Site Editor Related to the overarching Site Editor (formerly "full site editing") and removed Needs Design Needs design efforts. labels May 19, 2023
@jasmussen jasmussen moved this from Needs feedback to Needs dev in 6.3 Design May 19, 2023
@jasmussen jasmussen moved this from 🎨 Needs design to 🏗 In progress in Gutenberg Phase 2: Customization May 19, 2023
@jasmussen
Copy link
Contributor

Since it's already underway, I've triaged it as such 🚀

@jameskoster
Copy link
Contributor

Being able to drill down into a page and later on posts and seeing the most important things is very helpful!
Personally I would not care about time to read in a page. Perhaps I would in a post.

Yeah some of the details feel foundational while others (like time to read, word count) will be more subjective.

Outside of the foundational items, it might be worth exploring toggle-ability of some of the less-important details. Kind of like the "Screen options" affordance in wp-admin.

@jasmussen
Copy link
Contributor

Outside of the foundational items, it might be worth exploring toggle-ability of some of the less-important details. Kind of like the "Screen options" affordance in wp-admin.

Always an option, but also an option I would punt until we have a high degree of polish and solidity of the initial items, so we get a higher confidence in what to keep vs. what to remove.

@jameskoster
Copy link
Contributor

Yup, definitely something to look into later.

@ramonjd
Copy link
Member

ramonjd commented May 31, 2023

I think we can close this now that #50767 is merged?

There's a minor follow up to refactor a few things, but it's only code-related and the UI/UX isn't changing.

Feel free to reopen if there are outstanding issues related to the page details view.

@ramonjd ramonjd closed this as completed May 31, 2023
@github-project-automation github-project-automation bot moved this from 🏗 In progress to ✅ Done in Gutenberg Phase 2: Customization May 31, 2023
@mtias
Copy link
Member Author

mtias commented May 31, 2023

Sounds good to close, we'll have smaller follow ups to do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Site Editor Related to the overarching Site Editor (formerly "full site editing")
Projects
Status: Done
Status: Done
Development

No branches or pull requests

8 participants