Skip to content

Pricing Grid: Split SFTP/SSH and Git into separate features #102856

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Apr 29, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions packages/calypso-products/src/constants/features.ts
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,8 @@ export const FEATURE_REAL_TIME_SECURITY_SCANS = 'real-time-security-scans';
export const FEATURE_SECURITY_VULNERABILITY_NOTIFICATIONS = 'security-vulnerability-notifications';
export const FEATURE_SECURITY_DDOS = 'security-ddos';
export const FEATURE_DEV_TOOLS = 'dev-tools';
export const FEATURE_DEV_TOOLS_SSH = 'dev-tools-ssh';
export const FEATURE_DEV_TOOLS_GIT = 'dev-tools-git';
export const FEATURE_WP_UPDATES = 'wp-updates';
export const FEATURE_MULTI_SITE = 'multi-site';
export const FEATURE_SELL_SHIP = 'sell-ship';
Expand Down
4 changes: 4 additions & 0 deletions packages/calypso-products/src/feature-group-plan-map.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ import {
FEATURE_CUSTOM_PRODUCT_KITS,
FEATURE_DATACENTRE_FAILOVER,
FEATURE_DEV_TOOLS,
FEATURE_DEV_TOOLS_SSH,
FEATURE_DEV_TOOLS_GIT,
FEATURE_DISCOUNTED_SHIPPING,
FEATURE_DISPLAY_PRODUCTS_BRAND,
FEATURE_DONATIONS_AND_TIPS_JP,
Expand Down Expand Up @@ -220,6 +222,8 @@ export const featureGroups: Partial< FeatureGroupMap > = {
getTitle: () => i18n.translate( 'Developer tools' ),
getFeatures: () => [
FEATURE_DEV_TOOLS,
FEATURE_DEV_TOOLS_SSH,
FEATURE_DEV_TOOLS_GIT,
FEATURE_SITE_STAGING_SITES,
FEATURE_MULTI_SITE,
FEATURE_WP_UPDATES,
Expand Down
15 changes: 15 additions & 0 deletions packages/calypso-products/src/features-list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,8 @@ import {
FEATURE_SECURITY_MALWARE,
FEATURE_SECURITY_DDOS,
FEATURE_DEV_TOOLS,
FEATURE_DEV_TOOLS_SSH,
FEATURE_DEV_TOOLS_GIT,
FEATURE_WP_UPDATES,
FEATURE_MULTI_SITE,
FEATURE_SELL_SHIP,
Expand Down Expand Up @@ -1942,6 +1944,19 @@ const FEATURES_LIST: FeatureList = {
getDescription: () =>
i18n.translate( 'Use familiar developer tools to manage and deploy your site.' ),
},
[ FEATURE_DEV_TOOLS_SSH ]: {
getSlug: () => FEATURE_DEV_TOOLS_SSH,
getTitle: () => i18n.translate( 'SFTP/SSH, WP-CLI' ),
getDescription: () => i18n.translate( 'Access your site via SSH and manage it with WP-CLI.' ),
},
[ FEATURE_DEV_TOOLS_GIT ]: {
getSlug: () => FEATURE_DEV_TOOLS_GIT,
getTitle: () => i18n.translate( 'Git commands and GitHub Deployments' ),
getDescription: () =>
i18n.translate(
'Deploy from GitHub with a few clicks. Simple and advanced deployment modes supported.'
),
},
[ FEATURE_SITE_STAGING_SITES ]: {
getSlug: () => FEATURE_SITE_STAGING_SITES,
getTitle: () => i18n.translate( 'Free staging site' ),
Expand Down
5 changes: 4 additions & 1 deletion packages/calypso-products/src/plans-list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,8 @@ import {
FEATURE_SECURITY_MALWARE,
FEATURE_SECURITY_DDOS,
FEATURE_DEV_TOOLS,
FEATURE_DEV_TOOLS_SSH,
FEATURE_DEV_TOOLS_GIT,
FEATURE_WP_UPDATES,
FEATURE_MULTI_SITE,
FEATURE_SELL_SHIP,
Expand Down Expand Up @@ -1609,7 +1611,8 @@ const getPlanBusinessDetails = (): IncompleteWPcomPlan => ( {
FEATURE_REAL_TIME_SECURITY_SCANS,
FEATURE_SPAM_JP,
FEATURE_SECURITY_DDOS,
FEATURE_DEV_TOOLS,
FEATURE_DEV_TOOLS_GIT,
FEATURE_DEV_TOOLS_SSH,
FEATURE_SITE_STAGING_SITES,
FEATURE_SEAMLESS_STAGING_PRODUCTION_SYNCING,
FEATURE_WP_UPDATES,
Expand Down