diff --git a/projects/plugins/jetpack/extensions/plugins/ai-assistant-plugin/components/ai-assistant-plugin-sidebar/index.tsx b/projects/plugins/jetpack/extensions/plugins/ai-assistant-plugin/components/ai-assistant-plugin-sidebar/index.tsx
index 304e302a39829..221a2f509c3b9 100644
--- a/projects/plugins/jetpack/extensions/plugins/ai-assistant-plugin/components/ai-assistant-plugin-sidebar/index.tsx
+++ b/projects/plugins/jetpack/extensions/plugins/ai-assistant-plugin/components/ai-assistant-plugin-sidebar/index.tsx
@@ -17,14 +17,14 @@ import useAICheckout from '../../../../blocks/ai-assistant/hooks/use-ai-checkout
import useAiFeature from '../../../../blocks/ai-assistant/hooks/use-ai-feature';
import useAiProductPage from '../../../../blocks/ai-assistant/hooks/use-ai-product-page';
import { getFeatureAvailability } from '../../../../blocks/ai-assistant/lib/utils/get-feature-availability';
-import { isBetaExtension } from '../../../../editor';
+// import { isBetaExtension } from '../../../../editor';
import JetpackPluginSidebar from '../../../../shared/jetpack-plugin-sidebar';
import { PLAN_TYPE_FREE, PLAN_TYPE_UNLIMITED, usePlanType } from '../../../../shared/use-plan-type';
import { FeaturedImage } from '../ai-image';
import { Breve, registerBreveHighlights, Highlight } from '../breve';
import { getBreveAvailability, canWriteBriefBeEnabled } from '../breve/utils/get-availability';
import Feedback from '../feedback';
-import SeoAssistant from '../seo-assistant';
+// import SeoAssistant from '../seo-assistant';
import TitleOptimization from '../title-optimization';
import UsagePanel from '../usage-panel';
import {
@@ -60,7 +60,7 @@ const isAITitleOptimizationKeywordsFeatureAvailable = getFeatureAvailability(
'ai-title-optimization-keywords-support'
);
-const isSeoAssistantEnabled = getFeatureAvailability( 'ai-seo-assistant' );
+// const isSeoAssistantEnabled = getFeatureAvailability( 'ai-seo-assistant' );
const JetpackAndSettingsContent = ( {
placement,
@@ -72,14 +72,14 @@ const JetpackAndSettingsContent = ( {
const { checkoutUrl } = useAICheckout();
const { productPageUrl } = useAiProductPage();
const isBreveAvailable = getBreveAvailability();
- const isViewable = useSelect( select => {
- const postTypeName = select( editorStore ).getCurrentPostType();
- const postTypeObject = ( select( coreStore ) as unknown as CoreSelect ).getPostType(
- postTypeName
- );
+ // const isViewable = useSelect( select => {
+ // const postTypeName = select( editorStore ).getCurrentPostType();
+ // const postTypeObject = ( select( coreStore ) as unknown as CoreSelect ).getPostType(
+ // postTypeName
+ // );
- return postTypeObject?.viewable;
- }, [] );
+ // return postTypeObject?.viewable;
+ // }, [] );
const currentTitleOptimizationSectionLabel = __( 'Optimize Publishing', 'jetpack' );
const SEOTitleOptimizationSectionLabel = __( 'Optimize Title', 'jetpack' );
@@ -97,7 +97,7 @@ const JetpackAndSettingsContent = ( {
) }
- { isSeoAssistantEnabled && isViewable && (
+ { /* { isSeoAssistantEnabled && isViewable && (
- ) }
+ ) } */ }
{ canWriteBriefBeEnabled() && isBreveAvailable && (
diff --git a/projects/plugins/jetpack/extensions/plugins/seo/index.js b/projects/plugins/jetpack/extensions/plugins/seo/index.js
index 4ebdeb0185543..a3618e5a60fa0 100644
--- a/projects/plugins/jetpack/extensions/plugins/seo/index.js
+++ b/projects/plugins/jetpack/extensions/plugins/seo/index.js
@@ -3,6 +3,7 @@ import {
useModuleStatus,
isSimpleSite,
isAtomicSite,
+ getJetpackExtensionAvailability,
getRequiredPlan,
} from '@automattic/jetpack-shared-extension-utils';
import { PanelBody, PanelRow } from '@wordpress/components';
@@ -12,7 +13,9 @@ import { PluginPrePublishPanel } from '@wordpress/edit-post';
import { store as editorStore } from '@wordpress/editor';
import { Fragment } from '@wordpress/element';
import { __ } from '@wordpress/i18n';
+import { isBetaExtension } from '../../editor';
import JetpackPluginSidebar from '../../shared/jetpack-plugin-sidebar';
+import SeoAssistant from '../ai-assistant-plugin/components/seo-assistant';
import { SeoPlaceholder } from './components/placeholder';
import { SeoSkeletonLoader } from './components/skeleton-loader';
import UpsellNotice from './components/upsell';
@@ -24,6 +27,9 @@ import './editor.scss';
export const name = 'seo';
+const isSeoAssistantEnabled =
+ getJetpackExtensionAvailability( 'ai-seo-assistant' )?.available === true;
+
const Seo = () => {
const { isLoadingModules, isChangingStatus, isModuleActive, changeStatus } =
useModuleStatus( 'seo-tools' );
@@ -95,6 +101,15 @@ const Seo = () => {
+ { isSeoAssistantEnabled && isViewable && (
+
+
+
+ ) }