From 01f69de9eb809ef16ac954e5d75ac884b11f8342 Mon Sep 17 00:00:00 2001 From: Nick O'Ferrall Date: Wed, 3 Apr 2024 16:10:16 +0100 Subject: [PATCH] feat: update pricing page with template changes (#9596) --- .../userDashboard/components/OrgBilling/OrgPlans.tsx | 11 +++-------- packages/client/utils/constants.ts | 12 ++++++++++-- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/packages/client/modules/userDashboard/components/OrgBilling/OrgPlans.tsx b/packages/client/modules/userDashboard/components/OrgBilling/OrgPlans.tsx index e355a1e8381..0e31205312a 100644 --- a/packages/client/modules/userDashboard/components/OrgBilling/OrgPlans.tsx +++ b/packages/client/modules/userDashboard/components/OrgBilling/OrgPlans.tsx @@ -5,12 +5,12 @@ import {useFragment} from 'react-relay' import Panel from '../../../../components/Panel/Panel' import Row from '../../../../components/Row/Row' import {OrgPlans_organization$key} from '../../../../__generated__/OrgPlans_organization.graphql' -import {ElementWidth, Threshold} from '../../../../types/constEnums' +import {ElementWidth} from '../../../../types/constEnums' import {TierEnum} from '../../../../__generated__/NewMeetingQuery.graphql' import OrgStats from './OrgStats' import useModal from '../../../../hooks/useModal' import DowngradeModal from './DowngradeModal' -import {EnterpriseBenefits, TeamBenefits} from '../../../../utils/constants' +import {EnterpriseBenefits, StarterBenefits, TeamBenefits} from '../../../../utils/constants' import SendClientSideEvent from '../../../../utils/SendClientSideEvent' import useAtmosphere from '../../../../hooks/useAtmosphere' import LimitExceededWarning from '../../../../components/LimitExceededWarning' @@ -91,12 +91,7 @@ const OrgPlans = (props: Props) => { { tier: 'starter', subtitle: 'Free', - details: [ - `${Threshold.MAX_STARTER_TIER_TEAMS} teams`, - 'Essential templates', - 'Retrospectives, Sprint Poker, Standups, Check-Ins', - 'Unlimited team members' - ], + details: [...StarterBenefits], buttonStyle: getButtonStyle(billingTier, 'starter'), buttonLabel: getButtonLabel(billingTier, 'starter'), isActive: !hasSelectedTeamPlan && billingTier === 'starter' diff --git a/packages/client/utils/constants.ts b/packages/client/utils/constants.ts index 08180a93209..b2f4a0f77d5 100644 --- a/packages/client/utils/constants.ts +++ b/packages/client/utils/constants.ts @@ -9,6 +9,7 @@ import {TaskStatusEnum} from '~/__generated__/UpdateTaskMutation.graphql' import {ReadableReasonToDowngradeEnum} from '../../server/graphql/types/ReasonToDowngrade' import {ReasonToDowngradeEnum} from '../__generated__/DowngradeToStarterMutation.graphql' import {TimelineEventEnum} from '../__generated__/MyDashboardTimelineQuery.graphql' +import {Threshold} from '../types/constEnums' /* Meeting Misc. */ export const MEETING_NAME = 'Check-in Meeting' @@ -160,10 +161,16 @@ export const SPOTLIGHT_TOP_SECTION_HEIGHT = 236 export const PARABOL_AI_USER_ID = 'parabolAIUser' +export const StarterBenefits = [ + `${Threshold.MAX_STARTER_TIER_TEAMS} teams`, + 'Retrospectives, Sprint Poker, Standups, Check-Ins', + 'Unlimited meeting templates', + 'Unlimited team members' +] + export const TeamBenefits = [ 'Unlimited teams', - 'Premium templates', - 'Custom templates', + 'Unlimited custom templates', 'Unlimited meeting history', 'Priority customer support', 'AI Summaries', @@ -172,6 +179,7 @@ export const TeamBenefits = [ export const EnterpriseBenefits = [ 'Single Sign-On (SSO)', + 'Org Admin Role', 'Annual Billing', 'Domain Whitelisting', 'Uptime Service Level Agreement (SLA)',