Repository navigation
Client-side media: Process image edits (crop, rotate, flip) with wasm-vips #82362
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
Open
adamsilverstein
wants to merge
33
commits into
trunk
Choose a base branch
from
try/csm-client-side-image-edits
base: trunk
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+3,005
−80
Open
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
8c7023e
Vips: Add editImage for flip, rotate and crop edits
adamsilverstein 00e6e2a
Upload media: Add an addEditedImage action
adamsilverstein c0b7c13
Media editor: Apply image edits client-side when available
adamsilverstein 27938d9
Media: Record the source attachment of client-side image edits
adamsilverstein 0e8b4df
Client-side media: Add e2e tests for image edits
adamsilverstein 885120f
Add changelog entries for client-side image edits
adamsilverstein 4f492db
Add backport changelog entry for the parent_image endpoint change
adamsilverstein 2afe630
Upload media: Generate sub-sizes from the edited image
adamsilverstein 6b333dd
Client-side media: Assert image-edit sub-sizes derive from the edited…
adamsilverstein ed895d7
Client-side media: Allow for browser-side processing in the modal rot…
adamsilverstein 060009f
Media editor: Except the upload-media private API route
adamsilverstein 8d2b90c
Media: Fire wp_edited_image_metadata for client-side edits
adamsilverstein 2b31971
Image: Wait for the modal cropper to load before rotating in the e2e …
adamsilverstein b329564
Upload Media: Count image edits as image processing
adamsilverstein 5aa1276
Merge remote-tracking branch 'origin/trunk' into try/csm-client-side-…
adamsilverstein 2e7c4ad
Merge remote-tracking branch 'origin/trunk' into try/csm-client-side-…
adamsilverstein 3cbefb4
Route images past the client memory budget to the server before editing
adamsilverstein 310e116
Merge branch 'trunk' into try/csm-client-side-image-edits
adamsilverstein 59b1629
Merge trunk into try/csm-client-side-image-edits
adamsilverstein c656520
Merge branch 'try/csm-client-side-image-edits' of github.com:WordPres…
adamsilverstein 88bfae8
Merge remote-tracking branch 'origin/trunk' into try/csm-client-side-…
adamsilverstein a0cd9ad
Reformat for the Prettier and Markdown policy trunk now enforces
adamsilverstein 1555584
Merge branch 'trunk' into try/csm-client-side-image-edits
adamsilverstein 813c452
Fix client-side image edit tests after the trunk merge
adamsilverstein 6f1f20a
Regenerate the vips README for editImage
adamsilverstein b5115c4
Update image edit e2e tests for trunk's media editor
adamsilverstein 9c1c53f
Pick the aspect ratio from the docked Crop panel in e2e tests
adamsilverstein b27ffee
Find the aspect ratio option outside the modal's accessibility tree
adamsilverstein 978256e
Match the theme's square aspect ratio preset in e2e tests
adamsilverstein 2c4534b
Merge branch 'trunk' into try/csm-client-side-image-edits
adamsilverstein 6dbdf5e
Merge branch 'trunk' into try/csm-client-side-image-edits
adamsilverstein cfe336e
Media Editor: Send post 0 when editing an unattached image
adamsilverstein 7112467
Media Editor: Add e2e test for editing an unattached image
adamsilverstein File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| https://github.com/WordPress/wordpress-develop/pull/13372 | ||
|
|
||
| * https://github.com/WordPress/gutenberg/pull/82362 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.