-
Notifications
You must be signed in to change notification settings - Fork 383
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
Parent/child relationship: it should be easier to select and identify an individual block within a layer. #1563
Comments
At this point the UX feedback is to look at the changes that have been made in Gutenberg and see if we still need to make improvements, or rather things might be fine. The only question is if we want to replace the custom controls we have (choosing layers), and replace with default navigation that shows all blocks. |
It may make sense to search issues in Gutenberg repo to identify ways to improve parent/child relationship. |
Note for dev: Development is blocked by UX/design work. |
After a discussion over the possibilities of ways to improve selectability, we're thinking it could make sense to actually remove the layer icons beside the page itself (see screenshot) and instead rely on the new block navigator (see screenshot). In doing so we could also look at ways to improve the block navigators use, such as persistantly showing, or showing the text of blocks within it, as shown on WordPress/gutenberg#11010. One additional thing, that we didn't quite settle on was, the plus icon directly above the amp story page seems to only add new layers, that's kind of useful, but it's a bit weird. We might want to look at ways to improve that experience. |
Another idea we just discussed was, what if we were to move the block navigator down into context for each page, and remove the existing layer cards. That could solve several problems at once, and allow us to follow along development of Gutenberg as the block navigator gets improved over time. Here's a quick sketching showing some possibilities: @westonruter and @miina ^ |
I am doing a little mock up to support this version... This layout makes the most sense so far based on the navigation options everywhere on this page... |
@cathibosco / @jwold - My initial thought was that the block navigation 'visible by default' would make sense on the right of the main AMP stories interface, but, reading further down I see how it makes much more sense your way Nav still on the left and document/block interface on the right. :) My only recommendation, assuming it's not a big ask technically, is that the AMP story interface block should be centered between the two (flagged in pink) tool bar areas. What do you think? @miina - are there any technical blocks/issues that we should be aware of making this change? |
@cathibosco / @jwold / @miina I've updated the AC to reflect Cathi's recommendation. Are there any other elements that need to be included in the AC for this issue? |
@alcurrie: Thanks for the updates to ACs. There are no technical issues for making this change, that would be styling only. One thing here is to consider that it's possible to hide the right sidebar and also the mobile view.
One additional thing to note here is that this would cancel the AC2 of #1559, otherwise looks good to me at this moment unless there are additional UX changes / behaviors that haven't been discussed yet.
|
We just had a further discussion on this. A few takeaways:
|
Thanks for logging that @jwold. On point 2.: Lets look into this but it's possible that for doing that we'd have to replace the whole block navigator with a custom one since the navigator is pulling the names directly from blocks' names. If that would be the case then not sure if this would make sense. Thoughts? |
|
@miina I've included the updates to the dropdown for the Layer navigation in this issue (AC-10 and AC-11, but think it might make sense to move those requirements/AC to a separate issue. Also, I'm making the assumption that the dropdown should only include available AMP stories Layers. Since we are building on the Gutenberg framework, I want to confirm that this is not a blocker technically. |
@alcurrie On AC-10 and AC-11: We would essentially be moving this Layer inserter here to a new location: This means that the issue including removing the currently existing Layer cards and moving the Layer inserter to a new location could also include AC-10 / AC-11, so it might make sense to keep it here, too. Thoughts? The dropdown can include only AMP Stories Layers without issues. |
@miina - I've updated AC10 and AC11 based on your clarifications above. @cathibosco - you may have already provided this, but could you make sure that @mehigh or @miina have access to the new layer icons? Based on these clarification/updates, and discussion at backlog grooming Friday, I'm moving this into To Do |
AC 4: Update the AMP Stories interface to show the block navigation expanded by default, to the left of the active AMP story. - handled At the minimum supported width things are a bit crowded (in the 960-1000 realm): http://cloud.urldocs.com/3784999fa0df AC 5: click/tap to select the the story page, layer, or block in the block navigation - one bug present AC 6: block will be highlighted in the block navigation, and in the story page - same bug from ^^ AC 9: The user can view the complete current state of the whole story page (with nothing blurred or hidden - handled AC 10: User can click/tap on the (+) Add Layer interface to add a new layer - handled AC 11: Icons and names for the Layer types ie. image fill layer, video fill layer, Vertical Layer etc.. will be updated in the Block Navigation and in the 'add layer' interface - handled |
Confirmed working as specified in the AC: https://cl.ly/10fb41172e80 |
As an AMP stories author, I want it to be be easier to select and identify an individual block within a layer
Acceptance Criteria
- [x] AC 3: Based on the impact of Adds the block hierarchy navigation menu to the header WordPress/gutenberg#10545 re-evaluate/update the approach and/or UX improvements still needed for selecting for selecting individual elements
- NB: This will require moving the Layer inserter to the new location shown above and removing it as well as the existing Icons from where it currently exists on the right of the active story page. See screen shot below showing the icons and (+) to be removed from the bottom right:
Related to: #1564 #1524 #1559 #1560 #1562
The text was updated successfully, but these errors were encountered: