Skip to content

Commit 22f05f5

Browse files
jomifepecursoragent
andcommitted
chore: rename "Prismic MCP" UI label to "Prismic with AI"
Update the sidebar navigation item, slice builder promo button, and the Playwright locator/test that exercises the sidebar link to use the new "Prismic with AI" wording. The sidebar tooltip is also rephrased to mention the CLI alongside AI usage. Internal identifiers (component name, telemetry event name, locator variable) are left unchanged on purpose to preserve analytics continuity. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 5af73c3 commit 22f05f5

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

packages/slice-machine/src/features/navigation/Navigation.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,12 +114,12 @@ export function Navigation() {
114114
/>
115115

116116
<NavigationItem
117-
title="Prismic MCP"
117+
title="Prismic with AI"
118118
href="https://prismic.io/docs/ai"
119119
target="_blank"
120120
Icon={CodeIcon}
121121
RightElement={<Badge title="New" color="indigo" />}
122-
tooltip="Connect Prismic MCP to your editor (like Cursor) for AI-powered coding."
122+
tooltip="Learn how to use Prismic with AI and the CLI to create content and code slices."
123123
onClick={() => {
124124
void telemetry.track({
125125
event: "sidebar:link-clicked",

packages/slice-machine/src/features/slices/sliceBuilder/McpPromoLink.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export const McpPromoLink = () => {
1919
}}
2020
>
2121
<a href="https://prismic.io/docs/ai" target="_blank">
22-
Boost your workflow in Cursor with Prismic MCP
22+
Boost your workflow with Prismic AI modeling
2323
</a>
2424
</Button>
2525
);

playwright/pages/components/Menu.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export class Menu {
6060
});
6161

6262
this.prismicMcpLink = this.menu.getByRole("link", {
63-
name: "Prismic MCP",
63+
name: "Prismic with AI",
6464
});
6565
this.changelogLink = this.menu.getByRole("link", {
6666
name: "Changelog",

playwright/tests/common/navigation.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ test('I can open Prismic documentation by clicking the "Documentation" link', as
136136
await expect(newTab).toHaveURL("https://prismic.io/docs/nextjs");
137137
});
138138

139-
test('I can open Prismic MCP documentation by clicking the "Prismic MCP" link', async ({
139+
test('I can open Prismic AI documentation by clicking the "Prismic with AI" link', async ({
140140
sliceMachinePage,
141141
}) => {
142142
await sliceMachinePage.gotoDefaultPage();

0 commit comments

Comments
 (0)