-
Notifications
You must be signed in to change notification settings - Fork 384
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
Make UX for adding new blocks consistent #1559
Comments
Regarding AC 1: Miina: This is an invalid AC and expected behavior. When you have "Fill" as the layer template then the block inside it fills the whole layer -- that's why in case of Fill wherever you click you actually click on an INNER block. However in case of vertical you click on a LAYER itself so it selects the layer block. To see which block is selected you can check the right sidebar -- you can see that in case of vertical you are selecting the Layer, however in case of Fill you are selecting an inner block. Probably the real issue here will be resolved when we make it clear which block has been selected. So it should be clear that the block within Fill Layer is filling the whole layer. Regarding AC 2 and 3: Miina: These may be blocked by Gutenberg. Regarding AC 4: Now that we have the larger plus block below the page, we may not need this. |
@alcurrie It looks like we can close this issue for the following reasons: Let me know if you have any concerns with closing the issue. |
Sounds good, thank you, @alcurrie! |
@miina - as discussed I've added/re-opened AC 3 (or in this case a sub-issue AC 3a) in relation to the block inserter. A recent Gutenberg update created a bug for our work on AMP Stories, as it's now possible to to add a Thirds layer inside a Thirds layer; a Vertical Layer inside a Vertical layer, etc. I've updated the notes/screenshot above, and am re-assigning this to you for review. |
@miina - for some reason my earlier comment was not saved (likely user error ;) ) I've new AC 3a) as discussed now. |
Lovely solution, Miina. |
This is confirmed working consistently: https://cl.ly/85e573f27838 |
As an AMP story author, I want consistent a UX for adding new block, so I can more easily understand the process for adding new blocks
AC 2: Make the custom inserter for the Layer blocks match the behavior of the default/general inserter (Blocks h)Blocked by Gutenberg - see Note below. Related work for block navigation is documented in Parent/child relationship: it should be easier to select and identify an individual block within a layer. #1563AC 3: Harden the ability to restrict the types of blocks that can be inserted at a given point. (Blocks i) Blocked by Gutenberg - see Note below.https://cl.ly/8e44e4958beb
but the insert block should not allow the user to add layers within layers. Update to Gutenberg has created a new bug that allows adding layers to inside layers, which needs to be resolved, to keep this interface consistent.
Related: #1541
The text was updated successfully, but these errors were encountered: