chore: Replacing "Edition" with "Plan" for business and enterprise edition references (#33506)

## Description

Replacing "Edition" with "Plan" for business and enterprise edition
references.

Fixes [#1415](https://github.com/appsmithorg/cloud-services/issues/1415)
This commit is contained in:
Ankita Kinger 2024-05-17 13:19:32 +05:30 committed by GitHub
parent 3e06f1a570
commit 4bb0af479e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 25 additions and 25 deletions

View File

@ -306,7 +306,7 @@ describe("Branding", { tags: ["@tag.Settings"] }, () => {
.find("h2")
.should(
"have.text",
"Make your workspaces and apps look more yours in a few clicks as in the example below. Upload your logo and favicon, set your primary color, and preview the new look. To save a look you like, upgrade to our Business Edition.",
Cypress.env("MESSAGES").ADMIN_BRANDING_SETTINGS_SUBTITLE_UPGRADE(),
);
cy.get(locators.upgradeButton)
.should("be.visible")

View File

@ -679,7 +679,7 @@ export class HomePage {
this.agHelper.AssertElementExist(
"//span[text()='Users will have access to all applications in the workspace. For application-level access, try out our ']",
);
this.agHelper.AssertElementExist("//span[text()='business edition']");
this.agHelper.AssertElementExist("//span[text()='business plan']");
cy.xpath(this._email).click({ force: true }).type(email);
cy.xpath(this._selectRole).first().click({ force: true });
this.agHelper.Sleep(500);

View File

@ -200,7 +200,7 @@ export const USERS_HAVE_ACCESS_TO_ALL_APPS = () =>
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 edition";
export const BUSINESS_EDITION_TEXT = () => "business plan";
export const PARTNER_PROGRAM_CALLOUT = (
email: string,
) => `${email} is outside your organisation. If youre building this app
@ -1147,7 +1147,7 @@ export const BRANCH = () => "Branch";
export const CONTINUOUS_DELIVERY = () => "Continuous delivery";
export const CONFIGURE_CD_TITLE = () => "Configure continuous delivery";
export const CONFIGURE_CD_DESC = () =>
"To automatically trigger a pull when changes occur on the remote branch, consider upgrading to our enterprise edition for enhanced functionality";
"To automatically trigger a pull when changes occur on the remote branch, consider upgrading to our enterprise plan for enhanced functionality";
export const TRY_APPSMITH_ENTERPRISE = () => "Try Appsmith Enterprise";
export const NAV_DESCRIPTION = () =>
@ -1452,7 +1452,7 @@ export const ENTERPRISE_TAG = () => "Enterprise";
// Upgrade pages begin
export const AVAILABLE_ON_BUSINESS = () => "Available on a business plan only";
export const EXCLUSIVE_TO_BUSINESS = (featureName: string) =>
`The ${featureName} feature is exclusive to workspaces on the Business Edition`;
`The ${featureName} feature is exclusive to workspaces on the business plan`;
export const AVAILABLE_ON_ENTERPRISE = () => "Available on Appsmith Enterprise";
// Upgrade pages end
@ -1497,7 +1497,7 @@ export const RESTRICT_PUBLIC_EXPOSURE = () =>
export const RESTRICT_PUBLIC_EXPOSURE_DETAIL1 = () =>
"Proactively disallow groups of non-admin or non-super-admin users from publicly sharing your app or exporting app data out of your environment, domain, and security perimeters.";
export const ACCESS_CONTROL_UPGRADE_PAGE_FOOTER = () =>
"Unlock granular access controls along with audit logs and SSO for enhanced security and reliability with an upgrade to our Business edition.";
"Unlock granular access controls along with audit logs and SSO for enhanced security and reliability with an upgrade to our Business plan.";
// Access control upgrade page end
// Provisioning upgrade page begin
@ -1613,7 +1613,7 @@ export const DISCONNECT_CONFIRMATION = () => "Are you sure?";
export const ADMIN_BRANDING_SETTINGS_TITLE_UPGRADE = () =>
"Custom Branding for your workspaces";
export const ADMIN_BRANDING_SETTINGS_SUBTITLE_UPGRADE = () =>
"Make your workspaces and apps look more yours in a few clicks as in the example below. Upload your logo and favicon, set your primary color, and preview the new look. To save a look you like, upgrade to our Business Edition.";
"Make your workspaces and apps look more yours in a few clicks as in the example below. Upload your logo and favicon, set your primary color, and preview the new look. To save a look you like, upgrade to our Business plan.";
export const ADMIN_BRANDING_COLOR_TOOLTIP = () =>
`When you choose a primary color, we auto-magically fill in the secondary and accent colors. You can change them to get the look you want.`;
export const ADMIN_BRANDING_LOGO_SIZE_ERROR = () =>
@ -1921,23 +1921,23 @@ export const IN_APP_EMBED_SETTING = {
forkLabelTooltip: () =>
"Forking allows developers to copy your app to their workspace",
upgradeHeading: () =>
"Embedding in public mode is supported in the community edition. To make your app public, please contact your administrator.",
"Embedding in public mode is supported in the free plan. To make your app public, please contact your administrator.",
upgradeHeadingForInviteModal: () => "Public apps",
upgradeSubheadingForInviteModal: () =>
"Make your app public by visiting the share settings, and easily embed your Appsmith app into legacy applications",
privateAppsText: () => "Private apps",
rampSubtextModal: () =>
"Embed private Appsmith apps and seamlessly authenticate users through SSO in our Enterprise Edition",
"Embed private Appsmith apps and seamlessly authenticate users through SSO in our Enterprise Plan",
rampSubtextSidebar: () =>
"To embed private Appsmith apps and seamlessly authenticate users through SSO, try our ",
rampLinktext: () => "Try Enterprise",
rampLinktextvariant2: () => "Enterprise Edition",
rampLinktextvariant2: () => "Enterprise Plan",
upgradeContent: () => "Private embedding is now available in",
appsmithEnterpriseEdition: () => "Appsmith Enterprise Edition.",
appsmithEnterpriseEdition: () => "Appsmith Enterprise Plan.",
secondaryHeadingForAppSettings: () =>
"Make your app public to embed your Appsmith app into legacy applications",
secondaryHeading: () =>
"Embedding in public mode is supported in the community edition. To make your app public, please contact your administrator.",
"Embedding in public mode is supported in the free plan. To make your app public, please contact your administrator.",
};
export const APP_NAVIGATION_SETTING = {
@ -2105,9 +2105,9 @@ export const customJSLibraryMessages = {
`Name collision detected: ${accessors}`,
};
// Business Edition upgrade page
// Business Plan upgrade page
export const MOVE_TO_BUSINESS_EDITION = (trailingChar: string) =>
`Move to Business edition${trailingChar ? trailingChar : ""}`;
`Move to Business plan${trailingChar ? trailingChar : ""}`;
//Datasource environment
export const START_SWITCH_ENVIRONMENT = (environment: string) =>

View File

@ -92,14 +92,14 @@ export const UpgradeToBEPage = () => {
<ContentWrapper className="content-wrapper">
<LeftWrapper>
<img
alt="Upgrade to Business edition"
alt="Upgrade to business plan"
loading="lazy"
src={BUSINESS_FEATURES_IMAGE}
/>
</LeftWrapper>
<ImageContainer>
<img
alt="Upgrade to Business edition"
alt="Upgrade to business plan"
loading="lazy"
src={UPGRADE_BOX_IMAGE}
/>

View File

@ -10279,10 +10279,10 @@ export const defaultAppState = {
useCase: "personal project",
enableTelemetry: true,
roles: [
"Upgrade to business edition to access roles and groups for conditional business logic",
"Upgrade to business plan to access roles and groups for conditional business logic",
],
groups: [
"Upgrade to business edition to access roles and groups for conditional business logic",
"Upgrade to business plan to access roles and groups for conditional business logic",
],
emptyInstance: false,
accountNonExpired: true,
@ -12707,10 +12707,10 @@ export const defaultAppState = {
useCase: "personal project",
enableTelemetry: true,
roles: [
"Upgrade to business edition to access roles and groups for conditional business logic",
"Upgrade to business plan to access roles and groups for conditional business logic",
],
groups: [
"Upgrade to business edition to access roles and groups for conditional business logic",
"Upgrade to business plan to access roles and groups for conditional business logic",
],
emptyInstance: false,
accountNonExpired: true,
@ -12731,10 +12731,10 @@ export const defaultAppState = {
useCase: "personal project",
enableTelemetry: true,
roles: [
"Upgrade to business edition to access roles and groups for conditional business logic",
"Upgrade to business plan to access roles and groups for conditional business logic",
],
groups: [
"Upgrade to business edition to access roles and groups for conditional business logic",
"Upgrade to business plan to access roles and groups for conditional business logic",
],
emptyInstance: false,
accountNonExpired: true,

View File

@ -29,10 +29,10 @@ export const unitTestBaseMockStore = {
useCase: "personal project",
enableTelemetry: true,
roles: [
"Upgrade to business edition to access roles and groups for conditional business logic",
"Upgrade to business plan to access roles and groups for conditional business logic",
],
groups: [
"Upgrade to business edition to access roles and groups for conditional business logic",
"Upgrade to business plan to access roles and groups for conditional business logic",
],
emptyInstance: false,
accountNonExpired: true,

View File

@ -2,5 +2,5 @@ package com.appsmith.server.constants.ce;
public class AccessControlConstantsCE {
public static final String UPGRADE_TO_BUSINESS_EDITION_TO_ACCESS_ROLES_AND_GROUPS_FOR_CONDITIONAL_BUSINESS_LOGIC =
"Upgrade to business edition to access roles and groups for conditional business logic";
"Upgrade to business plan to access roles and groups for conditional business logic";
}