-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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] - Remove old Layout Picker #27640
Conversation
…moved to the mobile components directory.
Size Change: 0 B Total Size: 1.3 MB ℹ️ View Unchanged
|
# Conflicts: # packages/react-native-bridge/android/src/main/java/org/wordpress/mobile/ReactNativeGutenbergBridge/GutenbergBridgeJS2Parent.java # packages/react-native-bridge/android/src/main/java/org/wordpress/mobile/WPAndroidGlue/WPAndroidGlueCode.java # packages/react-native-bridge/ios/GutenbergBridgeDelegate.swift # packages/react-native-bridge/ios/RNReactNativeGutenbergBridge.m # packages/react-native-editor/ios/GutenbergDemo/GutenbergViewController.swift
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.
Great work @geriux 👍
I tested the app on a Pixel 2XL with Android 11 and behaves as expected.
The code changes are consistent and as described remove:
- The whole old Page Template Picker (
page-template-picker
folder) functionality exceptBlockPreview
that has been moved - The
ModalHeaderBar
(modal-header-bar
folder) - The Modal Layout Picker flag for Android
- The Starter Page Template Tooltip code
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 for taking this on @geriux!
There's an enum case for modalLayoutPicker
under capabilities that I think we can remove now too. Could we include that deletion in this PR as well?
case modalLayoutPicker |
# Conflicts: # packages/components/src/index.native.js
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 for taking care of this! Tested with wordpress-mobile/WordPress-iOS#15550 (review)
Fixes wordpress-mobile/gutenberg-mobile#2936
Gutenberg Mobile PR
-> wordpress-mobile/gutenberg-mobile#2921WordPress iOS PR
-> wordpress-mobile/WordPress-iOS#15550WordPress Android PR
-> wordpress-mobile/WordPress-Android#13665Description
Removes unused code of the page layout picker. A native layout picker was implemented in the WordPress apps so this is no longer being used.
Removes:
It also fixes some tests issues related to the recently introduced
alignmentHelpers
How has this been tested?
On the WordPress app (builds available in each PR)
Case 1
Case 2
Screenshots
Types of changes
Checklist: