Skip to content

Gutenberg RTC: Add real_time_collaboration feature#47483

Open
arthur791004 wants to merge 2 commits intotrunkfrom
feat/add-real-time-collaboration-feature
Open

Gutenberg RTC: Add real_time_collaboration feature#47483
arthur791004 wants to merge 2 commits intotrunkfrom
feat/add-real-time-collaboration-feature

Conversation

@arthur791004
Copy link
Contributor

@arthur791004 arthur791004 commented Mar 6, 2026

Related to DOTCOM-16097

Proposed changes:

  • Define Real-time Collaboration (RTC) as a WP.com plan feature for Business and above

Other information:

  • Have you written new tests for your changes, if applicable?
  • Have you checked the E2E test CI results, and verified that your changes do not break them?
  • Have you tested your changes on WordPress.com, if applicable (if so, you'll see a generated comment below with a script to run)?

Jetpack product discussion

Does this pull request change what data or activity we track or use?

Testing instructions:

  • Apply changes to your sandbox
  • Run wpsh as follows:
$ $blog_id = <blog_id>
$ echo wpcom_site_has_feature( WPCOM_Features::REAL_TIME_COLLABORATION, $blog_id ); // 0
$ add_blog_sticker( 'gating-business-q1', null, null, $blog_id );  
$ echo wpcom_site_has_feature( WPCOM_Features::REAL_TIME_COLLABORATION, $blog_id ); // 1
$ remove_blog_sticker( 'gating-business-q1', null, null, $blog_id );  

Changelog

  • Generate changelog entries for this PR (using AI).

Copilot AI review requested due to automatic review settings March 6, 2026 13:26
@github-actions
Copy link
Contributor

github-actions bot commented Mar 6, 2026

Thank you for your PR!

When contributing to Jetpack, we have a few suggestions that can help us test and review your patch:

  • ✅ Include a description of your PR changes.
  • 🔴 Add a "[Status]" label (In Progress, Needs Review, ...).
  • ✅ Add testing instructions.
  • ✅ Specify whether this PR includes any changes to data or privacy.
  • ✅ Add changelog entries to affected projects

This comment will be updated as you work on your PR and make changes. If you think that some of those checks are not needed for your PR, please explain why you think so. Thanks for cooperation 🤖


Follow this PR Review Process:

  1. Ensure all required checks appearing at the bottom of this PR are passing.
  2. Make sure to test your changes on all platforms that it applies to. You're responsible for the quality of the code you ship.
  3. You can use GitHub's Reviewers functionality to request a review.
  4. When it's reviewed and merged, you will be pinged in Slack to deploy the changes to WordPress.com simple once the build is done.

If you have questions about anything, reach out in #jetpack-developers for guidance!


Wpcomsh plugin:

  • Next scheduled release: Atomic deploys happen twice daily on weekdays (p9o2xV-2EN-p2)

If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack.

@github-actions github-actions bot added the [Status] Needs Author Reply We need more details from you. This label will be auto-added until the PR meets all requirements. label Mar 6, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Mar 6, 2026

Are you an Automattician? Please test your changes on all WordPress.com environments to help mitigate accidental explosions.

  • To test on WoA, go to the Plugins menu on a WoA dev site. Click on the "Upload" button and follow the upgrade flow to be able to upload, install, and activate the Jetpack Beta plugin. Once the plugin is active, go to Jetpack > Jetpack Beta, select your plugin (WordPress.com Site Helper), and enable the feat/add-real-time-collaboration-feature branch.

Interested in more tips and information?

  • In your local development environment, use the jetpack rsync command to sync your changes to a WoA dev blog.
  • Read more about our development workflow here: PCYsg-eg0-p2
  • Figure out when your changes will be shipped to customers here: PCYsg-eg5-p2

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds a new real_time_collaboration feature constant to WPCOM_Features in the wpcomsh plugin, gating it behind the Business and Ecommerce plans. It is part of the Gutenberg Real-Time Collaboration (RTC) rollout (DOTCOM-16097).

Changes:

  • Defines a new REAL_TIME_COLLABORATION public constant with slug 'real_time_collaboration'
  • Maps the feature to WPCOM_BUSINESS_PLANS and WPCOM_ECOMMERCE_PLANS (explicitly excluding trial/WooExpress plans)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

public const PRIORITY_SUPPORT = 'priority_support';
public const PRIVATE_WHOIS = 'private_whois';
public const REAL_TIME_BACKUPS = 'real-time-backups';
public const REAL_TIME_COLLABORATION = 'real_time_collaboration';
Copy link

Copilot AI Mar 6, 2026

Choose a reason for hiding this comment

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

A Changelogger entry is missing for this PR. Per repository conventions (docs/pull-request.md and existing patterns in projects/plugins/wpcomsh/changelog/), any PR touching a project under /projects must include a changelog file in that project's changelog/ directory. Please add a new file under projects/plugins/wpcomsh/changelog/ (e.g., add-real-time-collaboration-feature) with the appropriate Significance, Type, and description fields, similar to other entries like add-social-unified-ui-ff.

Copilot uses AI. Check for mistakes.
@jp-launch-control
Copy link

jp-launch-control bot commented Mar 6, 2026

Code Coverage Summary

This PR did not change code coverage!

That could be good or bad, depending on the situation. Everything covered before, and still is? Great! Nothing was covered before? Not so great. 🤷

Full summary · PHP report

@arthur791004 arthur791004 force-pushed the feat/add-real-time-collaboration-feature branch from 1bc70a8 to 1e0679a Compare March 6, 2026 13:51
@arthur791004 arthur791004 self-assigned this Mar 6, 2026
@arthur791004 arthur791004 requested a review from heavyweight March 6, 2026 14:02
@arthur791004 arthur791004 added [Status] Needs Review This PR is ready for review. and removed [Status] Needs Author Reply We need more details from you. This label will be auto-added until the PR meets all requirements. labels Mar 6, 2026
@github-actions github-actions bot added [Status] Needs Author Reply We need more details from you. This label will be auto-added until the PR meets all requirements. and removed [Status] Needs Review This PR is ready for review. labels Mar 6, 2026
Copilot AI review requested due to automatic review settings March 6, 2026 14:08
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review is ineligible. To be eligible to request a review, you need a paid Copilot license, or your organization must enable Copilot code review.

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

Labels

[Plugin] Wpcomsh [Status] Needs Author Reply We need more details from you. This label will be auto-added until the PR meets all requirements.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants