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

Audio block capability now enables/disables media upload's media sources #3523

Merged
merged 19 commits into from
Jun 3, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions RELEASE-NOTES.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Unreleased
------
* [***] Audio block now available on WP.com sites on the free plan. [https://github.com/wordpress-mobile/gutenberg-mobile/pull/3523]
Copy link
Contributor

Choose a reason for hiding this comment

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

I moved this entry to the unreleased section as this PR won't be included in 1.54.0.


1.54.0
------
* [*] The BottomSheet Cell component now supports the help prop so that a hint can be supplied to all Cell based components. [https://github.com/wordpress-mobile/gutenberg-mobile/pull/3380]
Expand Down
2 changes: 2 additions & 0 deletions bundle/android/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@
<string name="gutenberg_native_problem_displaying_block" tools:ignore="UnusedResources">Problem displaying block</string>
<string name="gutenberg_native_problem_opening_the_audio" tools:ignore="UnusedResources">Problem opening the audio</string>
<string name="gutenberg_native_problem_opening_the_video" tools:ignore="UnusedResources">Problem opening the video</string>
<string name="gutenberg_native_remove_as_featured_image" tools:ignore="UnusedResources">Remove as Featured Image </string>
<string name="gutenberg_native_replace_audio" tools:ignore="UnusedResources">Replace audio</string>
<string name="gutenberg_native_replace_current_block" tools:ignore="UnusedResources">Replace Current Block</string>
<string name="gutenberg_native_replace_file" tools:ignore="UnusedResources">Replace file</string>
Expand Down Expand Up @@ -239,6 +240,7 @@
<string name="gutenberg_native_search_settings" tools:ignore="UnusedResources">Search settings</string>
<string name="gutenberg_native_select_a_color" tools:ignore="UnusedResources">Select a color</string>
<string name="gutenberg_native_select_a_layout" tools:ignore="UnusedResources">Select a layout</string>
<string name="gutenberg_native_set_as_featured_image" tools:ignore="UnusedResources">Set as Featured Image </string>
<string name="gutenberg_native_show_post_content" tools:ignore="UnusedResources">Show post content</string>
<!-- translators: Slash inserter autocomplete results -->
<string name="gutenberg_native_slash_inserter_results" tools:ignore="UnusedResources">Slash inserter results</string>
Expand Down
66 changes: 33 additions & 33 deletions bundle/ios/App.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion bundle/ios/App.js.map

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions bundle/ios/GutenbergNativeTranslations.swift
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ private func dummy() {
_ = NSLocalizedString("Problem displaying block", comment: "")
_ = NSLocalizedString("Problem opening the audio", comment: "")
_ = NSLocalizedString("Problem opening the video", comment: "")
_ = NSLocalizedString("Remove as Featured Image ", comment: "")
_ = NSLocalizedString("Replace audio", comment: "")
_ = NSLocalizedString("Replace Current Block", comment: "")
_ = NSLocalizedString("Replace file", comment: "")
Expand All @@ -202,6 +203,7 @@ private func dummy() {
_ = NSLocalizedString("Search settings", comment: "")
_ = NSLocalizedString("Select a color", comment: "")
_ = NSLocalizedString("Select a layout", comment: "")
_ = NSLocalizedString("Set as Featured Image ", comment: "")
_ = NSLocalizedString("Show post content", comment: "")
_ = NSLocalizedString("Slash inserter results", comment: "translators: Slash inserter autocomplete results")
_ = NSLocalizedString("Sorting and filtering", comment: "")
Expand Down
2 changes: 1 addition & 1 deletion gutenberg
Submodule gutenberg updated 93 files
+3 −0 .github/workflows/build-plugin-zip.yml
+1 −0 .github/workflows/create-block.yml
+1 −2 .github/workflows/end2end-test.yml
+1 −1 .github/workflows/performance.yml
+1 −0 .github/workflows/pull-request-automation.yml
+1 −0 .github/workflows/rnmobile-android-runner.yml
+1 −0 .github/workflows/rnmobile-ios-runner.yml
+1 −0 .github/workflows/stale-issue-add-needs-testing.yml
+1 −0 .github/workflows/stale-issue-mark-stale.yml
+1 −0 .github/workflows/stale-issue-needs-info.yml
+1 −1 .github/workflows/static-checks.yml
+1 −0 .github/workflows/storybook-pages.yml
+4 −2 .github/workflows/unit-test.yml
+181 −0 changelog.txt
+3 −3 docs/contributors/code/getting-started-native-mobile.md
+1 −1 docs/how-to-guides/widgets/overview.md
+1 −1 gutenberg.php
+32 −20 lib/block-supports/typography.php
+38 −0 lib/blocks.php
+1 −1 package-lock.json
+1 −1 package.json
+0 −4 packages/base-styles/_z-index.scss
+7 −3 packages/block-editor/src/components/block-list/style.scss
+5 −11 packages/block-editor/src/components/block-pattern-setup/use-patterns-setup.js
+2 −14 packages/block-editor/src/components/block-switcher/use-transformed-patterns.js
+34 −8 packages/block-editor/src/components/media-upload/index.native.js
+3 −0 packages/block-editor/src/components/media-upload/test/index.native.js
+2 −2 packages/block-editor/src/hooks/font-appearance.js
+1 −1 packages/block-editor/src/hooks/font-family.js
+1 −1 packages/block-editor/src/hooks/font-size.js
+1 −1 packages/block-editor/src/hooks/line-height.js
+16 −12 packages/block-editor/src/hooks/style.js
+2 −1 packages/block-editor/src/hooks/text-decoration.js
+2 −1 packages/block-editor/src/hooks/text-transform.js
+9 −15 packages/block-editor/src/store/selectors.js
+4 −2 packages/block-library/src/button/block.json
+3 −1 packages/block-library/src/code/block.json
+8 −0 packages/block-library/src/file/index.js
+17 −9 packages/block-library/src/group/edit.js
+5 −3 packages/block-library/src/heading/block.json
+1 −0 packages/block-library/src/image/constants.js
+72 −5 packages/block-library/src/image/edit.native.js
+1 −1 packages/block-library/src/image/editor.scss
+17 −0 packages/block-library/src/image/styles.native.scss
+4 −2 packages/block-library/src/list/block.json
+3 −1 packages/block-library/src/loginout/block.json
+10 −8 packages/block-library/src/navigation/block.json
+1 −1 packages/block-library/src/navigation/style.scss
+4 −2 packages/block-library/src/paragraph/block.json
+5 −3 packages/block-library/src/post-author/block.json
+4 −2 packages/block-library/src/post-comments-count/block.json
+4 −2 packages/block-library/src/post-comments-form/block.json
+4 −2 packages/block-library/src/post-comments-link/block.json
+5 −3 packages/block-library/src/post-comments/block.json
+16 −9 packages/block-library/src/post-content/edit.js
+4 −2 packages/block-library/src/post-date/block.json
+4 −2 packages/block-library/src/post-excerpt/block.json
+4 −2 packages/block-library/src/post-terms/block.json
+5 −3 packages/block-library/src/post-title/block.json
+3 −1 packages/block-library/src/preformatted/block.json
+4 −2 packages/block-library/src/query-pagination-next/block.json
+4 −2 packages/block-library/src/query-pagination-previous/block.json
+5 −3 packages/block-library/src/query-title/block.json
+16 −10 packages/block-library/src/query/edit/index.js
+7 −5 packages/block-library/src/site-tagline/block.json
+9 −7 packages/block-library/src/site-title/block.json
+17 −9 packages/block-library/src/template-part/edit/inner-blocks.js
+4 −2 packages/block-library/src/term-description/block.json
+4 −2 packages/block-library/src/verse/block.json
+7 −7 packages/blocks/src/api/constants.js
+0 −421 packages/components/src/form-token-field/combobox.js
+5 −1 packages/components/src/form-token-field/suggestions-list.js
+0 −1 packages/components/src/notice/style.scss
+5 −3 packages/components/src/unit-control/README.md
+3 −1 packages/components/src/unit-control/stories/index.js
+17 −16 packages/edit-post/src/components/visual-editor/index.js
+7 −5 packages/edit-site/src/components/block-editor/index.js
+2 −12 packages/editor/src/components/editor-notices/style.scss
+9 −3 packages/editor/src/components/post-preview-button/index.js
+4 −0 packages/editor/src/utils/test/url.js
+5 −5 packages/editor/src/utils/url.js
+2 −0 ...t-native-bridge/src/main/java/org/wordpress/mobile/ReactNativeGutenbergBridge/GutenbergBridgeJS2Parent.java
+5 −0 ...ridge/src/main/java/org/wordpress/mobile/ReactNativeGutenbergBridge/RNReactNativeGutenbergBridgeModule.java
+3 −3 ...ative-bridge/android/react-native-bridge/src/main/java/org/wordpress/mobile/WPAndroidGlue/GutenbergProps.kt
+12 −0 ...-bridge/android/react-native-bridge/src/main/java/org/wordpress/mobile/WPAndroidGlue/WPAndroidGlueCode.java
+4 −0 packages/react-native-bridge/index.js
+1 −1 packages/react-native-bridge/ios/GutenbergBridgeDelegate.swift
+8 −5 packages/react-native-editor/CHANGELOG.md
+1 −1 packages/react-native-editor/android/app/src/main/java/com/gutenberg/MainActivity.java
+4 −0 packages/react-native-editor/android/app/src/main/java/com/gutenberg/MainApplication.java
+1 −1 packages/react-native-editor/ios/GutenbergDemo/GutenbergViewController.swift
+0 −16 packages/react-native-editor/src/index.js
+1 −1 readme.txt