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

Add support for xpost suggestions on mobile #2746

Merged
merged 24 commits into from
Dec 23, 2020
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
2 changes: 2 additions & 0 deletions RELEASE-NOTES.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
Unreleased
------
* [***] Add support for cross-posting between sites [#2602]


1.43.0
------
Expand Down
2 changes: 2 additions & 0 deletions bundle/android/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ translators: sample content for "Team" page template -->
<string name="gutenberg_native_hide_keyboard" tools:ignore="UnusedResources">Hide keyboard</string>
<!-- translators: accessibility text. %s: image caption. -->
<string name="gutenberg_native_image_caption_s" tools:ignore="UnusedResources">Image caption. %s</string>
<string name="gutenberg_native_image_link_url" tools:ignore="UnusedResources">Image Link URL</string>
<!-- translators: sample content for "Services" page template -->
<string name="gutenberg_native_inspiration" tools:ignore="UnusedResources">Inspiration</string>
<!-- translators: sample content for "About" page template -->
Expand All @@ -135,6 +136,7 @@ translators: sample content for "Services" page template -->
<string name="gutenberg_native_let_s_build_something_together_7019bfe3" tools:ignore="UnusedResources">Let\'s build something together!</string>
<!-- translators: sample content for "Contact" page template -->
<string name="gutenberg_native_let_s_talk_don_t_hesitate_to_reach_out_with_the_contact_informati" tools:ignore="UnusedResources">Let\'s talk 👋 Don\'t hesitate to reach out with the contact information below, or send a message using the form.</string>
<string name="gutenberg_native_link_settings" tools:ignore="UnusedResources">Link Settings</string>
<string name="gutenberg_native_link_to" tools:ignore="UnusedResources">Link To</string>
<string name="gutenberg_native_move_block_down" tools:ignore="UnusedResources">Move block down</string>
<!-- translators: accessibility text. %1: current block position (number). %2: next block position (number) -->
Expand Down
3,420 changes: 1,713 additions & 1,707 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 @@ -95,13 +95,15 @@ private func dummy() {
_ = NSLocalizedString("Here is the panel content!", comment: "")
_ = NSLocalizedString("Hide keyboard", comment: "")
_ = NSLocalizedString("Image caption. %s", comment: "translators: accessibility text. %s: image caption.")
_ = NSLocalizedString("Image Link URL", comment: "")
_ = NSLocalizedString("Inspiration", comment: "translators: sample content for \"Services\" page template")
_ = NSLocalizedString("It is our choices, Harry, that show what we truly are, far more than our abilities.", comment: "translators: sample content for \"About\" page template")
_ = NSLocalizedString("J.K. Rowling", comment: "translators: sample content for \"About\" page template")
_ = NSLocalizedString("Juan Pérez", comment: "translators: sample content for \"Team\" page template")
_ = NSLocalizedString("Let's build something together!", comment: "translators: sample content for \"Portfolio\" page template")
_ = NSLocalizedString("Let's talk 👋 Don't hesitate to reach out with the contact information below, or send a message using the form.", comment: "translators: sample content for \"Contact\" page template")
_ = NSLocalizedString("Let’s build something together!", comment: "translators: sample content for \"About\" page template\ntranslators: sample content for \"Services\" page template")
_ = NSLocalizedString("Link Settings", comment: "")
_ = NSLocalizedString("Link To", comment: "")
_ = NSLocalizedString("Move block down", comment: "")
_ = NSLocalizedString("Move block down from row %1$s to row %2$s", comment: "translators: accessibility text. %1: current block position (number). %2: next block position (number)")
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion gutenberg
Submodule gutenberg updated 43 files
+182 −2 changelog.txt
+19 −16 docs/designers-developers/developers/block-api/block-registration.md
+1 −1 gutenberg.php
+1 −1 package-lock.json
+1 −1 package.json
+22 −2 packages/block-editor/README.md
+12 −1 packages/block-editor/src/components/block-card/index.js
+23 −7 packages/block-editor/src/components/block-inspector/index.js
+10 −6 packages/block-editor/src/components/block-navigation/block-select-button.js
+25 −4 packages/block-editor/src/components/block-switcher/block-styles-menu.js
+25 −1 packages/block-editor/src/components/block-switcher/block-transformations-menu.js
+1 −0 packages/block-editor/src/components/block-switcher/index.js
+3 −29 packages/block-editor/src/components/block-switcher/preview-block-popover.js
+13 −14 packages/block-editor/src/components/block-title/index.js
+12 −7 packages/block-editor/src/components/block-title/test/index.js
+1 −0 packages/block-editor/src/components/index.js
+13 −8 packages/block-editor/src/components/inserter/preview-panel.js
+42 −0 packages/block-editor/src/components/use-block-display-information/README.md
+70 −0 packages/block-editor/src/components/use-block-display-information/index.js
+4 −8 packages/block-library/src/code/style.scss
+12 −0 packages/block-library/src/embed/variations.js
+11 −0 packages/block-library/src/social-link/variations.js
+8 −0 packages/blocks/src/api/registration.js
+4 −0 packages/e2e-tests/plugins/block-variations/index.js
+73 −0 packages/e2e-tests/specs/editor/plugins/block-variations.js
+8 −5 packages/e2e-tests/specs/editor/various/font-size-picker.test.js
+3 −1 ...-bridge/android/src/main/java/org/wordpress/mobile/ReactNativeGutenbergBridge/GutenbergBridgeJS2Parent.java
+7 −2 ...droid/src/main/java/org/wordpress/mobile/ReactNativeGutenbergBridge/RNReactNativeGutenbergBridgeModule.java
+0 −7 packages/react-native-bridge/android/src/main/java/org/wordpress/mobile/WPAndroidGlue/AddMentionUtil.java
+3 −0 packages/react-native-bridge/android/src/main/java/org/wordpress/mobile/WPAndroidGlue/GutenbergProps.kt
+8 −0 packages/react-native-bridge/android/src/main/java/org/wordpress/mobile/WPAndroidGlue/ShowSuggestionsUtil.java
+9 −5 packages/react-native-bridge/android/src/main/java/org/wordpress/mobile/WPAndroidGlue/WPAndroidGlueCode.java
+6 −2 packages/react-native-bridge/index.js
+5 −0 packages/react-native-bridge/ios/GutenbergBridgeDelegate.swift
+2 −1 packages/react-native-bridge/ios/RNReactNativeGutenbergBridge.m
+13 −1 packages/react-native-bridge/ios/RNReactNativeGutenbergBridge.swift
+4 −0 packages/react-native-editor/CHANGELOG.md
+1 −0 packages/react-native-editor/android/app/src/main/java/com/gutenberg/MainActivity.java
+7 −2 packages/react-native-editor/android/app/src/main/java/com/gutenberg/MainApplication.java
+5 −0 packages/react-native-editor/ios/GutenbergDemo/GutenbergViewController.swift
+80 −47 packages/rich-text/src/component/index.native.js
+58 −0 packages/rich-text/src/component/toolbar-button-with-options.native.js
+1 −1 readme.txt