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 master to master #17652

Merged
merged 24 commits into from
Oct 1, 2019
Merged

Mobile master to master #17652

merged 24 commits into from
Oct 1, 2019

Commits on Aug 28, 2019

  1. [RNMobile] Native mobile release v1.11.0 (#17181)

    * [RNMobile] Fix crash when adding separator
    
    * Build: remove global install of latest npm since we want to use the paired node/npm version (#17134)
    
    * Build: remove global install of latest npm since we want to use the paired node/npm version
    * Also update travis to remove --latest-npm flag
    
    * [RNMobile] Try dark mode (iOS) (#17067)
    
    * Adding dark mode component implemented on list and list block
    
    * Adding DarkMode handling to RichText, ToolBar and SafeArea
    
    * Mobile: Using DarkMode as HOC
    
    * iOS DarkMode: Modified colors on block list and block container
    
    * iOS DarkMode: Improved Header Toolbar colors
    
    * iOS DarkMode: Removing background from buttons
    
    * iOS DarkMode warning and unsupported
    
    * iOS DarkMode: MediaPlaceholder
    
    * iOS DarkMode: BottomSheets
    
    * iOS DarkMode: Inserter
    
    * iOS DarkMode: DefaultBlockAppender
    
    * iOS DarkMode: PostTite
    
    * Update hardcoded colors with variables
    
    * iOS DarkMode: Fix bottom-sheet cell value color
    
    * iOS DarkMode: More - PageBreak - Add Block Here
    
    * iOS DarkMode: Better text color
    
    * iOS Darkmode: Code block
    
    * iOS DarkMode: HTML View
    
    * iOS DarkMode: Improve colors on SafeArea
    
    * Fix toolbar not avoiding keyboard regression
    
    * Fix native unit tests
    
    * Fix gutenberg-mobile unit tests
    
    * Adding RNDarkMode mocks
    
    * RNMobile: Fix crash when viewing HTML on iOS
    
    * [RNMobile] Remove toolbar from html view
    
    * [RNMobile] Fix MaxListenersExceededWarning caused by dark-mode event emitter (#17186)
    
    * Fix MaxListenersExceededWarning caused by dark-mode event emitter
    
    * Checking for setMaxListeners trying to avoid CI error
    
    * Adding remove listener to DarkMode HOC
    
    * DarkMode: Binding this.onModeChanged to `this`
    
    * DarkMode: Adding conditional needed to pass UI Tests on CI
    
    * Fix focus title on new posts regression (#17180)
    
    * BottomSheet: Setting DashIcon color directly when theme is default (light) (#17193)
    etoledom authored Aug 28, 2019
    Configuration menu
    Copy the full SHA
    635108e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    643c1b2 View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2019

  1. Add native support for the MediaText block (#16305)

    * First working version of the MediaText component for native mobile
    
    * Fix adding a block to an innerblock list
    
    * Disable mediaText on production
    
    * MediaText native: improve editor visuals
    
    * Move BlockToolbar from BlockList to Layout
    
    * Remove BlockEditorProvider from BlockList and add native version of EditorProvider to Editor. Plus support InsertionPoint and BlockListAppender
    
    * Update BlockMover for native to hide if locked or if it's the only block
    
    * Make the vertical align button work, add more styling options for toolbar buttons
    
    * Make sure registerCoreBlocks does not break in production
    
    * Copy docblock comment from the web version for registerCoreBlocks
    
    * Fix focusing on the media placeholder
    
    * Only support adding image for now
    
    * Update usage of MediaPlaceholder in MediaContainer
    
    * Enable autoScroll for just the out most block list
    
    * Fix JS Unit tests
    
    * Roll back to IconButton refactor and fix tests
    
    * Fix BlockVerticalAlignmentToolbar buttons style on mobile
    
    * Fix thing for web and ensure ariaPressed is always passed down
    
    * Use AriaPressed directly to style SVG on mobile
    
    * Update snapshots
    Tug authored and etoledom committed Aug 29, 2019
    Configuration menu
    Copy the full SHA
    a78f204 View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2019

  1. Configuration menu
    Copy the full SHA
    3db95b7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7aa44a2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f9fa455 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7b12673 View commit details
    Browse the repository at this point in the history
  5. [RNMobile] Insure tapping at end of post inserts at end

    Previously, tapping at the end of the post would insert a block
    immediately after the currently selected block. In addition, this commit
    is cleaning out a few unusued props in the block-list file.
    mchowning committed Aug 30, 2019
    Configuration menu
    Copy the full SHA
    14d482b View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2019

  1. Support group block on mobile (#17251)

    * First working version of the MediaText component for native mobile
    
    * Fix adding a block to an innerblock list
    
    * Disable mediaText on production
    
    * MediaText native: improve editor visuals
    
    * Move BlockToolbar from BlockList to Layout
    
    * Remove BlockEditorProvider from BlockList and add native version of EditorProvider to Editor. Plus support InsertionPoint and BlockListAppender
    
    * Update BlockMover for native to hide if locked or if it's the only block
    
    * Make the vertical align button work, add more styling options for toolbar buttons
    
    * Make sure registerCoreBlocks does not break in production
    
    * Copy docblock comment from the web version for registerCoreBlocks
    
    * Fix focusing on the media placeholder
    
    * Only support adding image for now
    
    * Update usage of MediaPlaceholder in MediaContainer
    
    * Enable autoScroll for just the out most block list
    
    * Fix JS Unit tests
    
    * Roll back to IconButton refactor and fix tests
    
    * Fix BlockVerticalAlignmentToolbar buttons style on mobile
    
    * Fix thing for web and ensure ariaPressed is always passed down
    
    * Use AriaPressed directly to style SVG on mobile
    
    * Update snapshots
    
    * Support group block on mobile
    
    * Extend shouldShowInsertionPoint condition to be false when group is selected
    
    * Code refactor
    
    * Update package-lock
    lukewalczak authored and pinarol committed Sep 3, 2019
    Configuration menu
    Copy the full SHA
    89664eb View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2019

  1. Configuration menu
    Copy the full SHA
    fc8c3da View commit details
    Browse the repository at this point in the history
  2. [RNMobile] DarkMode improvements (#17309)

    * Remove the need to import `useStyle` and pass the theme prop on every instance that `withStyle` is used
    
    * Implement dark-mode refactor on all components
    
    * Fix broken native tests
    
    * Fix default block appender background color on DarkMode
    
    * DarkMode: Make `useStyle` a class function
    etoledom authored Sep 4, 2019
    Configuration menu
    Copy the full SHA
    264b178 View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2019

  1. [RNMobile] Add autosave to mobile apps (#17329)

    * [RNMobile] Fix crash when adding separator
    
    * Build: remove global install of latest npm since we want to use the paired node/npm version (#17134)
    
    * Build: remove global install of latest npm since we want to use the paired node/npm version
    * Also update travis to remove --latest-npm flag
    
    * [RNMobile] Try dark mode (iOS) (#17067)
    
    * Adding dark mode component implemented on list and list block
    
    * Adding DarkMode handling to RichText, ToolBar and SafeArea
    
    * Mobile: Using DarkMode as HOC
    
    * iOS DarkMode: Modified colors on block list and block container
    
    * iOS DarkMode: Improved Header Toolbar colors
    
    * iOS DarkMode: Removing background from buttons
    
    * iOS DarkMode warning and unsupported
    
    * iOS DarkMode: MediaPlaceholder
    
    * iOS DarkMode: BottomSheets
    
    * iOS DarkMode: Inserter
    
    * iOS DarkMode: DefaultBlockAppender
    
    * iOS DarkMode: PostTite
    
    * Update hardcoded colors with variables
    
    * iOS DarkMode: Fix bottom-sheet cell value color
    
    * iOS DarkMode: More - PageBreak - Add Block Here
    
    * iOS DarkMode: Better text color
    
    * iOS Darkmode: Code block
    
    * iOS DarkMode: HTML View
    
    * iOS DarkMode: Improve colors on SafeArea
    
    * Fix toolbar not avoiding keyboard regression
    
    * Fix native unit tests
    
    * Fix gutenberg-mobile unit tests
    
    * Adding RNDarkMode mocks
    
    * RNMobile: Fix crash when viewing HTML on iOS
    
    * [RNMobile] Remove toolbar from html view
    
    * [RNMobile] Fix MaxListenersExceededWarning caused by dark-mode event emitter (#17186)
    
    * Fix MaxListenersExceededWarning caused by dark-mode event emitter
    
    * Checking for setMaxListeners trying to avoid CI error
    
    * Adding remove listener to DarkMode HOC
    
    * DarkMode: Binding this.onModeChanged to `this`
    
    * DarkMode: Adding conditional needed to pass UI Tests on CI
    
    * Fix focus title on new posts regression (#17180)
    
    * BottomSheet: Setting DashIcon color directly when theme is default (light) (#17193)
    
    * Add a preliminary version of the AutosaveMonitor for mobile that calls the "bridge" and asks the native side to save the content
    
    * Add autosave mock function for tests
    
    * Fix merge conflicts
    
    * Fix lint
    
    * Re-add autosave on mobile that was removed erroneously during import-merge from rnmobile/master
    
    * Remove native variant of AutosaveMonitor and introduces changes at  editor store level
    
    * Default to false for `isEditedPostAutosaveable` on mobile. There was a typo in the returing value on the previous commit.
    
    * Make sure to consider edits to the Title when checking if auto-save is needed
    
    * Fix lint
    daniloercoli authored Sep 19, 2019
    Configuration menu
    Copy the full SHA
    648a1b9 View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2019

  1. Add isAppender functionality on mobile (#17195)

    * Add isAppender functionality on mobile
    
    * refactor isAppender conditions
    
    * Replace dropZoneUIOnly in favour of showMediaSelectionUI
    
    * deprecate dropZoneUIOnly and add disableMediaSelection prop
    
    * Update test
    
    * Refactor tests and change prop name
    
    * Remove redundant empty lines
    
    * Refactor conditions inside MediaPlaceholder
    
    * Update block-editor CHANGELOG
    
    * Update packages/block-editor/CHANGELOG.md
    
    Co-Authored-By: Grzegorz (Greg) Ziółkowski <grzegorz@gziolo.pl>
    lukewalczak and gziolo committed Sep 25, 2019
    Configuration menu
    Copy the full SHA
    e99d365 View commit details
    Browse the repository at this point in the history
  2. Autosave monitor - Make the mobile editor ping the native at each key…

    …stroke, since the deboucing logic is already well defined in the apps. (#17548)
    daniloercoli authored Sep 25, 2019
    Configuration menu
    Copy the full SHA
    69da85e View commit details
    Browse the repository at this point in the history
  3. [RNMobile] Refactor Dark Mode HOC (#17552)

    * [RNMobile] Refactor the Dark Mode HOC to fix naming antipatterns
    
    * Fix lint errors
    
    * Add .native.js suffix to usePreferredColorScheme
    
    * Update usage of theme props renamed to preferredColorScheme
    
    * Update usage of theme props renamed to preferredColorScheme
    Tug authored Sep 25, 2019
    Configuration menu
    Copy the full SHA
    ae6d2ce View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1c9b133 View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2019

  1. Fix lint issue (#17598)

    lukewalczak authored and pinarol committed Sep 26, 2019
    Configuration menu
    Copy the full SHA
    df025a6 View commit details
    Browse the repository at this point in the history
  2. Fix list filter on paste for RN mobile. (#17550)

    * Fix method for RN mobile.
    
    * Use array.From instead of slice.
    
    * Remove comment and use Array.from directly
    
    * Convert from NodeList spreadable to Array.from
    
    * Fix lint errors.
    
    * Fix documentation examples to use Array.from
    
    * Add empty line.
    SergioEstevao authored Sep 26, 2019
    Configuration menu
    Copy the full SHA
    d8b0d83 View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2019

  1. [RNMobile] Move MediaUploadPorgress to its own component folder (#17392)

    * Move MediaUploadPorgress to its own component folder (native)
    
    * MediaUploadProgress - Fix import to code standards
    
    * MediaUploadProgress readme
    
    * Mobile - MediaUploadProgress README update
    geriux authored and koke committed Sep 27, 2019
    Configuration menu
    Copy the full SHA
    f3085c1 View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2019

  1. Rnmobile/fix link editing on start (#17631)

    * Don't try to clear links if text is clean.
    
    * Commented LinkUI removal test when no URL.
    
    * Don't try to remove link if we are at start of link and no actual selection is
    SergioEstevao authored Sep 30, 2019
    Configuration menu
    Copy the full SHA
    95acf23 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'rnmobile/master' into mobile_master_to_master

    # Conflicts:
    #	packages/block-editor/src/components/media-placeholder/README.md
    #	packages/block-editor/src/components/media-upload/README.md
    #	packages/compose/src/hooks/use-preferred-color-scheme/index.native.js
    #	packages/editor/src/components/provider/index.native.js
    #	test/native/setup.js
    SergioEstevao committed Sep 30, 2019
    Configuration menu
    Copy the full SHA
    a8ad454 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fab417f View commit details
    Browse the repository at this point in the history

Commits on Oct 1, 2019

  1. Update index.native.js

    gziolo authored Oct 1, 2019
    Configuration menu
    Copy the full SHA
    b23d6f9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4661fbb View commit details
    Browse the repository at this point in the history