Skip to content

Commit

Permalink
Mobile Release v1.46.0 (#28634)
Browse files Browse the repository at this point in the history
* Release script: Update react-native-editor version to 1.46.0

* Release script: Update with changes from 'npm run core preios'

* [RNMobile] Correct condition in setting blockWidth (#28635)

* [RNMobile] Fix height of the bottom-sheet after using back button (#28632)

* remove unused param and setHeight even if it is the same

* [RNMobile] Audio Player UI for audio block (#27467)

* Basics of Audio block working

* Add audio support to MediaUpload

* Add handling of file uploads and replace

* WPMediaLibrary support for Audio block

* Avoid removing media info on error state

* Linting

* Added an AUDIO file to the test requestMediaPickFromMediaLibrary func

* Fixed typo in ToolbarButton of Audio Block.

* Removed auto help behavior present on web that's not used on mobile.

* [Android] Wired the click of the Audio Media Library button.

* Added Audio media options for choosing audio file locally.

* [RNMobile] Audio Block: Proper caption field (#27689)

* Audio Player UI for audio block

* Add extension to styles import

* Show file name while loading and retry message on error

* Pass state props to audio player component

* Implement placeholder-ish player UI structure

* added styles for icon, title and subtitle

* added blue-wordpress as link color.

* added sizing based on design specs.

* Fixed object destructuring error.

* added icon styling state for upload in progress or upload failed.

* implemented error style and behavior.

* added styling for upload failed text.

* Override MediaUploadProgress styles

* Update filename extension spseration to handle two dots

* Update UI structure and styles

* Make retry message translateable

* Update snaphots

* Fix lint error

* Set initial file name

* Remove devOnly flag from audio block

* Increase tap target of button

* Add 1px between title and subtitle

* Align title, subtitle and button vertically

* On iOS use VideoPlayer to play audio files in-app

* Revert "On iOS use VideoPlayer to play audio files in-app"

This reverts commit b1eb8dd.

* [RNMobile] Audio Block -  Cancel and Retry Dialog (#28540)

Co-authored-by: Ceyhun Ozugur <[email protected]>

* Rename button title

* Add pill-shaped background to button

* Add padding to title

* Fix file title being empty when selecting from media library

* Use safeDecodeURI

* On iOS use VideoPlayer to play audio files in-app

* Decrease button font size

Co-authored-by: Joel Dean <[email protected]>

* Revert "Remove devOnly flag from audio block"

This reverts commit e6b5b6d.

* Add right padding to title container to fix error state

Co-authored-by: Joel Dean <[email protected]>
Co-authored-by: Ceyhun Ozugur <[email protected]>

* [RNMobile] Enable Audio Block (#28594)

Co-authored-by: Joel Dean <[email protected]>

* Update react-native-editor CHANGELOG

* Update unsupported block test data for UI tests (#28649)

The unsupported block now used is jetpack/gif since Audio block is now supported.

* Revert indentation of modified package.json files

* Update react-native-editor CHANGELOG

* [RNMobile] Move custom indicator to be rendered above the colors (#28698)

* [RNMobile] Move back disabled style for button in File block (#28704)

Co-authored-by: Luke Walczak <[email protected]>
Co-authored-by: Drapich Piotr <[email protected]>
Co-authored-by: etoledom <[email protected]>
Co-authored-by: Joel Dean <[email protected]>
Co-authored-by: Ceyhun Ozugur <[email protected]>
  • Loading branch information
6 people authored Feb 5, 2021
1 parent 1f1bcc6 commit 9236fe5
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion packages/react-native-aztec/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@wordpress/react-native-aztec",
"version": "1.45.0",
"version": "1.46.0",
"description": "Aztec view for react-native.",
"private": true,
"author": "The WordPress Contributors",
Expand Down
2 changes: 1 addition & 1 deletion packages/react-native-bridge/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@wordpress/react-native-bridge",
"version": "1.45.0",
"version": "1.46.0",
"description": "Native bridge library used to integrate the block editor into a native App.",
"private": true,
"author": "The WordPress Contributors",
Expand Down
10 changes: 5 additions & 5 deletions packages/react-native-editor/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ For each user feature we should also add a importance categorization label to i
-->

## Unreleased
* [***] New Block: Audio
* [**] Add support for setting heading anchors
* [**] Make inserter long-press options "add to beginning" and "add to end" always available. [#28610]
* [**] Disable Unsupported Block Editor for Reusable blocks

#### Bug Fix
* Add proper handling for single use blocks such as the more block [#28339]
## 1.46.0
* [***] New Block: Audio [#27401, #27467, #28594]
* [**] Add support for setting heading anchors [#27935]
* [**] Disable Unsupported Block Editor for Reusable blocks [#28552]
* [**] Add proper handling for single use blocks such as the more block [#28339]

## 1.45.0
* [*] Use react-native-url-polyfill in globals - [https://github.com/WordPress/gutenberg/pull/27867]
Expand Down
8 changes: 4 additions & 4 deletions packages/react-native-editor/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ PODS:
- DoubleConversion
- glog
- glog (0.3.5)
- Gutenberg (1.45.0):
- Gutenberg (1.46.0):
- React-Core (= 0.61.5)
- React-CoreModules (= 0.61.5)
- React-RCTImage (= 0.61.5)
Expand Down Expand Up @@ -253,7 +253,7 @@ PODS:
- React-Core
- RNSVG (9.13.6-gb):
- React-Core
- RNTAztecView (1.45.0):
- RNTAztecView (1.46.0):
- React-Core
- WordPress-Aztec-iOS (~> 1.19.3)
- WordPress-Aztec-iOS (1.19.3)
Expand Down Expand Up @@ -402,7 +402,7 @@ SPEC CHECKSUMS:
FBReactNativeSpec: 118d0d177724c2d67f08a59136eb29ef5943ec75
Folly: 30e7936e1c45c08d884aa59369ed951a8e68cf51
glog: 1f3da668190260b06b429bb211bfbee5cd790c28
Gutenberg: c1ffe7f143c35f6d19a4ed0011b78019d11fe03b
Gutenberg: ddf8773fb7cb17282b990a92bb4bb689f5561778
RCTRequired: b153add4da6e7dbc44aebf93f3cf4fcae392ddf1
RCTTypeSafety: 9aa1b91d7f9310fc6eadc3cf95126ffe818af320
React: b6a59ef847b2b40bb6e0180a97d0ca716969ac78
Expand Down Expand Up @@ -435,7 +435,7 @@ SPEC CHECKSUMS:
RNReanimated: f05baf4cd76b6eab2e4d7e2b244424960b968918
RNScreens: 953633729a42e23ad0c93574d676b361e3335e8b
RNSVG: 46c4b680fe18237fa01eb7d7b311d77618fde31f
RNTAztecView: 14e03d6cc8719ad21fbbc0678f887fcefa9ea42b
RNTAztecView: 70085b41b999a670bc94d13e58adfd6c7f46fa2a
WordPress-Aztec-iOS: b7ac8b30f746992e85d9668453ac87c2cdcecf4f
Yoga: f2a7cd4280bfe2cca5a7aed98ba0eb3d1310f18b

Expand Down
2 changes: 1 addition & 1 deletion packages/react-native-editor/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@wordpress/react-native-editor",
"version": "1.45.0",
"version": "1.46.0",
"description": "Mobile WordPress gutenberg editor.",
"author": "The WordPress Contributors",
"license": "GPL-2.0-or-later",
Expand Down

0 comments on commit 9236fe5

Please sign in to comment.