-
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 add template menu #50134
Comments
I think this looks good, and works better than the tooltips. The nice and big buttons make the creation act feel as substantial as it should be. How do you feel about those borders? Do you think it could potentially work with the gray borders, but no borders and blue background on hover? Mainly we have to consider the 1.5px focus style. From the 3 steps in that modal it would also be nice to unify the style, e.g. the last one suddenly omits borders where the two first steps have them. One last thing, I wonder if there's a way to have the modal keep the same size across all three steps, so it doesn't have to resize that much and make you lose your place. Nice work! |
If we got rid of the borders we'd need to tweak the padding to get the alignment right, but that shouldn't be a problem. It would be nice to remove them to be consistent with other buttons like blocks in the Inserter. Fixed dimensions for each step would be nice I agree! It's a bit tricky to balance given the contrast in grid contents, but something like this could work: I removed the icons too. They're not canonical and given our plans for the document title not all that helpful either (more context). |
I actually meant remove the borders on hover, but keep the gray ones on resting state, and 1.5 blue on focus. |
I kind of like removing them, to be consistent with Inserter buttons, etc. |
It's mostly that "All Pages" big button in the center, which is just kind of hanging there in space. Besides with the gray borders, they'd still be consistent with the light-weight style variation buttons. |
The thing with the second image is that one clicks the + sign and associated modal/drop down which is connected with the same location is seen. If a modal can become a kind of hybrid drop down meaning one clicks somewhere and the modal shows up connected to the same location on the screen then that would be helpful. I would in a sense call the following modals located in the same area one clicked to activate these. So let's work on connecting trigger with trigger result. Having a closeness where that is possible. As it strengthens the association of trigger and trigger result. |
I was experimenting with the full site editor and stumbled upon an issue that doesn't make sense to me. It is not clear that when you select "Single: Item post", then select "for a specific item", then you can't extend that template to other posts later. I think it should be made more explicit. In my opinion, the best scenario would be to change the behavior of the "for a specific item" that allows to create a template that can be applied to other posts as well, when creating the new post. Also it is not clear that "custom template" is the best option to create a template that can be applied to specific items. And also, having the "duplicate" option to easily duplicate custom templates would be great when I need to create custom templates that have few differences from one another. As an experienced WordPress user, it took me a while to figure this out because it is very counterintuitive. |
Did you try the PR? In a single screenshot I agree this looks a bit off, but in practise I don't find it too bad. The big hover interactions the button footprint pretty clear. Perhaps there's another way to lay out these buttons? Stack instead of Row? 🤔 @tomxygen that's good feedback, thanks. Perhaps when you create a new template for Single item: Post we should present three options:
It's probably worth opening a new issue describing this problem if you have the time. |
I did try it, and it's a big improvement. I'm not opposed to shipping. But even with the big hover, this one sits in the air: It's a bit easier with this list, but even there it isn't clear why the text of the items don't line up with the text above: I thin I'm still leaning towards a decorative light gray border, even if that border is gone on hover. |
Hah, I'm keen to avoid the borders if we can, they add noise that I don't really think we need. I do acknowledge the 'hanging' point though. Perhaps stacking them and tweaking the alignment would help. I'll try it in the PR. |
@jameskoster That's a great idea and in my opinion it completely fixes the issue I'm trying to bring up.
I will open asap. Let me know what you think about this mockup first. |
@tomxygen Looking at those screenshots I'm missing a way to create a |
@jameskoster @jasmussen this also relates to the editor sidebar discussion and other places we use an item group menu. It's pretty common to apply negative margin to menu items so text/content aligns with hover overlapping. hover-align.mp4We already do this with focus states on some dropdown menus Re the add template. I still think there is an opportunity to create an experience which reduces the reliance on template descriptions, which without knowledge of the template hierarchy are still quite complex. e.g. |
I agree. This is just a short term patch to address the tooltip issue. |
Yep, we need the short term bandaid while still wrapping up the long term. |
Part of this was addressed in #50143. Replacing the popover menu with a modal remains to be done: |
In the run up to the 6.2 release template descriptions were made more verbose given the available real estate in the new detail panels:
Consequently the add template menu became extremely long and unwieldy. As a short-term solution the descriptions were removed from the menu items and placed in a tooltip:
But this is not an ideal solution. It would be good to explore alternative options.
The text was updated successfully, but these errors were encountered: