(core) Skip /welcome/user page for new users

Summary:
Since the new Grist sign-up page has a required field for
name, we can now skip the welcome page asking for the
same thing. Code and tests that can be removed later are
marked with TODOs.

Test Plan: Browser tests.

Reviewers: paulfitz

Reviewed By: paulfitz

Differential Revision: https://phab.getgrist.com/D3266
This commit is contained in:
George Gevoian
2022-02-21 19:09:18 -08:00
parent 36843e632b
commit 95592b81bd
3 changed files with 34 additions and 2 deletions

View File

@@ -19,6 +19,7 @@ export type IDocPage = number | SpecialDocPage;
export const HomePage = StringUnion('all', 'workspace', 'templates', 'trash');
export type IHomePage = typeof HomePage.type;
// TODO: Remove 'user' and 'info', since those pages are no longer part of any flow.
export const WelcomePage = StringUnion('user', 'info', 'teams', 'signup', 'verify', 'select-account');
export type WelcomePage = typeof WelcomePage.type;