Skip to content

Commit

Permalink
Verbum-Gutenberg: Show to 80% of users (#36121)
Browse files Browse the repository at this point in the history
Co-authored-by: Kosta <heavyweight@users.noreply.github.com>

Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/8140138054
  • Loading branch information
escapemanuele authored and matticbot committed Mar 4, 2024
1 parent c2feb09 commit 72c65ee
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 22 deletions.
14 changes: 7 additions & 7 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions vendor/automattic/jetpack-mu-wpcom/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ This is an alpha version! The changes listed here are not final.
### Changed
- Add-Ons: Hide the menu on atomic sites
- Scheduled Updates: Load API endpoints on WP.com so it works with public-api passthrough.
- Show gutenberg in verbum to 80% of users
- The Command Palette loads the script with a `defer` strategy now to improve the performance.
- Updated package dependencies.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -566,8 +566,8 @@ public function should_load_gutenberg_comments() {
$has_blocks_flag = function_exists( 'has_blog_sticker' ) && has_blog_sticker( 'verbum-block-comments', $blog_id );
// phpcs:ignore WordPress.Security.NonceVerification.Recommended
$gutenberg_query_param = isset( $_GET['verbum_gutenberg'] ) ? intval( $_GET['verbum_gutenberg'] ) : null;
// This will release to 50% of sites.
$blog_in_10_percent = $blog_id % 100 >= 50;
// This will release to 80% of sites.
$blog_in_80_percent = $blog_id % 100 >= 20;
// phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
$is_proxied = isset( $_SERVER['A8C_PROXIED_REQUEST'] )
? sanitize_text_field( wp_unslash( $_SERVER['A8C_PROXIED_REQUEST'] ) )
Expand All @@ -578,7 +578,7 @@ public function should_load_gutenberg_comments() {
return $gutenberg_query_param === 1;
}

return $has_blocks_flag || $e2e_tests || $blog_in_10_percent;
return $has_blocks_flag || $e2e_tests || $blog_in_80_percent;
}

/**
Expand Down
12 changes: 6 additions & 6 deletions vendor/composer/installed.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-assets",
"reference": "38f7a95d6ca874e178894d65cd33689758273af5"
"reference": "39d36fc6bf999e12bd12b1fbab5df98da9b5b6d4"
},
"require": {
"automattic/jetpack-constants": "^2.0.0",
Expand Down Expand Up @@ -76,7 +76,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-constants",
"reference": "3089b78875bf183814ef60a4cda03be9c3724458"
"reference": "28c4566b297ad224ce0bad34be49e92cdb16d240"
},
"require": {
"php": ">=7.0"
Expand Down Expand Up @@ -125,12 +125,12 @@
},
{
"name": "automattic/jetpack-mu-wpcom",
"version": "5.15.0-alpha.1709554753",
"version_normalized": "5.15.0.0-alpha1709554753",
"version": "5.15.0-alpha.1709555207",
"version_normalized": "5.15.0.0-alpha1709555207",
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-mu-wpcom",
"reference": "4c7cad81609347d083b85f23d3d42aacede02fa8"
"reference": "a776b58ade449fb120deed2b490aa06c4d82d9d1"
},
"require": {
"automattic/jetpack-assets": "^2.1.2-alpha",
Expand Down Expand Up @@ -202,7 +202,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/scheduled-updates",
"reference": "8b816871968d2806d53bdc52afeed5d261b583da"
"reference": "0d5e440ea05ffcc7f6c89f2f80668b9946b778f5"
},
"require": {
"php": ">=7.0"
Expand Down
12 changes: 6 additions & 6 deletions vendor/composer/installed.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
'automattic/jetpack-assets' => array(
'pretty_version' => '2.1.2-alpha.1709373058',
'version' => '2.1.2.0-alpha1709373058',
'reference' => '38f7a95d6ca874e178894d65cd33689758273af5',
'reference' => '39d36fc6bf999e12bd12b1fbab5df98da9b5b6d4',
'type' => 'jetpack-library',
'install_path' => __DIR__ . '/../automattic/jetpack-assets',
'aliases' => array(),
Expand All @@ -22,16 +22,16 @@
'automattic/jetpack-constants' => array(
'pretty_version' => '2.0.0',
'version' => '2.0.0.0',
'reference' => '3089b78875bf183814ef60a4cda03be9c3724458',
'reference' => '28c4566b297ad224ce0bad34be49e92cdb16d240',
'type' => 'jetpack-library',
'install_path' => __DIR__ . '/../automattic/jetpack-constants',
'aliases' => array(),
'dev_requirement' => false,
),
'automattic/jetpack-mu-wpcom' => array(
'pretty_version' => '5.15.0-alpha.1709554753',
'version' => '5.15.0.0-alpha1709554753',
'reference' => '4c7cad81609347d083b85f23d3d42aacede02fa8',
'pretty_version' => '5.15.0-alpha.1709555207',
'version' => '5.15.0.0-alpha1709555207',
'reference' => 'a776b58ade449fb120deed2b490aa06c4d82d9d1',
'type' => 'jetpack-library',
'install_path' => __DIR__ . '/../automattic/jetpack-mu-wpcom',
'aliases' => array(),
Expand All @@ -49,7 +49,7 @@
'automattic/scheduled-updates' => array(
'pretty_version' => '0.3.0-alpha.1709517923',
'version' => '0.3.0.0-alpha1709517923',
'reference' => '8b816871968d2806d53bdc52afeed5d261b583da',
'reference' => '0d5e440ea05ffcc7f6c89f2f80668b9946b778f5',
'type' => 'jetpack-library',
'install_path' => __DIR__ . '/../automattic/scheduled-updates',
'aliases' => array(),
Expand Down

0 comments on commit 72c65ee

Please sign in to comment.