-
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
[Mobile] Pass the Gallery v2 Flag over from the editor #33314
Merged
antonis
merged 212 commits into
trunk
from
rnmobile/refactor/gallery-as-nested-image-blocks-editor-settings_v2
Sep 2, 2021
Merged
[Mobile] Pass the Gallery v2 Flag over from the editor #33314
antonis
merged 212 commits into
trunk
from
rnmobile/refactor/gallery-as-nested-image-blocks-editor-settings_v2
Sep 2, 2021
Conversation
This file contains 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
…ocks at the point that the block validation is run
… innerBlocks at the point that the block validation is run" This reverts commit 4d95e95.
… available at point of block validation
… gallery - with the idea that we will improve the innerblocks drag and drop in a later PR
This reverts commit 9b0abcc.
…existing gallery - with the idea that we will improve the innerblocks drag and drop in a later PR" This reverts commit cc05d60.
…transform when dragging multiple images onto the gallery
…mponent some times
… is async so need to keep circling through the innerblocks updates until we have all the data we need
…mages have data resolved
…27087) * Add loading spinner for image size options Co-authored-by: Glen Davies <[email protected]>
Yeah, I had to pull |
…gallery-to-nested-image-blocks
…refactor/gallery-as-nested-image-blocks-editor-settings_v2
chipsnyder
removed request for
adamsilverstein,
adamziel,
ajitbohra,
atimmer,
cameronvoell,
chrisvanpatten,
dmsnell,
draganescu,
ellatrix,
getdave,
guarani,
gziolo,
kevin940726 and
mmtr
August 17, 2021 13:01
Base automatically changed from
refactor/gallery-to-nested-image-blocks
to
trunk
August 19, 2021 23:39
…locks-editor-settings_v2
…locks-editor-settings_v2
…locks-editor-settings_v2
Pass the Gallery v2 Flag over from the editor on Android
mkevins
approved these changes
Sep 2, 2021
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.
Tested via: wordpress-mobile/WordPress-iOS#16832 (review) and everything is working as expected. Thanks! 👍
…locks-editor-settings_v2
antonis
deleted the
rnmobile/refactor/gallery-as-nested-image-blocks-editor-settings_v2
branch
September 2, 2021 09:35
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
[Block] Gallery
Affects the Gallery Block - used to display groups of images
Mobile App - i.e. Android or iOS
Native mobile impl of the block editor. (Note: used in scripts, ping mobile folks to change)
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.
Related PRs
gutenberg-mobile:
wordpress-mobile/gutenberg-mobile#3713WordPress-iOS:
wordpress-mobile/WordPress-iOS#16832WordPressKit-iOS:
wordpress-mobile/WordPressKit-iOS#417Description
This passes the value of the editor setting
__unstableGalleryWithImageBlocks
from the Native Apps to the editor at initialization and after a settings update.__unstableGalleryWithImageBlocks
is fetched via the/wp-block-editor/v1/settings
API by the mobile apps alongside theme settings. The associated PRs attached here handle the iOS side of the changes.📓 The Android side of this still needs to be handled.
How has this been tested?
Testing this can be a bit involved:
Setup
wp-env start
or generate a new bundle.To Test
Screenshots
Types of changes
New feature
Checklist:
*.native.js
files for terms that need renaming or removal).