-
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: adding buttons to remove image from galleries inline #2658
Conversation
I think you should "select" an image before being able to remove it. That should help with UI noise as well. (I explored it a bit in an old captions PR.) |
Codecov Report
@@ Coverage Diff @@
## master #2658 +/- ##
==========================================
- Coverage 31.38% 31.31% -0.08%
==========================================
Files 177 178 +1
Lines 5413 5429 +16
Branches 949 949
==========================================
+ Hits 1699 1700 +1
- Misses 3139 3154 +15
Partials 575 575
Continue to review full report at Codecov.
|
how should we "show" the selected state? A stronger border on the image? any design proposals? |
For reference: #1831 |
This looks great addition to the gallery block. Also how about adding the possibility to re-arrange the images in a gallery block inline, by simply drag-n-drop? May be extending the "Joen's proposal" and add another icon for "move" which would allow to hold that image and move it within gallery block to drop on the desired place. |
@mtias this toolbar in this proposal could overlap the block's controls toolbar. I'm putting it under the image to start. |
2b73158
to
127c764
Compare
@munirkamal there's an issue for that too #743 ;) Feel free to add any complementary proposal/idea on the issue. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me 👍
@youknowriad I think the X was better in this case, as the trash icon can sort of imply "deleting the image". |
On seeing your comment @mtias I took a step outside and saw what existing pattern there was on in WP. In actual images: It made me think how obvious hovering is to seeing deleting. Would it maybe be good to see like this? Perhaps that's something to investigate though in testing. |
127c764
to
fe7dd08
Compare
fixes #2128