Skip to content
This repository was archived by the owner on Jul 9, 2026. It is now read-only.

Release 1.105.0 - #6243

Merged
fluiddot merged 7 commits into
trunkfrom
release/1.105.0
Sep 28, 2023
Merged

fluiddot merged 7 commits into
trunkfrom
release/1.105.0

Conversation

@derekblank

@derekblank derekblank commented Sep 28, 2023 •

Copy link
Copy Markdown
Contributor

Release for Gutenberg Mobile 1.105.0

Related PRs

Extra PRs that Landed After the Release Was Cut

No extra PRs yet. 🎉

Changes

Change 1: Prevent crash from invalid media URLs

Change 2: Limit inner blocks nesting depth to avoid call stack size exceeded crash

Change 3: Fallback to Twitter provider when embedding X URLs

Test plan

Once the installable builds of the main apps are ready, perform a quick smoke test of the editor on both iOS and Android to verify it launches without crashing. We will perform additional testing after the main apps cut their releases.

Release Submission Checklist

  • Verify Items from test plan have been completed
  • Check if RELEASE-NOTES.txt is updated with all the changes that made it to the release. Replace Unreleased section with the release version and create a new Unreleased section.
  • Check if gutenberg/packages/react-native-editor/CHANGELOG.md is updated with all the changes that made it to the release. Replace ## Unreleased with the release version and create a new ## Unreleased.
  • Bundle package of the release is updated.

@derekblank
derekblank marked this pull request as ready for review September 28, 2023 04:54
@fluiddot
fluiddot self-requested a review September 28, 2023 08:23
Comment on lines -351 to -353
<string name="gutenberg_native_take_a_photo" tools:ignore="UnusedResources">Take a Photo</string>
<string name="gutenberg_native_take_a_photo_or_video" tools:ignore="UnusedResources">Take a Photo or Video</string>
<string name="gutenberg_native_take_a_video" tools:ignore="UnusedResources">Take a Video</string>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

#6204 (review), the i18n script is marking these strings as used by the web, so it considers that we don't need to translate them as they would be part of the Gutenberg GlotPress project. However, I checked that these strings are only referenced by native files, hence they won't be translated unless we add them here.

I presume that the fact that these strings are in an extension different from .native.js is making the i18n script consider them as used on the web. Looks like the constants associated with the localized strings are only used in an integration test, not sure if this might confuse the i18n script regarding whether they are used in web or not. In any case, as a workaround, we could simply move the test-only constants to a separate file under the test folder. I'll open a separate PR to address this and prevent this issue in future releases.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Fixed in 5ac4d8b.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Next releases won't encounter this issue once we merge WordPress/gutenberg#54928.

Comment thread gutenberg

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The Gutenberg reference is not pointing to the latest commit from WordPress/gutenberg#54898. However, I understand that the latest changes in the PR aren't incorporating anything critical that we'd like to check in the CI test jobs.

@fluiddot fluiddot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM 🎊 !

fluiddot

This comment was marked as duplicate.

<string name="gutenberg_native_start_writing" tools:ignore="UnusedResources">Start writing…</string>
<string name="gutenberg_native_synced_patterns" tools:ignore="UnusedResources">Synced patterns</string>
<string name="gutenberg_native_take_a_photo" tools:ignore="UnusedResources">Take a Photo</string>
<string name="gutenberg_native_take_a_photo_or_video" tools:ignore="UnusedResources">Take a Photo or Video</string>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Curiously enough, this string is not used anywhere in the Gutenberg codebase 🤔 .

@derekblank

derekblank commented Oct 3, 2023 •

Copy link
Copy Markdown
Contributor Author

🟢 Writing Flow (iOS)

Build: 23.4.0.0 (TestFlight)
Device: iPhone SE (iOS 16.6.1)

General

  • TC001 - Paste formatted text copied from website

Rich Text Format

  • TC007 - Test format detection under the cursor
  • TC009 - Test autocorrection doesn't apply formatting to Heading
  • TC010 - Test autocorrection doesn't remove formatting from Heading
Splitting and merging
  • TC001 - Merge after writing
    • Paragraph
    • Heading
  • TC002 - Merge after selection
    • Paragraph
    • Heading
  • TC003 - Merge after deleting text
    • Paragraph
    • Heading
  • TC004 - Merge after deleting all
    • Paragraph
    • Heading
  • TC005 - Merge multiple blocks
    • Paragraph
    • Heading

@derekblank

derekblank commented Oct 3, 2023 •

Copy link
Copy Markdown
Contributor Author

🟢 Unsupported Block Tests (iOS)

Build: 23.4.0.0 (TestFlight)
Device: iPhone SE (iOS 16.6.1)

  • TC001 - User can edit unsupported blocks on Simple WP.com sites
  • TC002 - User can discard edits to an unsupported block on Simple WP.com sites
  • TC003 - Editing unsupported blocks is allowed on Gutenberg-enabled Atomic sites
  • TC004 - Editing unsupported blocks is disallowed on Classic-enabled Atomic sites
  • TC005 - Editing unsupported blocks is enabled on self-hosted sites accessed via Jetpack
  • TC006 - Editing unsupported blocks is disallowed on self-hosted sites access via their own username and password

@derekblank

derekblank commented Oct 3, 2023 •

Copy link
Copy Markdown
Contributor Author

🟢 Functionality Test Suite 1 (iOS)

Build: 23.4.0.0 (TestFlight)
Device: iPhone SE (iOS 16.6.1)

Gallery - 1

  • Gallery block - Close/Re-open post with an ongoing image upload - TC001
  • Gallery block - Close post with an ongoing image upload - TC002

Gallery - 2

  • Gallery block - Insert image from device (failing) - TC006
  • Gallery block - Insert image from device (cancel) - TC009

MediaText - 1

  • Media Text block - Insert image from device (failing) - TC001
  • Media Text block - Close/Re-open post with an ongoing image upload - TC003

MediaText - 2

  • Media Text block - Insert video from device - TC002-v
  • Media Text block - Insert image from device - TC002-i

MultipleUpload - 1

  • Simultaneous uploads - TC001

Cover - 1

  • Cover - Add image background from WordPress Media library - TC001
  • Cover - Image focal point is rendered properly - TC002
  • Cover - Custom color is rendered properly - TC002

Editor Theme - 1

  • Default Colors - Check that default colors still load - TC001
  • Default Gradients - Check that default gradients still load - TC002
  • Custom Colors - Check that custom colors load in the editor - TC003

@derekblank

derekblank commented Oct 3, 2023 •

Copy link
Copy Markdown
Contributor Author

@derekblank

derekblank commented Oct 3, 2023 •

Copy link
Copy Markdown
Contributor Author

🟢 Writing Flow (Android)

Build: 23.4-rc-1
Device: Samsung Galaxy S20 FE (Android 12)

General

  • TC001 - Paste formatted text copied from website

Rich Text Format

  • TC007 - Test format detection under the cursor
  • TC009 - Test autocorrection doesn't apply formatting to Heading
  • TC010 - Test autocorrection doesn't remove formatting from Heading
Splitting and merging
  • TC001 - Merge after writing
    • Paragraph
    • Heading
  • TC002 - Merge after selection
    • Paragraph
    • Heading
  • TC003 - Merge after deleting text
    • Paragraph
    • Heading
  • TC004 - Merge after deleting all
    • Paragraph
    • Heading
  • TC005 - Merge multiple blocks
    • Paragraph
    • Heading

@derekblank

derekblank commented Oct 3, 2023 •

Copy link
Copy Markdown
Contributor Author

🟢 Unsupported Block Tests (Android)

Build: 23.4-rc-1
Device: Samsung Galaxy S20 FE (Android 12)

  • TC001 - User can edit unsupported blocks on Simple WP.com sites
  • TC002 - User can discard edits to an unsupported block on Simple WP.com sites
  • TC003 - Editing unsupported blocks is allowed on Gutenberg-enabled Atomic sites
  • TC004 - Editing unsupported blocks is disallowed on Classic-enabled Atomic sites
  • TC005 - Editing unsupported blocks is enabled on self-hosted sites accessed via Jetpack
  • TC006 - Editing unsupported blocks is disallowed on self-hosted sites access via their own username and password

@derekblank

derekblank commented Oct 3, 2023 •

Copy link
Copy Markdown
Contributor Author

🟢 Functionality Test Suite 5 (Android)

Build: 23.4-rc-1
Device: Samsung Galaxy S20 FE (Android 12)

Video block - 1

  • Video block - Insert video from device (failing) - TC001
  • Video block - Close/Re-open post with an ongoing video upload - TC004

Video block - 2

  • Video block - Insert video from device (cancel) - TC002
  • Video block - Close post with an ongoing video upload - TC005
  • Video block - Add Caption - TC003

File block - 1

  • File block - Upload completes successfully from the device library - TC001
  • File block - Insert completes successfully from the WordPress Media library - TC002
  • File block - Upload fails from the device library - TC003
  • File block - Stop the file upload before it completes - TC004

File block - 2

  • File block - Close the post with an ongoing file upload - TC005
  • File block - Replace the selected files - TC006
  • File block - Change the alignment in the File Block - TC007
  • File block - The Link To Block Setting should open - TC008

File block - 3

  • File block - Open link in new tab - TC009
  • File block - Show/hide download button (Block Settings only) - TC010
  • File block - Copy file URL - TC011
  • File block - Close/Re-open post with an ongoing file upload - TC012

Audio block - 1

  • Audio block - Upload completes successfully from the device library - TC001
  • Audio block - Insert completes successfully from the WordPress Media library - TC002

Audio block - 2

  • Audio block - Upload fails from the device library - TC003
  • Audio block - Stop the audio file upload before it completes - TC004

Audio block - 3

  • Audio block - Close the post with an ongoing audio file upload - TC005
  • Audio block - Replace the selected files - TC006
  • Audio block - Change the alignment in the Audio Block - TC007

Audio block - 4

  • Audio block - Autoplay setting - TC008
  • Audio block - Loop setting - TC009
  • Audio block - Close/Re-open post with an ongoing audio file upload - TC010

Synced patterns - 1

  • Synced patterns - Add pattern - TC001
  • Synced patterns - Detach pattern - TC002

Synced patterns - 2

  • Synced patterns - Deleted pattern - TC003
  • Synced patterns - Recursive block rendering - TC004

Embed block - 1

  • Embed block - Inline previews are rendered correctly for the top 5 most-used providers - TC001

Embed block - 2

  • Embed block - Inline previews are rendered accordingly for each alignment option - TC002

@derekblank

derekblank commented Oct 3, 2023 •

Copy link
Copy Markdown
Contributor Author

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants