clean up and add tests for SiteInitPage
Created by: sqs
See commits:
-
web: clean up and add tests for SiteInitPage
-
refactor: move SiteInitPage to site-admin/init subdir
-
refactor: rename global context flag showOnboarding -> needsSiteInit
This is an internal-API-only change. It is clearer to call this needsSiteInit because that makes it clear that it's only used for determining whether site initialization is needed, and not some other kind of onboarding (which could be user onboarding, for example).
-
web: make SiteInitPage a React.FunctionComponent