Skip to content

Commit

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

* Release script: Update CHANGELOG for version 1.119.0

* Release script: Update podfile

* [Mobile] - Image corrector - Check the path extension is a valid one (#62190)

* Mobile - Image corrector - Check the path extension is a valid one

* [Mobile] - Image corrector- Expand comment explaining the filtering for file: media paths

* Integration Test helpers - Expand pasteIntoRichText to support passing files as a parameter

* Mobile Editor Tests - Add new tests related to pasting HTML content with local image paths

* Update snapshot

* [Mobile] - Unsupported block - UI improvements (#62240)

* Mobile - Unsupported block editor - Update editor style overrides

* Mobile - Unsupported block - Update UI to show Tap to edit for unsupported blocks, simplifying the flow to open the Unsupported block editor

* Fix unsupported block condition

* Update snapshot

* Fix condition for the help icon

* Release script: Update react-native-editor version to 1.119.1

* Release script: Update CHANGELOG for version 1.119.1

* Release script: Update podfile

* Update Unsupported Block Editor condition and reverts the functionality to select the block first before opening the editor.

* Update snapshot

* Update package-lock.json

---------

Co-authored-by: twstokes <twstokes@git.wordpress.org>
Co-authored-by: geriux <geriux@git.wordpress.org>
Co-authored-by: fluiddot <carlosgprim@git.wordpress.org>
  • Loading branch information
4 people authored Jun 5, 2024
1 parent a58e49b commit eaf2d65
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 13 deletions.
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 6 additions & 2 deletions packages/block-library/src/missing/edit.native.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,14 @@ export class UnsupportedBlockEdit extends Component {
canEditUnsupportedBlock() {
const {
canEnableUnsupportedBlockEditor,
isEditableInUnsupportedBlockEditor,
isUnsupportedBlockEditorSupported,
} = this.props;

return (
! canEnableUnsupportedBlockEditor &&
isUnsupportedBlockEditorSupported
isUnsupportedBlockEditorSupported &&
isEditableInUnsupportedBlockEditor
);
}

Expand Down Expand Up @@ -194,7 +196,8 @@ export class UnsupportedBlockEdit extends Component {

render() {
const { originalName } = this.props.attributes;
const { getStylesFromColorScheme, preferredColorScheme } = this.props;
const { isSelected, getStylesFromColorScheme, preferredColorScheme } =
this.props;
const blockType = coreBlocks[ originalName ];

const title = this.getTitle();
Expand Down Expand Up @@ -226,6 +229,7 @@ export class UnsupportedBlockEdit extends Component {
const iconClassName = 'unsupported-icon' + '-' + preferredColorScheme;
return (
<TouchableOpacity
disabled={ ! isSelected }
activeOpacity={ 0.5 }
accessibilityLabel={ __( 'Help button' ) }
accessibilityRole="button"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ exports[`Missing block renders without crashing 1`] = `
{
"busy": undefined,
"checked": undefined,
"disabled": undefined,
"disabled": true,
"expanded": undefined,
"selected": undefined,
}
Expand Down
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.119.0",
"version": "1.119.1",
"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.119.0",
"version": "1.119.1",
"description": "Native bridge library used to integrate the block editor into a native App.",
"private": true,
"author": "The WordPress Contributors",
Expand Down
4 changes: 4 additions & 0 deletions packages/react-native-editor/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ For each user feature we should also add a importance categorization label to i
- [*] Prevent deleting content when backspacing in the first Paragraph block [#62069]
- [internal] Adds new bridge functionality for updating content [#61796]

## 1.119.1
- [*] Image corrector - Check the path extension is a valid one [#62190]
- [*] Unsupported block - UI improvements [#62240]

## 1.119.0
- [internal] Remove circular dependencies within the components package [#61102]
- [internal] Upgrade target sdk version to Android API 34 [#61727]
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 @@ -13,7 +13,7 @@ PODS:
- ReactCommon/turbomodule/core (= 0.73.3)
- fmt (6.2.1)
- glog (0.3.5)
- Gutenberg (1.119.0):
- Gutenberg (1.119.1):
- React-Core (= 0.73.3)
- React-CoreModules (= 0.73.3)
- React-RCTImage (= 0.73.3)
Expand Down Expand Up @@ -1109,7 +1109,7 @@ PODS:
- React-Core
- RNSVG (14.0.0):
- React-Core
- RNTAztecView (1.119.0):
- RNTAztecView (1.119.1):
- React-Core
- WordPress-Aztec-iOS (= 1.19.11)
- SDWebImage (5.11.1):
Expand Down Expand Up @@ -1343,7 +1343,7 @@ SPEC CHECKSUMS:
FBReactNativeSpec: 73b3972e2bd20b3235ff2014f06a3d3af675ed29
fmt: ff9d55029c625d3757ed641535fd4a75fedc7ce9
glog: c5d68082e772fa1c511173d6b30a9de2c05a69a2
Gutenberg: 8f5a5b16c987c6532add8413cb3411f583f43b69
Gutenberg: be04e16bda9f59460f938d9c3f1248778df0368f
hermes-engine: 5420539d016f368cd27e008f65f777abd6098c56
libevent: 4049cae6c81cdb3654a443be001fb9bdceff7913
libwebp: 60305b2e989864154bd9be3d772730f08fc6a59c
Expand Down Expand Up @@ -1402,7 +1402,7 @@ SPEC CHECKSUMS:
RNReanimated: 6936b41d8afb97175e7c0ab40425b53103f71046
RNScreens: 2b73f5eb2ac5d94fbd61fa4be0bfebd345716825
RNSVG: 255767813dac22db1ec2062c8b7e7b856d4e5ae6
RNTAztecView: c0a124a24b01a96ceeac8c0dcdc461f2d06e13f2
RNTAztecView: 268a6489f223c3a91afa2ba5ee7bef82df900c69
SDWebImage: a7f831e1a65eb5e285e3fb046a23fcfbf08e696d
SDWebImageWebPCoder: 908b83b6adda48effe7667cd2b7f78c897e5111d
SocketRocket: f32cd54efbe0f095c4d7594881e52619cfe80b17
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.119.0",
"version": "1.119.1",
"description": "Mobile WordPress gutenberg editor.",
"author": "The WordPress Contributors",
"license": "GPL-2.0-or-later",
Expand Down

0 comments on commit eaf2d65

Please sign in to comment.