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

Feat: Open Group block for production #1850

Merged
merged 6 commits into from
Feb 6, 2020
Merged
Show file tree
Hide file tree
Changes from 4 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 @@
1.23.0
------
* New block: Group

1.22.0
------
* Add support for changing images size in Gallery block
Expand Down
2,054 changes: 1,042 additions & 1,012 deletions bundle/android/App.js

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

7 changes: 6 additions & 1 deletion bundle/android/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,14 @@
<string name="gutenberg_native_add_a_description" tools:ignore="UnusedResources">Add a description</string>
<string name="gutenberg_native_add_a_shortcode" tools:ignore="UnusedResources">Add a shortcode…</string>
<string name="gutenberg_native_add_annotation" tools:ignore="UnusedResources">Add annotation</string>
<string name="gutenberg_native_add_block_after" tools:ignore="UnusedResources">Add Block After</string>
<string name="gutenberg_native_add_block_before" tools:ignore="UnusedResources">Add Block Before</string>
<string name="gutenberg_native_add_block_here" tools:ignore="UnusedResources">ADD BLOCK HERE</string>
<string name="gutenberg_native_add_image" tools:ignore="UnusedResources">ADD IMAGE</string>
<string name="gutenberg_native_add_image_or_video" tools:ignore="UnusedResources">ADD IMAGE OR VIDEO</string>
<string name="gutenberg_native_add_link_text" tools:ignore="UnusedResources">Add link text</string>
<string name="gutenberg_native_add_to_beginning" tools:ignore="UnusedResources">Add To Beginning</string>
<string name="gutenberg_native_add_to_end" tools:ignore="UnusedResources">Add To End</string>
<string name="gutenberg_native_add_url" tools:ignore="UnusedResources">Add URL</string>
<string name="gutenberg_native_add_video" tools:ignore="UnusedResources">ADD VIDEO</string>
<string name="gutenberg_native_alt_text" tools:ignore="UnusedResources">Alt Text</string>
Expand Down Expand Up @@ -75,12 +79,12 @@
<!-- translators: accessibility text. %s: current block position (number). -->
<string name="gutenberg_native_remove_block_at_row_s" tools:ignore="UnusedResources">Remove block at row %s</string>
<string name="gutenberg_native_remove_image" tools:ignore="UnusedResources">Remove Image</string>
<string name="gutenberg_native_replace_current_block" tools:ignore="UnusedResources">Replace Current Block</string>
<string name="gutenberg_native_reset_block" tools:ignore="UnusedResources">Reset Block</string>
<!-- translators: accessibility text for the media block empty state. %s: media type -->
<string name="gutenberg_native_s_block_empty" tools:ignore="UnusedResources">%s block. Empty</string>
<!-- translators: accessibility text for blocks with invalid content. %d: localized block title -->
<string name="gutenberg_native_s_block_this_block_has_invalid_content" tools:ignore="UnusedResources">%s block. This block has invalid content</string>
<!-- translators: %s: Name of the block -->
<string name="gutenberg_native_s_isn_t_yet_supported_on_wordpress_for_android" tools:ignore="UnusedResources">\'%s\' isn\'t yet supported on WordPress for Android</string>
<string name="gutenberg_native_s_isn_t_yet_supported_on_wordpress_for_ios" tools:ignore="UnusedResources">\'%s\' isn\'t yet supported on WordPress for iOS</string>
<!-- translators: Checkbox toggle label -->
Expand All @@ -93,6 +97,7 @@
<string name="gutenberg_native_take_a_video" tools:ignore="UnusedResources">Take a Video</string>
<string name="gutenberg_native_tap_here_to_show_help" tools:ignore="UnusedResources">Tap here to show help</string>
<string name="gutenberg_native_tap_to_hide_the_keyboard" tools:ignore="UnusedResources">Tap to hide the keyboard</string>
<string name="gutenberg_native_template_preview" tools:ignore="UnusedResources">Template Preview</string>
<string name="gutenberg_native_title" tools:ignore="UnusedResources">Title:</string>
<string name="gutenberg_native_translate" tools:ignore="UnusedResources">Translate</string>
<string name="gutenberg_native_ungroup" tools:ignore="UnusedResources">Ungroup</string>
Expand Down
2,068 changes: 1,049 additions & 1,019 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.

