Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 0 additions & 24 deletions pnpm-lock.yaml

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

Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@ export default function () {
const videoTitleForms = __( 'Build forms using prompts', 'jetpack-my-jetpack' );
const videoTitleContentFeedback = __( 'Get feedback on posts', 'jetpack-my-jetpack' );

const videoTitleBreve = __( 'Make your writing easy to read', 'jetpack-my-jetpack' );

debug( aiAssistantFeature );
const {
requestsCount: allTimeRequests = 0,
Expand Down Expand Up @@ -88,8 +86,6 @@ export default function () {
'jetpack-ai-product-page-content-feedback-link'
);

const videoLinkBreve = getRedirectUrl( 'jetpack-ai-product-page-breve' );

// isRegistered works as a flag to know if the page can link to a post creation or not
const ctaURL = isRegistered
? 'post-new.php?use_ai_block=1&_wpnonce=' + window?.jetpackAi?.nonce
Expand Down Expand Up @@ -203,12 +199,6 @@ export default function () {
setShowNotice( showRenewalNotice || showUpgradeNotice );
}, [ showRenewalNotice, showUpgradeNotice ] );

const newBadge = (
<span className={ styles[ 'product-interstitial__new-badge' ] }>
{ __( 'New', 'jetpack-my-jetpack' ) }{ ' ' }
</span>
);

return (
<AdminPage showHeader={ false } showBackground={ true }>
<Container fluid horizontalSpacing={ 3 } horizontalGap={ 2 }>
Expand Down Expand Up @@ -353,40 +343,6 @@ export default function () {
{ __( 'Discover all the Jetpack features powered by AI', 'jetpack-my-jetpack' ) }
</p>
<div className={ styles[ 'product-interstitial__usage-videos' ] }>
<div className={ styles[ 'product-interstitial__usage-videos-item' ] }>
<div className={ styles[ 'product-interstitial__usage-videos-video' ] }>
<iframe
width="280"
height="157"
src="https://videopress.com/embed/2OU6GCMs?posterUrl=https%3A%2F%2Fjetpackme.files.wordpress.com%2F2024%2F07%2Fjetpack-ai-breve-poster.png%3Fw%3D560"
allowFullScreen
allow="clipboard-write"
title={ videoTitleBreve }
></iframe>
<script src="https://videopress.com/videopress-iframe.js"></script>
</div>
<div className={ styles[ 'product-interstitial__usage-videos-content' ] }>
<div className={ styles[ 'product-interstitial__usage-videos-heading' ] }>
{ videoTitleBreve }
{ newBadge }
</div>
<div className={ styles[ 'product-interstitial__usage-videos-text' ] }>
{ __(
'Simplify your writing with AI suggestions to fix long sentences and complex words and sound more confident. As you type, check your Reading grade score to make sure it suits your audience.',
'jetpack-my-jetpack'
) }
</div>
<Button
className={ styles[ 'product-interstitial__usage-videos-link' ] }
icon={ help }
target="_blank"
href={ videoLinkBreve }
>
{ __( 'Learn more', 'jetpack-my-jetpack' ) }
</Button>
</div>
</div>

<div className={ styles[ 'product-interstitial__usage-videos-item' ] }>
<div className={ styles[ 'product-interstitial__usage-videos-video' ] }>
<iframe
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Significance: patch
Type: changed
Comment: Remove Write Brief video showcase section from the AI product page.
Copy link

Copilot AI Apr 3, 2026

Choose a reason for hiding this comment

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

Same as the Jetpack changelog fragment: Comment: is meant to replace the body when there’s no user-facing entry. Because this change file also has an entry body, the presence of Comment: may lead changelogger to omit the entry from generated release notes. Consider removing the Comment: header and leaving only the body (or remove the body if this should be a no-entry change).

Suggested change
Comment: Remove Write Brief video showcase section from the AI product page.

Copilot uses AI. Check for mistakes.

AI product page: Remove Write Brief video showcase section.
5 changes: 5 additions & 0 deletions projects/plugins/jetpack/changelog/remove-breve-write-brief
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Significance: minor
Type: major
Comment: Remove the Write Brief (Breve) proofreading feature from the AI Assistant.
Copy link

Copilot AI Apr 3, 2026

Choose a reason for hiding this comment

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

The Comment: header is intended for the “no changelog entry needed” case (i.e., an empty body). Since this file also includes an entry body, keeping Comment: may cause changelogger tooling to treat it as a non-entry and omit the body from generated changelogs. Remove the Comment: header (keep the blank line + entry text), or if you truly want no entry, drop the body and keep Comment: only (typically with Significance: patch).

Suggested change
Comment: Remove the Write Brief (Breve) proofreading feature from the AI Assistant.

Copilot uses AI. Check for mistakes.

AI Assistant: Remove the Write Brief (Breve) proofreading feature.
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,6 @@ function () {
Jetpack_Gutenberg::set_extension_available( 'ai-title-optimization-keywords-support' );
Jetpack_Gutenberg::set_extension_available( 'ai-assistant-image-extension' );

$site_locale = get_locale();
// Only enable Write Brief for sites with an English locale
if ( str_starts_with( $site_locale, 'en' ) && apply_filters( 'breve_enabled', true ) ) {
Jetpack_Gutenberg::set_extension_available( 'ai-proofread-breve' );
}

if ( apply_filters( 'ai_seo_enhancer_enabled', true ) ) {
Jetpack_Gutenberg::set_availability_for_plan( 'ai-seo-enhancer' );
}
Expand Down
1 change: 0 additions & 1 deletion projects/plugins/jetpack/extensions/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@
"ai-title-optimization",
"ai-assistant-experimental-image-generation-support",
"ai-general-purpose-image-generator",
"ai-proofread-breve",
"ai-assistant-site-logo-support",
"ai-title-optimization-keywords-support",
"ai-response-feedback",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ import { ComponentType, useCallback, useMemo } from 'react';
import useAiProductPage from '../../../../blocks/ai-assistant/hooks/use-ai-product-page';
import { getFeatureAvailability } from '../../../../blocks/ai-assistant/lib/utils/get-feature-availability';
import JetpackPluginSidebar from '../../../../shared/jetpack-plugin-sidebar';
import { Breve, registerBreveHighlights, Highlight } from '../breve';
import { getBreveAvailability, canWriteBriefBeEnabled } from '../breve/utils/get-availability';
import Feedback from '../feedback';
import TitleOptimization from '../title-optimization';
import UsagePanel from '../usage-panel';
Expand Down Expand Up @@ -89,7 +87,6 @@ const JetpackAndSettingsContent = ( {
}: JetpackSettingsContentProps ) => {
const { checkoutUrl } = useAICheckout();
const { productPageUrl } = useAiProductPage();
const isBreveAvailable = getBreveAvailability();
const isPostEmpty = useSelect( select => select( editorStore ).isEditedPostEmpty(), [] );
const { editPost } = useDispatch( editorStore );

Expand Down Expand Up @@ -157,17 +154,6 @@ const JetpackAndSettingsContent = ( {
</PanelRow>
) }

{ canWriteBriefBeEnabled() && isBreveAvailable && (
<PanelRow>
<BaseControl __nextHasNoMarginBottom={ true }>
<BaseControl.VisualLabel>
{ __( 'Write Brief (Beta)', 'jetpack' ) }
</BaseControl.VisualLabel>
<Breve />
</BaseControl>
</PanelRow>
) }

{ isAITitleOptimizationAvailable && (
<PanelRow className="jetpack-ai-sidebar__feature-section">
<BaseControl __nextHasNoMarginBottom={ true }>
Expand Down Expand Up @@ -267,11 +253,8 @@ export default function AiAssistantPluginSidebar() {

const showUsagePanel = planType === PLAN_TYPE_FREE;
const showFairUsageNotice = planType === PLAN_TYPE_UNLIMITED && isOverLimit;
const isBreveAvailable = getBreveAvailability();

return (
<>
{ isBreveAvailable && <Highlight /> }
<JetpackPluginSidebar>
<PanelBody
title={ title }
Expand Down Expand Up @@ -324,6 +307,3 @@ export default function AiAssistantPluginSidebar() {
</>
);
}

// Register the highlight format type from the Breve component
registerBreveHighlights();
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,3 @@
margin-left: 4px;
}
}

.jetpack-ai__write-brief-card {
width: 100%;
margin-bottom: 12px;

p {
margin: 0;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -150,17 +150,6 @@ jest.mock( '../../../../../shared/jetpack-plugin-sidebar', () => ( {
),
} ) );

jest.mock( '../../breve', () => ( {
Breve: () => null,
registerBreveHighlights: jest.fn(),
Highlight: () => null,
} ) );

jest.mock( '../../breve/utils/get-availability', () => ( {
getBreveAvailability: () => false,
canWriteBriefBeEnabled: () => false,
} ) );

jest.mock( '../../feedback', () => ( { __esModule: true, default: () => null } ) );
jest.mock( '../../title-optimization', () => ( { __esModule: true, default: () => null } ) );
jest.mock( '../../usage-panel', () => ( { __esModule: true, default: () => null } ) );
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

Loading
Loading