-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Allow adding new templates and template parts directly from the sidebar #46458
Conversation
Size Change: -306 B (0%) Total Size: 1.32 MB
ℹ️ View Unchanged
|
b6685ec
to
4f6e407
Compare
@jasmussen wfm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
Whether in this PR or another, I think we need to revisit the hover/active states for some of these buttons as the colors disappear:
I tend to think a simple solution is to not have any hover or active states in this dark background context. Just keep it all white. We can always revisit.
@jasmussen 👍 I forced the color to be always white. |
Good catch! I know that @jameskoster has an idea for moving the edit button up to the top. While the design I've seen him working on has a few extra details, perhaps we can do that in the mean time? That is — place it permanently in context of the site icon/title, then on the right. One of the ideas is that the site title itself can become a bit more contextual, somewhat like a breadcrumb, giving context where at the moment some is lacking. |
Just for context, the ideas is a widget at the top of the navigator which morphs to display contextual actions as you navigate around: shortcuts.mp4An important element therein is the URL which would communicate what is visible in the frame. I think we probably need that connective tissue before we can move the Edit button, but hopefully it's not too much work since we don't have full browse-ability yet. We'd just need to work out the display when templates like Single, 404, etc are selected. It might be as simple as replacing the URL with the template name. |
Follow up to #45100 and based on the design from #45100 (comment)
What?
This PR adds a "plus" button to the templates/template parts sidebar to allow creating them directly from there without opening the "browse all" view.
Testing Instructions