-
Notifications
You must be signed in to change notification settings - Fork 58
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
Tiled Gallery Block: Aspect Ratio for Square Layout #4017
Conversation
Wanna run full suite of Android and iOS UI tests? Click here and 'Approve' CI job! |
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 reviewed the Jetpack PR here but will hold off reviewing the Gutenberg PR to give others a chance to validate the approach (because it involves adding changes to the core blocks).
Feel free to re-request a review here when the Jetpack and Gutenberg PRs are ready for review again.
While it would be nice to add integration tests to our Gutenberg Mobile PRs such as this, I don't think verifying the aspect ratio would be a suitable thing to test. It doesn't affect the HTML representation of the block – it's just a visual in-editor change – so it seems like a difficult piece of code to test, at least with integration tests.
Should the above be deleted or are there sibling PRs here? On a different topic, would it make sense to use the |
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.
Reviewed via Automattic/jetpack#21166 (review)
You're right, I overlooked this line when editing the PR description, updated now. Thanks for pointing that out!
Sounds good to me, added that now. |
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.
Approved via Automattic/jetpack#21166 (review). I think the failures here are related to the single Tiled Gallery integration test. This test will be disabled in #4143 so it might be worth checking the state of that PR and seeing if it resolves the failures here.
cc @illusaen
I think the error may be related to the fact I recently updated the feature branch from That said, I expect that there are probably other changes that will also be needed, maybe warranting their own PR. I'll be happy to do some more digging into that on Monday unless others have insights before then. |
Jetpack
: Automattic/jetpack#21166Description
Fixes: #4010
This PR is one part of a wider effort to port the Jetpack Tiled Gallery block to Mobile Gutenberg. It will be merged into a feature branch,
add/tiled-gallery-block
.For this PR chain, the overarching purpose is to define the aspect ratio of images in the editor, so that they appear as squares.
Testing
Please refer to the Jetpack PR as the central PR with the most up-to-date testing instructions.
PR submission checklist: