From b2d89007462fd23aafe8e2c3d53da2239483f9dd Mon Sep 17 00:00:00 2001 From: Pawan Kumar Date: Thu, 24 Apr 2025 17:34:15 +0530 Subject: [PATCH] chore: update messages for chrome extension (#40364) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit /ok-to-test tags="@tag.AIAgents" ## Summary by CodeRabbit - **New Features** - The Chrome extension banner now displays different titles and button texts based on whether the extension is installed or not, providing a more tailored user experience. > [!TIP] > 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉 > Workflow run: > Commit: 794b6f80c6a4dac61e7d699b0fb404899f7900a2 > Cypress dashboard. > Tags: `@tag.AIAgents` > Spec: >
Thu, 24 Apr 2025 11:42:35 UTC --- app/client/src/ce/constants/messages.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/client/src/ce/constants/messages.ts b/app/client/src/ce/constants/messages.ts index f52663c740..b554479be6 100644 --- a/app/client/src/ce/constants/messages.ts +++ b/app/client/src/ce/constants/messages.ts @@ -2002,10 +2002,12 @@ export const IN_APP_EMBED_SETTING = { "Make your app public to embed your Appsmith app into legacy applications", secondaryHeading: () => "Embedding in public mode is supported in the free plan. To make your app public, please contact your administrator.", - chromeExtensionBannerTitle: () => "Get the Chrome extension", + chromeExtensionBannerTitle: (isInstalled: boolean) => + isInstalled ? "Appsmith Agents extension" : "Install the Chrome extension", chromeExtensionBannerDescription: () => "Bring powerful AI assistance to the tools you and your teams use.", - chromeExtensionBannerButton: () => "Get the extension", + chromeExtensionBannerButton: (isInstalled: boolean) => + isInstalled ? "Extension settings" : "Get the extension", }; export const APP_NAVIGATION_SETTING = {