Skip to content

Commit

Permalink
AI Logo Generator: open logo block extension to production sites (#38696
Browse files Browse the repository at this point in the history
)

* Remove the 10% soft-release check

* Move the site logo block AI extension from beta to production

* Changelog
  • Loading branch information
lhkowalski authored Aug 2, 2024
1 parent 94e62ad commit cf8f04f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: minor
Type: enhancement

Jetpack AI: enable the logo block AI logo generator extension in production.
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,7 @@ const siteLogoEditWithAiComponents = createHigherOrderComponent( BlockEdit => {
* @returns {boolean} True if the feature is available.
*/
function isFeatureAvailable() {
const siteId = parseInt( window?.Jetpack_Editor_Initial_State?.wpcomBlogId );

return getFeatureAvailability( SITE_LOGO_BLOCK_AI_EXTENSION ) || siteId % 10 === 0;
return getFeatureAvailability( SITE_LOGO_BLOCK_AI_EXTENSION );
}

/**
Expand Down
6 changes: 3 additions & 3 deletions projects/plugins/jetpack/extensions/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@
"ai-featured-image-generator",
"ai-title-optimization",
"ai-assistant-experimental-image-generation-support",
"ai-general-purpose-image-generator"
"ai-general-purpose-image-generator",
"ai-assistant-site-logo-support"
],
"beta": [
"google-docs-embed",
Expand All @@ -78,8 +79,7 @@
"videopress/video-chapters",
"ai-assistant-backend-prompts",
"ai-assistant-extensions-support",
"ai-proofread-breve",
"ai-assistant-site-logo-support"
"ai-proofread-breve"
],
"experimental": [ "ai-image", "ai-paragraph" ],
"no-post-editor": [
Expand Down

0 comments on commit cf8f04f

Please sign in to comment.