Skip to content
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 Release v1.58.3 #34031

Merged
merged 20 commits into from
Aug 12, 2021
Merged

Mobile Release v1.58.3 #34031

merged 20 commits into from
Aug 12, 2021

Conversation

geriux
Copy link
Member

@geriux geriux commented Aug 12, 2021

Description

Release 1.58.3 of the react-native-editor and Gutenberg-Mobile.

For more information about this release and testing instructions, please see the related Gutenberg-Mobile PR: wordpress-mobile/gutenberg-mobile#3828

Checklist:

  • My code is tested.
  • My code follows the WordPress code style.
  • My code follows the accessibility standards.
  • I've tested my changes with keyboard and screen readers.
  • My code has proper inline documentation.
  • I've included developer documentation if appropriate.
  • I've updated all React Native files affected by any refactorings/renamings in this PR (please manually search all *.native.js files for terms that need renaming or removal).

Siobhan and others added 17 commits July 22, 2021 09:01
…olors (#33707)

* Fix: Mobile - Check for undefined variables and merge user colors before parsing

* Check for null values
* Remove 'BottomSheetScreen' component

The 'BottomSheetScreen' component was introduced in the following commit in order to correct a render error related to the 'setIsFullScreen' method: d650b4f#diff-d16d37d09ff59dce57c087e978ac5536503cb1642ec2b0ecdba9536f5c695b95R20

The way the component's currently rendering is causing a conflict with the TextInput component, however.

With this commit, the component's removed, along with the 'setIsFullScreen' method (the method will be re-introduced in the following commits).

* Refactor 'setIsFullScreen' method

With this commit, the 'setIsFullScreen' method is added back to the component. This time, it's added to its own separate 'useEffect' function.

* Remove 'BottomSheetConsumer'

'BottomSheetConsumer' is no longer necessary as we're now using 'useContext' to pull in 'setIsFullScreen'.

Further discussion here: #33845 (comment)

* Refactor reference to 'children'

As 'BottomSheetConsumer' was removed in 5232398, 'children' no longer needs to be returned as part of a function. In fact, this results in an error.

With this commit, the function surrounding the reference to 'children' is removed.
@geriux geriux added the Mobile App - i.e. Android or iOS Native mobile impl of the block editor. (Note: used in scripts, ping mobile folks to change) label Aug 12, 2021
@geriux geriux requested a review from fluiddot August 12, 2021 09:22
@fluiddot fluiddot marked this pull request as ready for review August 12, 2021 10:35
Copy link
Contributor

@fluiddot fluiddot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🎊 !

I noticed that it includes the changes from previous betafixes 1.58.1 and 1.58.2 but that's caused due to not having the PR updated with trunk, when it gets updated we won't see those changes.

NOTE: The PR checks are not working because it's out-of-date with trunk, once this PR is ready to be merged after the GB-mobile PR gets merged, we'll check if the checks pass.

# Conflicts:
#	packages/react-native-aztec/package.json
#	packages/react-native-bridge/package.json
#	packages/react-native-editor/ios/Podfile.lock
#	packages/react-native-editor/package.json
@fluiddot fluiddot deleted the rnmobile/release_1.58.3 branch August 12, 2021 15:11
@github-actions github-actions bot added this to the Gutenberg 11.4 milestone Aug 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mobile App - i.e. Android or iOS Native mobile impl of the block editor. (Note: used in scripts, ping mobile folks to change)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants