Skip to content

Conversation

@dcalhoun
Copy link
Member

@dcalhoun dcalhoun commented Apr 16, 2025

Augment the existing, user-controlled experimental feature toggle with a remote feature flag that can we used for a phased roll out GutenbergKit regardless of the experimental feature toggle state.

To test: A remote feature flag has not yet been deployed on the server, so there should be no changes to the UX.

Regression Notes

  1. Potential unintended areas of impact
    Unlikely for this addition.
  2. What I did to test those areas of impact (or what existing automated tests I relied on)
    N/A.
  3. What automated tests I added (or what prevented me from doing so)
    Deemed unnecessary for the experimental feature.

PR submission checklist:

  • I have completed the Regression Notes.
  • I have considered adding unit tests for my changes.
  • I have considered adding accessibility improvements for my changes.
  • I have considered if this change warrants user-facing release notes and have added them to RELEASE-NOTES.txt if necessary.

Testing checklist:

  • WordPress.com sites and self-hosted Jetpack sites.
  • Portrait and landscape orientations.
  • Light and dark modes.
  • Fonts: Larger, smaller and bold text.
  • High contrast.
  • VoiceOver.
  • Languages with large words or with letters/accents not frequently used in English.
  • Right-to-left languages. (Even if translation isn’t complete, formatting should still respect the right-to-left layout)
  • iPhone and iPad.
  • Multi-tasking: Split view and Slide over. (iPad)

Allow remote control of GutenbergKit roll out.
@dcalhoun dcalhoun added [Type] Task Gutenberg Editing and display of Gutenberg blocks. labels Apr 16, 2025
@dangermattic
Copy link
Collaborator

1 Message
📖 This PR is still a Draft: some checks will be skipped.

Generated by 🚫 Danger

@sonarqubecloud
Copy link

@wpmobilebot
Copy link
Contributor

App Icon📲 You can test the changes from this Pull Request in WordPress by scanning the QR code below to install the corresponding build.
App NameWordPress
ConfigurationRelease-Alpha
Build Number27374
VersionPR #24465
Bundle IDorg.wordpress.alpha
Commit1f9dd27
Installation URL5sm150mg3600g
Automatticians: You can use our internal self-serve MC tool to give yourself access to those builds if needed.

@wpmobilebot
Copy link
Contributor

App Icon📲 You can test the changes from this Pull Request in Jetpack by scanning the QR code below to install the corresponding build.
App NameJetpack
ConfigurationRelease-Alpha
Build Number27374
VersionPR #24465
Bundle IDcom.jetpack.alpha
Commit1f9dd27
Installation URL6ptb45mkiehj8
Automatticians: You can use our internal self-serve MC tool to give yourself access to those builds if needed.

@dcalhoun dcalhoun marked this pull request as ready for review April 16, 2025 12:44
@dcalhoun dcalhoun enabled auto-merge April 16, 2025 13:29
@dcalhoun dcalhoun requested a review from kean April 16, 2025 13:30
Copy link
Contributor

@kean kean left a comment

Choose a reason for hiding this comment

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

(removed the previous question)

@dcalhoun dcalhoun added this pull request to the merge queue Apr 16, 2025
Merged via the queue into trunk with commit c57e4cf Apr 16, 2025
34 of 36 checks passed
@dcalhoun dcalhoun deleted the task/remote-feature-flag-gates-gutenberg-kit branch April 16, 2025 16:43
dcalhoun added a commit that referenced this pull request Apr 17, 2025
This conditional was overlooked when the local experimental feature
toggle was augmented with a remote feature flag for roll out control.

#24465
dcalhoun added a commit that referenced this pull request Apr 24, 2025
This conditional was overlooked when the local experimental feature
toggle was augmented with a remote feature flag for roll out control.

#24465
github-merge-queue bot pushed a commit that referenced this pull request Apr 24, 2025
* hoist settings

* refactor: Update settings via JavaScript bridge

* fix: Fetch the entirety of the editor settings

* Revert "refactor: Update settings via JavaScript bridge"

This reverts commit e4ec71b6c77e2439e9d98c0273f9bdcff64d098f.

* feat: Postpone editor initialization

* Revert "feat: Postpone editor initialization"

This reverts commit 39ac9caf71089853e5f256697f4882cc55d2bffd.

* refactor: Defer editor start

* refactor: Simplify RawBlockEditorSettingsService

Remove unnecessary completion handler structure.

* feat: Cache editor settings fetch

Improve editor start performance.

* feat: Editor settings use stale-while-revalidate cache

Mitigate stale editor settings.

* style: Use shorthand

* feat: Cache editor settings across editor sessions

The cache was discarded each time the editor closed, which defeats the
purpose of the cache. We must store it somewhere outside the editor view
controller.

* refactor: Avoid duplicative settings requests

Avoid sending both foreground and background requests.

* feat: Remove time-based cache

Revalidating the cache on each editor launch will ensure the latest
settings are available.

* build: Update GutenbergKit ref

* build: Update GutenbergKit ref

* build: Update GutenbergKit ref

* build: Update GutenbergKit ref

* perf: Preload editor settings within My Site

Improve load speed of editor.

* fix: Enable GutenbergKit warmup via remote feature flag

This conditional was overlooked when the local experimental feature
toggle was augmented with a remote feature flag for roll out control.

#24465

* feat: Start editor without settings after three seconds

Avoid postponing the editor start for longer than three seconds. We
instead present the editor without any site-specific settings.

* refactor: DRY up fetching editor settings

* build: Update GutenbergKit ref
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Gutenberg Editing and display of Gutenberg blocks. [Type] Task

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants