-
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
Image Block: Change the "Source Type" label to "Image Size" #7855
Comments
What about just removing the Source Type (image size) option? Since we can easily resize the image directly in the image block layout. |
If you do keep this setting, +1 on changing it to "Image size." (But I'd also love to look at these settings and immediately understand the difference between "image size" and "image dimensions," which seem like they should be the same thing.) |
+1 for changing the setting name. +2 for getting rid of it altogether or combining it with Image Dimensions control. |
Fixes #7855. ## Description I've changed the label on the Image block from "Source Type" to "Image Size". ## How has this been tested? I ran `npm run dev` to test this. ## Screenshots <img width="589" alt="image-size" src="https://user-images.githubusercontent.com/1377956/42490653-d9d0e20a-8454-11e8-9408-0cb3c12f553b.png"> ## Types of changes It's just a label change as "Source Type" is a developer friendly term but not a user friendly term. ## Checklist: - [x] My code is tested. - [x] My code follows the WordPress code style. <!-- Check code: `npm run lint`, Guidelines: https://make.wordpress.org/core/handbook/best-practices/coding-standards/javascript/ --> - [x] My code follows the accessibility standards. <!-- Guidelines: https://make.wordpress.org/core/handbook/best-practices/coding-standards/accessibility-coding-standards/ --> - [x] My code has proper inline documentation. <!-- Guidelines: https://make.wordpress.org/core/handbook/best-practices/inline-documentation-standards/javascript/ -->
Issue Overview
While testing the image block I thought that "Source Type" isn't a very user friendly term and "Image Size" would be more user friendly. Even the
const
used refers to sizes. e.g.const availableSizes = this.getAvailableSizes();
so it makes sense to change this label.Steps to Reproduce
Expected Behavior
The label should say "Image Size".
Screenshots / Video
Additional Info
Gutenberg @ c72f5b4
The text was updated successfully, but these errors were encountered: