(core) Replace questionnaire for new users with a popup asking for just their primary use-case.

Summary:
- WelcomeQuestions implements the new popup.
- Popup shows up on any doc-list page, the first time the user visits one after
  signing up and setting their name.
- Submits responses to the same "New User Questions" doc, which has been
  changed to accept two new columns (ChoiceList of use_cases, and Text for
  use_other).
- Improve modals on mobile along the way.

Test Plan: Added browser tests and tested manually

Reviewers: alexmojaki

Reviewed By: alexmojaki

Subscribers: jarek

Differential Revision: https://phab.getgrist.com/D3213
This commit is contained in:
Dmitry S
2022-01-13 21:55:55 -05:00
parent ba6ecc5e9e
commit 215bb90e68
19 changed files with 335 additions and 47 deletions

View File

@@ -0,0 +1,11 @@
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_439_8451)">
<path d="M15.5001 4.10039L8.5001 0.100391C8.2001 0.000390626 7.8001 0.000390626 7.5001 0.100391L0.500098 4.10039C-0.199902 4.50039 -0.199902 5.50039 0.500098 5.80039L7.5001 9.80039C7.8001 10.0004 8.2001 10.0004 8.5001 9.80039L15.5001 5.80039C16.2001 5.50039 16.2001 4.50039 15.5001 4.10039Z" fill="#4A5899"/>
<path d="M9.5 11.6C9 11.9 8.5 12 8 12C7.5 12 7 11.9 6.5 11.6L2 9V13C2 15.1 5.1 16 8 16C10.9 16 14 15.1 14 13V9L9.5 11.6Z" fill="#4A5899"/>
</g>
<defs>
<clipPath id="clip0_439_8451">
<rect width="16" height="16" fill="white"/>
</clipPath>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 695 B