-
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
Gallery Block: Not obvious how to add pictures when one image is in the gallery already #50021
Comments
Hi @hanneslsm the best way to add more images without the list view would be to click on the Gallery Parent block > Add as shown in the short video below. Screen.Recording.2023-04-25.at.14.40.46.movHowever, I do agree that clicking on parent blocks without using the list view can be quite confusing for new folks. |
I purposely do not show this to clients because I educate them that clicking on the first icon give them the ability to transform a block (e.g. a paragraph to a heading) Again, another great example of inconsistency within the editor - one that is so basic, that I'd like to see this considered as bug instead of an enhancement. Screen.Recording.2023-04-25.at.14.56.29.mp4 |
To add on this: Additionally, sometimes I tell my clients that they can use the top toolbar. If so, this logic with "if you are in a block that works as a "container", click the first icon to select the parent block doesn't work again. Since this is another issue though, let's focus here on the fact that it should be easier to add a image from the media library to a gallery. Screen.Recording.2023-04-25.at.15.05.09.mp4 |
The parent block selector is an important interaction for selecting and manipulating a parent block.
Yea, there may be something we can try with block selection: if you're selected on an image block within the gallery, perhaps reveal an inserter for directly adding another image block. |
I kindly disagree. I think it's very confusing. The list view is a way more appropriate tool to selecting a parent block.
Here is how this looks like what I just have described Screen.Recording.2023-04-28.at.19.49.20.mp4Site note: Just in this quick user story I've found several bugs. (Drag and Drop doesn't work as expected, after inserting a image and clicking the "Media library" button it jumps and you have to click again, the pattern inserter has a strange animation, can't find the quote block, because the list is not in alphabetical order, issues with the citation of the quote block, there is no visual difference between the column block and the columns block because both have a blue highlight border which adds to the confusion described above…) Did I mention already, that all of these basic things not working frustrates me? Anyways, back to the issue.
This sounds like a good idea. What would you recommend as a next step to get this done? Creating a mockup in Figma, I guess? I don't know if it would be faster and efficient to code a prototype instead, because this whole thing lives by its interactivity and animations. Could anyone with experience give an estimate of how quickly a prototype could be set up? |
I'm agree with confusion that first Toolbar's button provide because it doesn't to the same feature in every situation. The list view is the right tool to understand and select in the hierarchy of blocks, and is the place where you can be sure of "what" is currently selected. I think that if the user has List View closed is because he's focused on writing and not on layout. I don't think the "Select Parent" button in the Toolbar is useful at all, but i suggest that instead of premature consider to remove it, itcould be helpful to "standardize" (for a while) the positional aspect of buttons in Toolbars. So the "expectation" about position of Button is respected, and no feature is removed. |
After working for the last few monthly nearly daily with the editor, I now see the benefits of the parent selector. It shouldn't be removed. |
Regarding the original issue, this might solve fixing the problem: #53315 |
What are main benefit of it? I'm curious because I never used the editor extensively without the list view opened . |
I also have the list view always open, but when having a lot of rows, it can be easier to use the parent block selector instead of selecting the correct row on the left and then going back to the canvas Screen.Recording.2023-08-14.at.12.18.19.mov |
Thanks, now I can see why it is useful. |
I would expect there to be a block appender in the gallery block that allows me to add an image to it, the same as in the group block. |
Description
It's not that unusual to have only one image in a gallery. Either you transformed an image block into a gallery or you created a new gallery with only one image.
The problem is: how do you add a second image?
The only reasonably intuitive way is to drag and drop an image from your computer and upload it. However, if you want to insert an image from the media library, the is no intuitive way to do it.
(The workaround of opening the List view, finding and expanding the Gallery, clicking on the three dots of the image block, duplicating it, then clicking on Replace in the toolbar and finally you can open the media library is not acceptable. I can’t ask any client to follow through all of these steps only to add an image to a gallery.)
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
Screen.Recording.2023-04-23.at.22.11.41.mp4
Environment info
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: