Skip to content

Commit ae2f286

Browse files
authored
feat: update environment switch tooltip from business to enterprise plan (#41168)
## 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" ### 🔍 Cypress test results <!-- This is an auto-generated comment: Cypress test results --> > [!TIP] > 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉 > Workflow run: <https://github.com/appsmithorg/appsmith/actions/runs/16900241210> > Commit: a462cb0 > <a href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=16900241210&attempt=1" target="_blank">Cypress dashboard</a>. > Tags: `@tag.Sanity` > Spec: > <hr>Tue, 12 Aug 2025 06:34:15 UTC <!-- end of auto-generated comment: Cypress test results --> ## Communication Should the DevRel and Marketing teams inform users about this change? - [ ] Yes - [ ] No <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## 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. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent 72c47ee commit ae2f286

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

app/client/src/ce/components/DSDataFilter/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ export function DSDataFilter({
7474
const rampLinkSelector = getRampLink({
7575
section: RampSection.DSEditor,
7676
feature: RampFeature.MultipleEnv,
77+
isBusinessFeature: false,
7778
});
7879
const rampLink = useSelector(rampLinkSelector);
7980

app/client/src/ce/components/SwitchEnvironment/index.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import styled from "styled-components";
44
import { Icon, Link, Option, Select, Text, Tooltip } from "@appsmith/ads";
55
import { capitalizeFirstLetter } from "utils/helpers";
66
import {
7-
BUSINESS_EDITION_TEXT,
7+
ENTERPRISE_EDITION_TEXT,
88
SWITCH_ENV_DISABLED_TOOLTIP_TEXT,
99
createMessage,
1010
} from "ee/constants/messages";
@@ -68,7 +68,7 @@ export const DisabledTooltipContent = (rampLink: string) => {
6868
>
6969
{createMessage(SWITCH_ENV_DISABLED_TOOLTIP_TEXT)}
7070
<TooltipLink kind="primary" target="_blank" to={rampLink}>
71-
{createMessage(BUSINESS_EDITION_TEXT)}
71+
{createMessage(ENTERPRISE_EDITION_TEXT)}
7272
</TooltipLink>
7373
</Text>
7474
);
@@ -83,6 +83,7 @@ export default function SwitchEnvironment({}: Props) {
8383
const rampLinkSelector = getRampLink({
8484
section: RampSection.BottomBarEnvSwitcher,
8585
feature: RampFeature.MultipleEnv,
86+
isBusinessFeature: false,
8687
});
8788
const rampLink = useSelector(rampLinkSelector);
8889

app/client/src/ce/constants/messages.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,7 @@ export const USERS_HAVE_ACCESS_TO_ONLY_THIS_APP = () =>
206206
"Users will only have access to this application";
207207
export const NO_USERS_INVITED = () => "You haven't invited any users yet";
208208
export const BUSINESS_EDITION_TEXT = () => "business plan";
209+
export const ENTERPRISE_EDITION_TEXT = () => "enterprise plan";
209210
export const PARTNER_PROGRAM_CALLOUT = (
210211
email: string,
211212
) => `${email} is outside your organisation. If you’re building this app

0 commit comments

Comments
 (0)