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: a462cb0c2ddcd29b19e7adadf3de8fd5f5868e9f > <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 -->
This commit is contained in:
parent
72c47ee27c
commit
ae2f286a13
|
|
@ -74,6 +74,7 @@ export function DSDataFilter({
|
|||
const rampLinkSelector = getRampLink({
|
||||
section: RampSection.DSEditor,
|
||||
feature: RampFeature.MultipleEnv,
|
||||
isBusinessFeature: false,
|
||||
});
|
||||
const rampLink = useSelector(rampLinkSelector);
|
||||
|
||||
|
|
|
|||
|
|
@ -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)}
|
||||
<TooltipLink kind="primary" target="_blank" to={rampLink}>
|
||||
{createMessage(BUSINESS_EDITION_TEXT)}
|
||||
{createMessage(ENTERPRISE_EDITION_TEXT)}
|
||||
</TooltipLink>
|
||||
</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);
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user