-
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
Popup Toolbar: Show Also When Selecting Text With Keyboard #61
Comments
Excellent catches all around! Thanks for testing! Most of these are the result of this simply being a UI prototype (see #51), and not intended to be fully functional. Mobile, for example, hasn't been a concern yet, and we are keenly aware that the popup toolbar won't work there. |
Great! Looking forward! |
I took the liberty of renaming this incredibly useful ticket to focus on the selection popup when using keyboard controls. The mobile aspects we've created a separate ticket for here: #44 |
Solid observation by @JDGrimes here:
This could speak in favor of having a permanently docked inline toolbar, instead of the popup. Could look like this: 👆 in that mockup, the first group of formatting controls are block level, the second would be inline level. |
That's an interesting idea. Really long blocks would require scrolling to apply inline formatting then though, unless these toolbars were sticky. |
They could be :) |
Could not resist a quick design session around this as I found the idea of a docked toolbar interesting and handy in many occasions. This dock approach might also address the issue described at #78 with fullwidth images (check the image block example below) Some notes:
I have mixed feelings about this approach, but I think it's worth considering. Also allows for toolbars to be sticky in case of very long text blocks. |
AH! Bummer. I just realised that for the image block there should be more contextual tools. Example: |
I can't tell you how happy I am to see these mockups. Thanks so much for doing this, it's incredibly useful to see multiple approaches here. Since the feedback on the UI prototype this wednesday, I have furthered some mockups also, and they go in much the same direction as yours (which is extra heartening — good ideas tend to have gravity). The latest mockups are in this PR that's about to be merged: https://github.com/WordPress/gutenberg/pull/84/files Specifically this mockup tackles the same docked toolbar: Changes:
🎉 Would love your thoughts on this. It's really useful to spar on these.
Excellent observation, I've been thinking about this as well. Here's the latest image block mockup I've made: In that mockup, I treat the docked toolbar as a "Quick access" group of controls. At the end is a cog that opens... someting that still needs a little noodling. Right now I'm thinking it's a docked, scrollable "inspector"-like sidebar, which can show all the advanced options you might have for an image, and there is a lot to take in here, including:
And any other options a plugin might add. See also this block list. |
Thanks for your input and for the time you put into it. I will go through it thoroughly, but meanwhile I worked on refining some of yesterday's work. Colors and typo need work. I would happilly align the mockup's styling to the actual prototype's in order to have a common reference. I will check your styles and re-iterate later. For this one my intention was to reveal potential structural issues that might arise from such a dock approach, and also to suggest elements that might trigger further discussion Among others the mockup below shows:
I think you can click on the image for the full size. |
Some really solid ideas here, thanks @JohnPixle! Great job tackling the link head on. I particularly like your work with headings, the extra image block controls, and the horizontal block style for a fullbleed image. 🌟🌟🌟🌟🌟 effort. Would you like a copy of the Sketch template I've been working in? It has a bunch of smart icon symbols that are easy to use. |
@jasmussen great idea, would be extremely useful. Thanks for considering this :) Feel free to share a link to it or whatever works best for you, and i'll get my hands on it. For the mockups I've been using a mix of dashicons and gridicons. Any recommendations on iconography, or are there any plans for a custom Gutenberg icon set in the roadmap? |
Here's the Sketch template that I've been using: |
Closing this for now. I've bookmarked the amazing mockups here to revisit when we start a feature plugin. |
Enforce using the latest LTS version (8.x) of Node and up
…ster-june292018 Use latest gb master as per July 2nd, 2018
…ion-absolute-position Android Fix - cursor position - Return the exact location of the cursor in the editor
Hey, guys!
The prototype is looking great, I did some testing (
macOS
withChrome
) and here's what I think about it.macOS
withChrome
— it appears when I click or click-drag-select.Andriod
withChrome
gives you the option ofcopy/paste
and the toolbar kinda gets stays hidden behind it.Select-All
and delete everything, the text becomes weirder.That's all for now :)
The text was updated successfully, but these errors were encountered: