-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Update the site hub to show the page title and the template title #47140
Conversation
My personal feeling is that it's:
That said, I'm happy to disagree and commit. |
Size Change: +78 B (0%) Total Size: 1.33 MB
ℹ️ View Unchanged
|
I think so yes. |
I still don't consider this a blocker personally, but I explored it a bit more anyway. None of these designs feel right, but sharing in case they inspire: Text labelThis feels too noisy, and we'd run into issues with long titles / localisation IconsI'm not keen on the small icons which break the existing sizing convention, but I already had to increase the general dimensions to make this work visually so would consider this a maximum. Also not entirely sure the icons are intuitive enough... they're ok for delineating templates from template parts, but posts from pages? This approach could also get tricky with duplicate taxonomy names for different post types, and custom post types in general. TooltipsI suppose this could be a low-risk short-term solution. But it might interfere with interactions we want to add to the site hub in the future (e.g. Invoking a global search, viewing the frontend, etc). As I said, none of these feel right. Imo we can merge this, and address this detail in a follow-up if/when the need arises. |
Ok how should we proceed here? Merge? Add the site title when there's no "content"? |
I'd avoid icons for the time being. I also tend to lean towards #47140 (comment) that we might want to pause this PR until we're a bit further with the role of the site hub. Something like figuring out where the global save button exists, that seems a tough nut to crack on its own, and might inform what we show as far as titles. Not a strong opinion. |
Closing this as the design has evolved already. |
Related #36667
What?
This PR updates the site hub to show the "page title" and "template title" instead of the "template title" and "template type" per suggestion from @jameskoster
Testing Instructions
1- Open the site editor
2- Navigate it and check how the content of the site hub changes.