(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

@@ -84,6 +84,7 @@ export class WelcomePage extends Disposable {
));
}
// TODO: This can be removed, since the 'user' page is no longer part of any flow.
private _buildNameForm(owner: MultiHolder) {
let inputEl: HTMLInputElement;
let form: HTMLFormElement;
@@ -235,6 +236,8 @@ export class WelcomePage extends Disposable {
/**
* Builds a form to ask the new user a few questions.
*
* TODO: This can be removed, since the 'info' page is no longer part of any flow.
*/
private _buildInfoForm(owner: MultiHolder) {
const allFilled = Observable.create(owner, false);