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.78.1 #41767

Merged
merged 37 commits into from
Jun 17, 2022
Merged

Mobile Release v1.78.1 #41767

merged 37 commits into from
Jun 17, 2022

Commits on May 11, 2022

  1. Configuration menu
    Copy the full SHA
    6ea1d57 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bcddcbc View commit details
    Browse the repository at this point in the history
  3. Update Changelog

    jhnstn committed May 11, 2022
    Configuration menu
    Copy the full SHA
    678bd2f View commit details
    Browse the repository at this point in the history

Commits on May 20, 2022

  1. Configuration menu
    Copy the full SHA
    21b838c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7f79f52 View commit details
    Browse the repository at this point in the history
  3. [Mobile] - BlockList - Add internal onLayout from CellRendererCompone…

    …nt to BlockListItemCell (#41105)
    
    * Mobile - BlockList - Pass FlatList internal onLayout through CellRendererComponent
    
    * Mobile - Update onLayout naming for BlockListItemCell
    Gerardo Pacheco committed May 20, 2022
    Configuration menu
    Copy the full SHA
    981471e View commit details
    Browse the repository at this point in the history
  4. [Mobile] - Fix Drag & Drop Chip positioning issue with RTL languages (#…

    …41053)
    
    * Mobile - Fix - Drag & drop chip issue with RTL languages
    
    * Mobile - BlockDraggable - Rename maxWidth variable to contentWidth
    
    * Mobile - BlockDraggable - Add custom exiting animation that uses the same functionality as ZoomOutEasyDown but customizing the translateX value taking into account RTL languages.
    Gerardo Pacheco committed May 20, 2022
    Configuration menu
    Copy the full SHA
    0087e3d View commit details
    Browse the repository at this point in the history
  5. [RNMobile] Add drag & drop help guide in Help & Support screen (#40961)

    * Add drag & drop help guide
    
    * Update content of help screen related to moving blocks
    
    * Update drand-and-drop images
    
    * Update styles of heading component of help screen
    
    * Add HelpDetailBadge component
    
    This component will be rendered in `HelpDetailSectionHeadingText` component via the `badge` prop.
    
    * Add NEW badge to move blocks help section
    
    * Optimize drag-and-drop images
    
    * Add move-blocks icon to Help & Support screen
    
    * Update react-native-editor changelog
    
    * Add HelpSectionTitle component
    
    * Prevent rendering separator on last help topic item
    fluiddot authored and Gerardo committed May 20, 2022
    Configuration menu
    Copy the full SHA
    5c6fe0d View commit details
    Browse the repository at this point in the history
  6. [RNMobile] Fix drag mode not being enabled when long-pressing over Sh…

    …ortcode block (#41155)
    
    * Add prop for disabling suggestions button
    
    * Use allowed formats in format types calculation
    
    * Add RichText version to PlainText component
    
    * Use experimental version of PlainText in Shortcode block
    
    * Add disableAutocorrection prop to RichText
    
    * Disable autocorrection in Shortcode block
    
    * Update PlainText props in Shortcode block
    
    * Use pre as tagName in PlainText
    
    * Rename replaceLineBreaks function
    
    * Update shortcode block unit tests
    
    * Prevent text input focus when selecting Shortcode block
    
    * Force text color in Shortcode block
    
    * Remove tagName prop from PlainText component
    fluiddot authored and Gerardo committed May 20, 2022
    Configuration menu
    Copy the full SHA
    09d4368 View commit details
    Browse the repository at this point in the history
  7. Mobile - Update changelog

    Gerardo committed May 20, 2022
    Configuration menu
    Copy the full SHA
    c951e59 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    d0b2cea View commit details
    Browse the repository at this point in the history

Commits on May 24, 2022

  1. Configuration menu
    Copy the full SHA
    132bc3a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cb4105f View commit details
    Browse the repository at this point in the history
  3. [RNMobile] Improve text read by screen readers for BottomSheetSelectC…

    …ontrol (#41036)
    
    Improves the text that's read by screen readers by the BottomSheetSelectControl component, adding extra context and making its purpose clearer.
    Siobhan Bamber committed May 24, 2022
    Configuration menu
    Copy the full SHA
    639598f View commit details
    Browse the repository at this point in the history
  4. [RNMobile] Add 'Insert from URL' option to Image block (#40334)

    * Add 'Insert from URL' option to Video and Image blocks
    
    * Update code style from linting
    
    * Improve test cases for Media Upload capture options
    
    * Fix whitespace issue
    
    * Update Media Upload option tests to be asynchronous
    
    * Update native image block to use correct image URL
    
    * Add error handling for invalid URLs to native Image block
    
    * Clear invalid URL error on Image URL success
    
    * Fix synchronicity of Media Upload option tests
    
    * Add check for URL handler to native Image block picker options
    
    * Update code style
    
    * Remove Video block from urlSource options
    
    Why: to be introduced in a later PR
    
    * Remove URL option from Video block for Media Upload test
    
    * Use Notice snackbar for native Image block error handling
    
    * Update Image/Media Upload code style and helpers
    
    * Use getImage to determine if URL is a valid image within Image block
    
    * Add loading indicator and isURL check to native Image block URL behavior
    
    * Add loading indicator to native Image block media placeholder
    
    * Fix whitespace issue in native Image block code style
    
    * Reuse native Image block loading indicator
    
    * Use undefined dimension attributes for the native Image block URL behavior
    
    Co-authored-by: Derek Blank <[email protected]>
    2 people authored and Siobhan committed May 24, 2022
    Configuration menu
    Copy the full SHA
    3fe5683 View commit details
    Browse the repository at this point in the history
  5. [RNMobile] - E2E Simplify heading and lists blocks functions (#40670)

    * update tests using paragraph, heading and list blocks
    
    * fix slash inserter tests to work in ci
    
    * lint fixes
    
    * wait for ordered list to appear
    
    * lint fixes
    
    * extra click only on local env
    
    * wait to get backspace click reflected
    
    * re-add extra click only for local env
    
    * add wait to wait for backspace key to be reflected
    
    * lint fixes
    
    * break function, set position to get list block
    
    * lint fixes
    
    * use correct params, update function name
    
    * lint fixes
    
    * make maxIteration a parameter for isElementVisible
    
    * update xpath for list block
    
    * utilize waitForVisible for isElementVisible
    
    * lint fixes
    
    * add wait to getNumberOfParagraphBlocks and update xpath for android list block
    
    * update edit text xpath to be read from any level
    
    Co-authored-by: jos <[email protected]>
    2 people authored and Siobhan committed May 24, 2022
    Configuration menu
    Copy the full SHA
    a6dd494 View commit details
    Browse the repository at this point in the history
  6. Add ruby version file (#41013)

    Use same version of ruby that is used on WP iOS
    jhnstn authored and Siobhan committed May 24, 2022
    Configuration menu
    Copy the full SHA
    1b3391e View commit details
    Browse the repository at this point in the history
  7. [RNMobile] Improvements to Getting Started Guides (#40964)

    * Update with copy from Gutenberg Mobile
    
    Gutenberg Mobile's readme had some copy in the troubleshooting section that wasn't included in Gutenberg's how-to: https://github.com/wordpress-mobile/gutenberg-mobile/edit/trunk/README.md
    
    This commit fixes that issue by updating Gutenberg's how-to with the latest from Gutenberg Mobile.
    
    * Tweak wording, update inconsistent capitalisation
    
    * Tweaks to copy and formatting
    
    With this commit, I've tidied up some of the copy, attempting to make the instructions as concise and helpful as possible. I've also set the images to the same width to tidy up the overall look of the document (the images will appear small on mobile devices, but can be tapped on to get the full image).
    
    * Set all images to fixed width, for consistency
    
    * Rearrange sections to improve overall flow
    
    - The "Unit Tests" is moved towards the bottom of the document, so that's it's closer to the instructions for integration tests. the document flows as follows:
    - The steps for installing Xcode are moved under the "iOS" section.
    - The overall flow of the document has been updated to the following: Clone Gutenberg > iOS > Android > Tests
    
    * Add details about recommended JDK
    
    * Add details about Cocoapods
    
    * Refine instructions for installing Cocoapods
    
    * Note `ffi` may already be installed
    
    Some versions of Ruby may not require the `ffi` to be manually installed, which is noted with this commit.
    Siobhan Bamber committed May 24, 2022
    Configuration menu
    Copy the full SHA
    148f835 View commit details
    Browse the repository at this point in the history

Commits on May 26, 2022

  1. update expected html for file block (#41300)

    Co-authored-by: jos <[email protected]>
    2 people authored and Siobhan committed May 26, 2022
    Configuration menu
    Copy the full SHA
    a046a61 View commit details
    Browse the repository at this point in the history
  2. Add waitForVisible() to all blocks (#41126)

    * add waits to all block - 1st try
    
    * fix failing tests
    
    * correct if else condition
    
    * fix failing cover block test
    
    * update spaces
    
    * update to use new click helper
    
    * wait for blocks to be visible first in getFirstBlock and getLastBlock
    
    * remove length as a parameter
    
    * update timing for long press since it's failing intermittently in ci
    
    * remove deleted param, revert space changes
    
    * remove redundant code
    
    * exit function once condition is met
    
    * increse wait time for long press
    
    * remove unneccesary condition, update message, return click value
    
    Co-authored-by: jos <[email protected]>
    2 people authored and Siobhan committed May 26, 2022
    Configuration menu
    Copy the full SHA
    ede6624 View commit details
    Browse the repository at this point in the history
  3. Update CHANGELOG

    Siobhan committed May 26, 2022
    Configuration menu
    Copy the full SHA
    2daf775 View commit details
    Browse the repository at this point in the history
  4. Revert "update expected html for file block (#41300)"

    This reverts commit a046a61.
    Siobhan committed May 26, 2022
    Configuration menu
    Copy the full SHA
    d8fbfbd View commit details
    Browse the repository at this point in the history
  5. [RNMobile] Ensure post title gets focused when is notified from nativ…

    …e side (#41371)
    fluiddot authored and Siobhan committed May 26, 2022
    Configuration menu
    Copy the full SHA
    efc0f2c View commit details
    Browse the repository at this point in the history

Commits on Jun 2, 2022

  1. Configuration menu
    Copy the full SHA
    4c714af View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9365c4e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ad2c8e4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f10a378 View commit details
    Browse the repository at this point in the history

Commits on Jun 10, 2022

  1. Configuration menu
    Copy the full SHA
    4cfbd82 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5b447b4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8bd8d90 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    bdaaf6e View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2022

  1. Configuration menu
    Copy the full SHA
    6e13c9e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    32ab484 View commit details
    Browse the repository at this point in the history
  3. [RNMobile] Gallery block: Re-introduce v1 (#41533)

    * Fix isGalleryV2Enabled calculation for the native version
    
    * Update comment in isGalleryV2Enabled function
    
    Co-authored-by: David Calhoun <[email protected]>
    
    Co-authored-by: David Calhoun <[email protected]>
    2 people authored and Siobhan committed Jun 16, 2022
    Configuration menu
    Copy the full SHA
    4ae461c View commit details
    Browse the repository at this point in the history
  4. [RNMobile] Fix missing translations for locales that include region (…

    …only on Android) (#41685)
    fluiddot authored and Siobhan committed Jun 16, 2022
    Configuration menu
    Copy the full SHA
    01adee1 View commit details
    Browse the repository at this point in the history
  5. Update CHANGELOG

    Siobhan committed Jun 16, 2022
    Configuration menu
    Copy the full SHA
    b1352b7 View commit details
    Browse the repository at this point in the history

Commits on Jun 17, 2022

  1. Merge branch 'trunk' into rnmobile/release_1.78.1

    # Conflicts:
    #	packages/block-editor/src/components/media-upload/index.native.js
    #	packages/block-editor/src/components/plain-text/index.native.js
    #	packages/block-library/src/image/edit.native.js
    #	packages/block-library/src/shortcode/edit.native.js
    #	packages/block-library/src/shortcode/test/edit.native.js
    #	packages/editor/src/components/editor-help/index.native.js
    #	packages/react-native-aztec/package.json
    #	packages/react-native-bridge/package.json
    #	packages/react-native-editor/CHANGELOG.md
    #	packages/react-native-editor/__device-tests__/[email protected]
    #	packages/react-native-editor/__device-tests__/helpers/utils.js
    #	packages/react-native-editor/__device-tests__/pages/editor-page.js
    #	packages/react-native-editor/ios/Podfile.lock
    #	packages/react-native-editor/package.json
    fluiddot committed Jun 17, 2022
    Configuration menu
    Copy the full SHA
    eb2046e View commit details
    Browse the repository at this point in the history