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

[RNMobile][Monorepo] Merge gutenberg-mobile and gutenberg master #21790

Conversation

ceyhun
Copy link
Member

@ceyhun ceyhun commented Apr 22, 2020

Description

This is part of a migration effort of gutenberg-mobile to gutenberg repository with git history. More related PRs here: #18508

This PR updates Monorepo branch with latest changes from gutenberg-mobile/develop and gutenberg/master

How has this been tested?

  • npm run native start:reset
  • npm run native test
  • npm run native bundle:android
  • npm run native bundle:ios
  • npm run native android
  • npm run native ios
  • npm run lint
  • npm run test-unit:native
  • Check android and ios apps running in simulators for any errors

Screenshots

Types of changes

Checklist:

  • My code is tested.
  • My code follows the WordPress code style.
  • My code follows the accessibility standards.
  • 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.

jameskoster and others added 30 commits April 7, 2020 11:06
…d spacing system (#21111)

* Replace "Size" with "Padding"

"Size" is somewhat ambiguous. "Padding" is more explicit.

* Update padding values to align with core spacing system

https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/

* Revert "Replace "Size" with "Padding""

This reverts commit 25a0ae8.

* Update test snapshots

* Update test snapshots
* Testing: Fail E2E when page displays warning notices

* Testing: Check markup for errors in visitAdminPage

* E2E Test Utils: Rename hasPHPError to hasPageError

* E2E Test Utils: Handle both plaintext and HTML errors

* E2E Test Utils: Refactor hasPageError as getPageError

Return error message so it can be used in failure output

* E2E Test Utils: Display page error message in failure output
* RNMobile - Layout picker - Update Services emoji

* RNMobile - Layout picker - Update Contact emoji
…it completely on iOS (#2023)

* prevent ripple effect on slider cell in BottomSheet and disable it completely on iOS
Align plus icon for the iOS Stepper control
Fixes #20751.

Some colors were slightly off. This fixes that.
* RNMobile - Layout Picker - Hide / Show depending on the keyboard's visibility and the screen size

* RNMobile - Layout Picker - Show buttons when the keyboard is hidden

* RNMobile - Layout picker - Tweak fadeout animation
…keyboard

Layout Picker - Keyboard visibility improvements
* Implement Columns/Column block
* Add radio mode to ButtonGroup with aria attributes

* Destructure child props

* Add tab index for radio buttons

* Add keyboard handlers

* Remove TODO comment

Current behavior is consistent with RadioControl

* Add storybook example

* Add documentation example

* Add StoryShot snapshot

* Mention ButtonGroup in RadioControl

* Convert to using context instead of cloneElement

* Merge refs so forwardRef is still usable with radio group

* Refactor to move button props to button component

* Refactor for readability

* Add comment about default value

* Consolidate ref and className

* Fix useMemo return value

* Update snapshots

Reordered props and removed value prop

* Partially revert snapshots

* Update prop order to match snapshots

* Update comments for clarity

* Move changes to radio-group and radio

* Remove radio button group storybook snapshot

* Update ButtonGroup extra props to override role

* Implement forwardRef for ButtonGroup

* Update snapshot with forwardRef(ButtonGroup)

* Update RadioControl to mention RadioGroup

* Replace Radio/RadioGroup with Reakit version

* Add storybook stories for Radio/RadioGroup

* Update Radio/RadioGroup READMEs

* Update docs manifest

* Add __experimental prefix for Radio/RadioGroup

* Pass through disabled state to children

* Remove Radio ids from stories

* Update snapshots
* Fix reusable block horizontal padding regression.

https://github.com/WordPress/gutenberg/pull/21099/files#diff-ee2ed3adbe2578628039530c717a9a93R640 introduced a padding attached to the is-root-container. But a reusable block is also a root container.

This PR unsets that.

* Fix issue with navigation mode.
@Tug
Copy link
Contributor

Tug commented May 1, 2020

Not sure how but running npm install did modify package-lock.json, could you check if it's in sync with package.json?

Edit: nevermind I cleaned up my repo and try again and I'm not seeing this change anymore

Copy link
Contributor

@Tug Tug left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@dratwas dratwas mentioned this pull request May 1, 2020
21 tasks
@noahtallen
Copy link
Member

haha, I got kinda confused reading this PR, and then I realized that it is not being merged into master. Otherwise I was about to be concerned about the commit history and files changed 🤦‍♂️

@ceyhun
Copy link
Member Author

ceyhun commented May 4, 2020

Sorry about that @noahtallen GitHub auto-requested reviews from everyone 😅 Updated the PR description.

@hypest
Copy link
Contributor

hypest commented May 5, 2020

Will now merge with "Allow merge commits" option ON.

@hypest hypest merged commit e6555d8 into feat/import-gutenberg-mobile-no-squash May 5, 2020
@hypest hypest deleted the rnmobile/monorepo-merge-gb-mobile-and-gb-master branch May 5, 2020 08:43
@hypest
Copy link
Contributor

hypest commented May 5, 2020

Done.

@Tug Tug mentioned this pull request Jun 5, 2020
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.