Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
b67eeab
My Jetpack: add a setup wizard shell behind a feature flag
Sep 24, 2026
e814101
My Jetpack: limit the setup wizard to self-hosted sites
Sep 24, 2026
9dd4ef0
My Jetpack: connect to WordPress.com from the setup wizard
Sep 24, 2026
24f5637
My Jetpack: make the wizard's brand artwork actually draw
Sep 24, 2026
89d33a9
My Jetpack: skip the plans page so the wizard gets the user back
Sep 24, 2026
85dc9c0
My Jetpack: build the wizard's site-type question
Sep 24, 2026
168ad51
My Jetpack: remember that setup has been settled, and offer it on eve…
Sep 24, 2026
b808256
My Jetpack: drop the wizard's second step counter
Sep 24, 2026
36fcea2
My Jetpack: stop other notices talking over the onboarding takeover
Sep 25, 2026
9c893b7
My Jetpack: simplify the onboarding test's page default
Sep 26, 2026
b6a3123
My Jetpack: reword how the panel's display type is explained
Sep 26, 2026
c39e548
My Jetpack: keep the setup takeover off Jetpack's connection pages
Oct 5, 2026
ada4ded
My Jetpack: name the wizard's exit for where it goes
Oct 5, 2026
ddff977
My Jetpack: take the outlined display copy out of the wizard's panel
Oct 7, 2026
31dff59
Merge remote-tracking branch 'origin/trunk' into add/my-jetpack-onboa…
Oct 7, 2026
b2bd1c1
My Jetpack: answer the second review of the setup wizard
Oct 8, 2026
eae2020
My Jetpack: say what the onboarding changes actually change
Oct 8, 2026
5161afb
My Jetpack: say why the takeover is re-checked at render
Oct 8, 2026
213deb0
Merge trunk into add/my-jetpack-onboarding-wizard
DevinWalker Oct 14, 2026
9646ef6
My Jetpack: wait for the site connection before setup can be skipped
DevinWalker Oct 14, 2026
0d827c3
Merge remote-tracking branch 'origin/trunk' into add/my-jetpack-onboa…
DevinWalker Oct 15, 2026
3234656
My Jetpack: re-read the connection when Back returns to the wizard
DevinWalker Oct 15, 2026
41b5fe6
My Jetpack: restore the site-only connection e2e copy to trunk's wording
coder-karen Oct 15, 2026
f9889f1
Merge trunk; rename LinkButton to ButtonLink for @wordpress/ui 0.24
coder-karen Oct 15, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,14 +1,24 @@
import { Container, Col } from '@automattic/jetpack-components';
import clsx from 'clsx';
import { getMyJetpackWindowInitialState } from '../../data/utils/get-my-jetpack-window-state';
import { useFullScreen } from '../../hooks/use-fullscreen';
import Testimonials from '../testimonials';
import ConnectionForm from './connection-form/connection-form';
import styles from './styles.module.scss';
import { Wizard } from './wizard';
import type { FC } from 'react';

const OnboardingScreen: FC = () => {
useFullScreen();

// Only set when the wizard's feature flag is on; the page carries its configuration
// rather than the flag itself.
const wizard = getMyJetpackWindowInitialState( 'onboardingWizard' );

if ( wizard?.exitUrl ) {
return <Wizard exitUrl={ wizard.exitUrl } dashboardUrl={ wizard.dashboardUrl } />;
}

return (
<Container
horizontalSpacing={ 3 }
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
/* istanbul ignore file */ // Exists to be mocked: jsdom refuses to let `location` be replaced.

/**
* Send the browser somewhere.
*
* A module of its own for the same reason the connection package has one: jsdom
* makes both `location` and its `href` non-configurable, so a test can only see
* where the wizard tried to go by replacing this.
*
* @param url - Where to go.
*/
export function assignLocation( url: string ): void {
window.location.assign( url );
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { Wizard } from './wizard';
Loading
Loading