(core) Removing NEW_DEAL flag

Summary:
Removing NEW_DEAL flag checks and exposing all new deal features as default.
Also removing Pages.ts as it was moved to grist-core.

Test Plan: Existing and updated tests.

Reviewers: paulfitz

Reviewed By: paulfitz

Differential Revision: https://phab.getgrist.com/D3572
This commit is contained in:
Jarosław Sadziński
2022-08-09 16:49:51 +02:00
parent 083a0ec000
commit ee109e9186
7 changed files with 9 additions and 23 deletions

View File

@@ -147,8 +147,7 @@ export const PRODUCTS: IProduct[] = [
export function getDefaultProductNames() {
const defaultProduct = process.env.GRIST_DEFAULT_PRODUCT;
// TODO: can be removed once new deal is released.
const personalFreePlan = process.env.NEW_DEAL === 'true'
? PERSONAL_FREE_PLAN : PERSONAL_LEGACY_PLAN;
const personalFreePlan = PERSONAL_FREE_PLAN;
return {
// Personal site start off on a functional plan.
personal: defaultProduct || personalFreePlan,