(core) Change the label/nickname of the paid plan to Pro

Summary:
This is to match the pricing page, and to reduce confusion. The same
change was made to the description of the corresponding "pricing" object
on Stripe. The Stripe value is what's used in practice; this value is
actually only used as a fallback.

Test Plan: The code change does not affect tests, but several tests fixed after grist-core merge.

Reviewers: georgegevoian

Reviewed By: georgegevoian

Differential Revision: https://phab.getgrist.com/D3990
This commit is contained in:
Dmitry S 2023-08-07 22:52:17 -04:00
parent 031076cd07
commit efb5fc63d7
2 changed files with 2 additions and 2 deletions

View File

@ -83,7 +83,7 @@ export const displayPlanName: { [key: string]: string } = {
[PERSONAL_LEGACY_PLAN]: 'Free Personal (Legacy)', [PERSONAL_LEGACY_PLAN]: 'Free Personal (Legacy)',
[PERSONAL_FREE_PLAN]: 'Free Personal', [PERSONAL_FREE_PLAN]: 'Free Personal',
[TEAM_FREE_PLAN]: 'Team Free', [TEAM_FREE_PLAN]: 'Team Free',
[TEAM_PLAN]: 'Team' [TEAM_PLAN]: 'Pro'
} as const; } as const;
// Returns true if `planName` is for a personal product. // Returns true if `planName` is for a personal product.

View File

@ -2223,7 +2223,7 @@ export async function assertHeaderFillColor(col: string, color: string) {
export function openCellColorPicker(nr?: number) { export function openCellColorPicker(nr?: number) {
if (nr !== undefined) { if (nr !== undefined) {
return driver return driver
.find(`.test-widget-style-conditional-rule-${nr} .test-cell-color-select .test-color-select`) .find(`.test-widget-style-conditional-rule-${nr} .test-color-select`)
.click(); .click();
} }
return driver.find('.test-cell-color-select .test-color-select').click(); return driver.find('.test-cell-color-select .test-color-select').click();