From ae2f286a13216647ab28d8fb8e7cdba862ecd262 Mon Sep 17 00:00:00 2001 From: Jacques Ikot Date: Wed, 20 Aug 2025 12:35:23 +0100 Subject: [PATCH] feat: update environment switch tooltip from business to enterprise plan (#41168) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary Updates the tooltip text for disabled environment switching to reference "enterprise plan" instead of "business plan" to align with current product terminology. ## Changes - Added new `ENTERPRISE_EDITION_TEXT` constant in `ce/constants/messages.ts` - Updated `SwitchEnvironment` component to use the new enterprise text constant - Maintains backward compatibility by keeping the original `BUSINESS_EDITION_TEXT` constant ## Files Changed - `app/client/src/ce/constants/messages.ts` - Added new enterprise text constant - `app/client/src/ce/components/SwitchEnvironment/index.tsx` - Updated tooltip to use enterprise terminology ## Testing - [ ] Verify tooltip displays "enterprise plan" text when environment switching is disabled - [ ] Confirm tooltip link functionality remains unchanged ## Impact This is a minor UI text update with no functional changes. Users will now see consistent "enterprise plan" messaging in the environment switch tooltip. ## Automation /ok-to-test tags="@tag.Sanity" ### :mag: Cypress test results > [!TIP] > 🟒 🟒 🟒 All cypress tests have passed! πŸŽ‰ πŸŽ‰ πŸŽ‰ > Workflow run: > Commit: a462cb0c2ddcd29b19e7adadf3de8fd5f5868e9f > Cypress dashboard. > Tags: `@tag.Sanity` > Spec: >
Tue, 12 Aug 2025 06:34:15 UTC ## Communication Should the DevRel and Marketing teams inform users about this change? - [ ] Yes - [ ] No ## Summary by CodeRabbit * **Style** * Updated tooltip messaging to display "enterprise plan" instead of "business edition" in relevant user interface areas (environment switcher and data-filter tooltips). This changes only the displayed plan name in upgrade/locked-feature tooltips across the app. No changes to feature availability or workflows. --- app/client/src/ce/components/DSDataFilter/index.tsx | 1 + app/client/src/ce/components/SwitchEnvironment/index.tsx | 5 +++-- app/client/src/ce/constants/messages.ts | 1 + 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/app/client/src/ce/components/DSDataFilter/index.tsx b/app/client/src/ce/components/DSDataFilter/index.tsx index affe79bf23..b72993ae6e 100644 --- a/app/client/src/ce/components/DSDataFilter/index.tsx +++ b/app/client/src/ce/components/DSDataFilter/index.tsx @@ -74,6 +74,7 @@ export function DSDataFilter({ const rampLinkSelector = getRampLink({ section: RampSection.DSEditor, feature: RampFeature.MultipleEnv, + isBusinessFeature: false, }); const rampLink = useSelector(rampLinkSelector); diff --git a/app/client/src/ce/components/SwitchEnvironment/index.tsx b/app/client/src/ce/components/SwitchEnvironment/index.tsx index 07ac7a4b1c..de3b56fd0c 100644 --- a/app/client/src/ce/components/SwitchEnvironment/index.tsx +++ b/app/client/src/ce/components/SwitchEnvironment/index.tsx @@ -4,7 +4,7 @@ import styled from "styled-components"; import { Icon, Link, Option, Select, Text, Tooltip } from "@appsmith/ads"; import { capitalizeFirstLetter } from "utils/helpers"; import { - BUSINESS_EDITION_TEXT, + ENTERPRISE_EDITION_TEXT, SWITCH_ENV_DISABLED_TOOLTIP_TEXT, createMessage, } from "ee/constants/messages"; @@ -68,7 +68,7 @@ export const DisabledTooltipContent = (rampLink: string) => { > {createMessage(SWITCH_ENV_DISABLED_TOOLTIP_TEXT)} - {createMessage(BUSINESS_EDITION_TEXT)} + {createMessage(ENTERPRISE_EDITION_TEXT)} ); @@ -83,6 +83,7 @@ export default function SwitchEnvironment({}: Props) { const rampLinkSelector = getRampLink({ section: RampSection.BottomBarEnvSwitcher, feature: RampFeature.MultipleEnv, + isBusinessFeature: false, }); const rampLink = useSelector(rampLinkSelector); diff --git a/app/client/src/ce/constants/messages.ts b/app/client/src/ce/constants/messages.ts index 226abaad3b..d8cf8cc3dd 100644 --- a/app/client/src/ce/constants/messages.ts +++ b/app/client/src/ce/constants/messages.ts @@ -206,6 +206,7 @@ export const USERS_HAVE_ACCESS_TO_ONLY_THIS_APP = () => "Users will only have access to this application"; export const NO_USERS_INVITED = () => "You haven't invited any users yet"; export const BUSINESS_EDITION_TEXT = () => "business plan"; +export const ENTERPRISE_EDITION_TEXT = () => "enterprise plan"; export const PARTNER_PROGRAM_CALLOUT = ( email: string, ) => `${email} is outside your organisation. If you’re building this app