-
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
Bring consistency to block toolbar for text blocks #15096
Comments
@jasmussen - should it include all heading levels 1-6? Does it mean they should be removed from the sidebar? |
Yes to both questions. It would still default to level 2, and we have multiple tools to help you select the correct level for your hierarchy. |
Bonus question, how does it relate to the ongoing work (#14889) to bring heading hierarchy checker to the sidebar. The very last design proposal looks this way: |
Great follow-up question. UI redundancy is okay, and light of this, is one of those situations where we should just keep the levels in the sidebar due to the ongoing work there. I imagine we could revisit the UI in the future for further improvements. |
This is excellent — I'm looking forward to seeing it in. From a visual rhythm (and a click-ability) perspective, I'm not 100% sure about narrowing the ellipsis icon. But It's worth trying out in any case. 👍 My only question is around the list block: Based on your mockup, I'm guessing that the indent/outdent list item controls would live inside of the dropdown? I wonder if those actually qualify as "inline" controls, and should be over in that area. 🤔 There's another potential issue with them being in that dropdown too: the way those dropdowns usually work (at least in the case of alignments) is that the active item becomes the top-level icon for the dropdown: Since those indent/outdent controls are actually separate from the alignment controls, this couldn't quite work that way. So I think they'd need to come out of that dropdown in any case. |
We could theoretically adopt the alternate list icon from Material here: |
Correct, but I love moving those to being inline. |
(This might be partly off track, and might just need its own issue. There might already be one in place..:) What other options should be added to it that is associated with the text blocks? |
Speaking about consistency and common block functionality. I am sharing the issue here so that anyone finding one will also find the other. As this issue is related: #15450 |
In my opinion if we want absolute consistency then the good old optional "kitchen-sink" should be brought back ;-) |
@mapk - can it be considered done? |
@gziolo I believe so. It appears the List block doesn't include a dropdown for its options, but I think that's okay. Everything else is looking consistent. (wow, colors are off in my gifs. I've got to fix this.) I'm closing this issue. If I've missed anything, feel free to reopen. |
This issue is the result of a long and good discussion in #3785, which this issue subsumes.
Right now the toolbar across text blocks change a fair bit, and in the case of the heading block, it's not possible to set the alignment unless you open the sidebar. Let's simplify and unify that:
A toolbar for text-blocks consists of these elements and in this order:
A few other details in this mockup:
We'll probably want to find a different icon for the List block, or alternately a different way of showing the types of lists.
Update: We agreed to not include text alignment control for List block:
See the full discussion in #16792
The text was updated successfully, but these errors were encountered: