-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Only update the specified target images when an image is edited. #301
Only update the specified target images when an image is edited. #301
Conversation
When an edit with a target occurrs make sure that only the specified images are modified, and the metadata reflects this changes based on the specified target from the media section
Move the tests from the single location into the correct file where the image edits are located.
When an image is selected for a target make sure that only the selected target images are processed instead of processing all the images when is not required or desired. Fixes #299
Co-authored-by: Eugene Manuilov <manuilov@google.com>
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.
LGTM. Thanks, @mitogh.
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.
@mitogh Mostly lgtm, a few minor comments. One more critical thing, the rest is around doc comments.
@mitogh @eugene-manuilov I've updated the base branch to |
Thanks I can take a look at the feedback later today and resolve any remaining conflicts. |
👋 @mitogh We're in a bit of a rush with this one in prep for Monday's release, so @mehulkaklotar is going to finish this one up. Thank you for continuing to work on this to this point! |
Co-authored-by: Felix Arntz <felixarntz@users.noreply.github.com>
Co-authored-by: Felix Arntz <felixarntz@users.noreply.github.com>
Co-authored-by: Felix Arntz <felixarntz@users.noreply.github.com>
…targets # Conflicts: # modules/images/webp-uploads/image-edit.php
Sure @bethanylang sorry I was not able to get it done in time. Thanks, @mehulkaklotar for taking this one to the finish line. |
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.
Thanks @mehulkaklotar Latest changes look good to me
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.
Thanks @mitogh and @mehulkaklotar!
Summary
Fixes #299
Relevant technical choices
Allow to select specific target images when editing an image, if either: thumbnail, all except thumbnail or all is selected the edit behavior should only use the specified images instead of applying the edit to all the images regardless of the selected target.
Checklist
[Focus]
orInfrastructure
label.[Type]
label.no milestone
label.