-
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
[WIP] Move title to header toolbar #31288
base: trunk
Are you sure you want to change the base?
Conversation
Size Change: +758 B (0%) Total Size: 1.07 MB
ℹ️ View Unchanged
|
2a0db0d
to
03ce5b9
Compare
This is what I see: Title-in-top-bar.mp4Should the top bar title be centered in the top bar area? |
Hey Kerry @gwwar , Joen @jasmussen and George @Mamaduka |
Hi, Paal @paaljoachim As far as I can tell, this is still a work in progress. But will be happy to review/test once it reaches the first stable point. |
I have a lot of work on my plate the next couple of days, so I'll like be unable to resume work on this until at least Friday 14/5. Contributions, suggestions and/or advice on what's already here is welcome. I think we could reuse the |
Based on some recent issues and my general knowledge, duplication is sometimes better than early abstraction. |
I'll ping a few folks who have worked/work on Full Site Editing who can give some advice. |
^^ This. We have heard this a lot when moving existing edit-post functionality to edit-site. So I wouldn't worry too much about copying the edit-site component code or moving it to another package to share. Its probably best to just implement this in edit-post for now and we can always consolidate later if the need arises. |
It would be great to get some movement on this PR! |
6f0de99
to
4fee83e
Compare
This is what I see using Chrome and a local test site using Twenty Nineteen. Title-top-bar.mp4Title-top-bar-remove-title-shows-loading.mp4 |
Status-update (see the issue):
Obviously, having to duplicate code from some Site Editor components is less than ideal. In the future, it might make sense to have both editors use the same components for this, but I'm not familiar enough with the way that should work on an architectural level. If this is a priority, I'd like some feedback on that. Like I said, I still need to go over some of the styling rules. Right now I've used some rules from the Edit: @paaljoachim, I fixed the loading... issue as well. |
This is a lot better @vdwijngaert Koen! Title-top-bar.mp4 |
Description
This PR gives a go at moving the management of the entity title to the header toolbar area, as described in #27093.
How has this been tested?
Screenshots
Types of changes
Checklist:
*.native.js
files for terms that need renaming or removal).