8 changes: 7 additions & 1 deletion bundle/ios/GutenbergNativeTranslations.swift
Original file line number Diff line number Diff line change
@@ -1,18 +1,22 @@
import Foundation

private func dummy() {
_ = NSLocalizedString("'%s' isn't yet supported on WordPress for Android", comment: "translators: %s: Name of the block")
_ = NSLocalizedString("'%s' isn't yet supported on WordPress for Android", comment: "")
_ = NSLocalizedString("'%s' isn't yet supported on WordPress for iOS", comment: "")
_ = NSLocalizedString("%1$s. Current value is %2$s", comment: "translators: accessibility text. Inform about current value. %1$s: Control label %2$s: Current value.")
_ = NSLocalizedString("%s block. Empty", comment: "translators: accessibility text for the media block empty state. %s: media type")
_ = NSLocalizedString("%s block. This block has invalid content", comment: "translators: accessibility text for blocks with invalid content. %d: localized block title")
_ = NSLocalizedString("Add a description", comment: "")
_ = NSLocalizedString("Add a shortcode…", comment: "")
_ = NSLocalizedString("Add annotation", comment: "")
_ = NSLocalizedString("Add Block After", comment: "")
_ = NSLocalizedString("Add Block Before", comment: "")
_ = NSLocalizedString("ADD BLOCK HERE", comment: "")
_ = NSLocalizedString("ADD IMAGE", comment: "")
_ = NSLocalizedString("ADD IMAGE OR VIDEO", comment: "")
_ = NSLocalizedString("Add link text", comment: "")
_ = NSLocalizedString("Add To Beginning", comment: "")
_ = NSLocalizedString("Add To End", comment: "")
_ = NSLocalizedString("Add URL", comment: "")
_ = NSLocalizedString("ADD VIDEO", comment: "")
_ = NSLocalizedString("Alt Text", comment: "")
Expand Down Expand Up @@ -68,6 +72,7 @@ private func dummy() {
_ = NSLocalizedString("Remove annotations", comment: "")
_ = NSLocalizedString("Remove block at row %s", comment: "translators: accessibility text. %s: current block position (number).")
_ = NSLocalizedString("Remove Image", comment: "")
_ = NSLocalizedString("Replace Current Block", comment: "")
_ = NSLocalizedString("Reset Block", comment: "")
_ = NSLocalizedString("Show section", comment: "translators: Checkbox toggle label")
_ = NSLocalizedString("Sidebar title plugin", comment: "")
Expand All @@ -78,6 +83,7 @@ private func dummy() {
_ = NSLocalizedString("Take a Video", comment: "")
_ = NSLocalizedString("Tap here to show help", comment: "")
_ = NSLocalizedString("Tap to hide the keyboard", comment: "")
_ = NSLocalizedString("Template Preview", comment: "")
_ = NSLocalizedString("Title:", comment: "")
_ = NSLocalizedString("Translate", comment: "")
_ = NSLocalizedString("Ungroup", comment: "")
Expand Down
2 changes: 1 addition & 1 deletion gutenberg
Submodule gutenberg updated 85 files
+1 −1 packages/a11y/package.json
+1 −1 packages/annotations/package.json
+1 −1 packages/api-fetch/package.json
+1 −1 packages/autop/package.json
+1 −1 packages/babel-plugin-import-jsx-pragma/package.json
+1 −1 packages/babel-plugin-makepot/package.json
+2 −0 packages/babel-preset-default/CHANGELOG.md
+1 −1 packages/babel-preset-default/package.json
+1 −1 packages/base-styles/package.json
+1 −1 packages/blob/package.json
+1 −1 packages/block-directory/package.json
+1 −1 packages/block-editor/package.json
+1 −1 packages/block-library/package.json
+1 −1 packages/block-library/src/index.native.js
+1 −3 packages/block-library/src/latest-posts/edit.js
+2 −7 packages/block-library/src/latest-posts/index.php
+1 −1 packages/block-serialization-default-parser/package.json
+1 −1 packages/block-serialization-spec-parser/package.json
+1 −1 packages/blocks/package.json
+1 −1 packages/components/package.json
+1 −1 packages/compose/package.json
+1 −1 packages/core-data/package.json
+2 −0 packages/create-block/CHANGELOG.md
+2 −2 packages/create-block/package.json
+1 −1 packages/custom-templated-path-webpack-plugin/package.json
+1 −1 packages/data-controls/package.json
+1 −1 packages/data/package.json
+1 −1 packages/date/package.json
+1 −1 packages/dependency-extraction-webpack-plugin/package.json
+1 −1 packages/deprecated/package.json
+2 −0 packages/docgen/CHANGELOG.md
+1 −1 packages/docgen/package.json
+1 −1 packages/dom-ready/package.json
+1 −1 packages/dom/package.json
+1 −1 packages/e2e-test-utils/package.json
+1 −1 packages/e2e-tests/package.json
+1 −1 packages/edit-post/package.json
+1 −1 packages/edit-site/package.json
+1 −1 packages/edit-widgets/package.json
+1 −1 packages/editor/package.json
+1 −1 packages/element/package.json
+2 −0 packages/env/CHANGELOG.md
+1 −1 packages/env/package.json
+1 −1 packages/escape-html/package.json
+2 −0 packages/eslint-plugin/CHANGELOG.md
+1 −1 packages/eslint-plugin/package.json
+1 −1 packages/format-library/package.json
+1 −1 packages/hooks/package.json
+1 −1 packages/html-entities/package.json
+1 −1 packages/i18n/package.json
+3 −1 packages/icons/CHANGELOG.md
+1 −1 packages/is-shallow-equal/package.json
+1 −1 packages/jest-console/package.json
+2 −0 packages/jest-preset-default/CHANGELOG.md
+1 −1 packages/jest-preset-default/package.json
+1 −1 packages/jest-puppeteer-axe/package.json
+3 −1 packages/keyboard-shortcuts/CHANGELOG.md
+1 −1 packages/keyboard-shortcuts/package.json
+1 −1 packages/keycodes/package.json
+1 −1 packages/library-export-default-webpack-plugin/package.json
+1 −1 packages/list-reusable-blocks/package.json
+1 −1 packages/media-utils/package.json
+1 −1 packages/notices/package.json
+1 −1 packages/npm-package-json-lint-config/package.json
+1 −1 packages/nux/package.json
+1 −1 packages/plugins/package.json
+1 −1 packages/postcss-themes/package.json
+1 −1 packages/primitives/package.json
+2 −0 packages/priority-queue/CHANGELOG.md
+1 −1 packages/priority-queue/package.json
+1 −1 packages/project-management-automation/package.json
+2 −0 packages/redux-routine/CHANGELOG.md
+1 −1 packages/redux-routine/package.json
+1 −1 packages/rich-text/package.json
+2 −0 packages/scripts/CHANGELOG.md
+1 −1 packages/scripts/package.json
+2 −0 packages/server-side-render/CHANGELOG.md
+1 −1 packages/server-side-render/package.json
+1 −1 packages/shortcode/package.json
+1 −1 packages/token-list/package.json
+1 −1 packages/url/package.json
+1 −1 packages/viewport/package.json
+5 −0 packages/warning/CHANGELOG.md
+1 −1 packages/warning/package.json
+1 −1 packages/wordcount/package.json