-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Update media and video icons #49523
Update media and video icons #49523
Conversation
Size Change: +2.14 kB (0%) Total Size: 1.35 MB
ℹ️ View Unchanged
|
Wouldn't it make sense to use the media icon on the 'Open Media Library' button too? 🤔 I don't think it's necessarily a blocker because it'd be nice to update the old icon regardless, but the new one looks a little busy. Is there a more abstract way to represent images/video/audio? A couple of ideas that might inspire something better: |
Ha, maybe. I'm not sure why the video icon is representative of the Media Library currently. I like its simplicity though.
Agreed. It's basically a filled-in group block. I'll take a few to jam on that left-most icon; there's potential there. |
Good catch, I also agree the replacement icon should be used for the open media library action as well. |
I like the new icon Rich shared here: #49523 (comment) |
Hey Rich. That looks really nice! Well done! |
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.
I think it's definitely an improvement, so I say LGTM. 👍
Flaky tests detected in a27a264. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/4620677715
|
What?
Was fixing the core/media-text media-container-icon and noticed that the
media
andvideo
icons are the same icons. Themedia
icon is used when referencing the Media Library (storybook), even though its technically a video icon:I have two proposed paths to take:
Update the
media
icon to accurately reflect images and videos. Then tweak the places where the existingmedia
icons are used, to reference the actualvideo
icon (what this PR does).Update the
media
icon to accurately reflect images and videos. Keep the newmedia
icon assigned to the Media Library menu items. The downside here is that it's not always the case that images can be replaced by videos (but perhaps it should be). Currently, the Image block does not allow for video file types.Another alternative would be to add a new icon to the library, but I don't feel it's necessary while this media/video icon discrepancy is in play.
Testing Instructions
media
icon.video
icon).Screenshots or screencast
The custom media-container-icon in the Media & Text block in trunk. It doesn't fit the design language of all the other icons, and shouldn't be its own custom icon in the block anyhow:
The updated
media
icon, now in use within the Media & Text block placeholder state:The
video
icon, now in use within Media Library menu items. There is no visual change; just referencing the actual video icon.