Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "Badge: Remove unused component files" #78941

Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
83 commits
Select commit Hold shift + click to select a range
5509801
Checkout: Increase specificity of checkout padding override (#78760)
sirbrillig Jun 29, 2023
f7adc32
BulkDomainTransfer: improve default error message (#78750)
heavyweight Jun 29, 2023
397a28d
Newsletters: Update style and text on intro screen (#78751)
edanzer Jun 29, 2023
5927e68
desktop: bump version to v8.0.0 (#78507)
nsakaimbo Jun 29, 2023
caa1d5b
Hotjar script added to /advertising page (#78778)
paulopmt1 Jun 29, 2023
7f7643a
Jetpack Connection: fix sign-up as a different user (#78036)
sergeymitr Jun 29, 2023
d63941d
Update Congrats page for single/multiple plugins (#78671)
candy02058912 Jun 29, 2023
3244faa
Edge Cache: Disable toggle if the site isn't public (#78777)
danielbachhuber Jun 29, 2023
8a75eee
Update label to account for updated Cache block features (#78779)
wojtekn Jun 29, 2023
a475fe2
Checkout: add ad-free experience to plan features (#78574)
aneeshd16 Jun 30, 2023
acf051f
Sidebar: refresh Manage all domains button (#78803)
zaguiini Jun 30, 2023
c548f2e
Colors and Fonts variations - Layout and alignment fixes (#78734)
miksansegundo Jun 30, 2023
8e6cba0
My Home: Add Manage all domains quick link (#78804)
zaguiini Jun 30, 2023
439626e
Deprecate design preview option viewport_width (#78823)
taipeicoder Jun 30, 2023
3730574
Social: Change multi-connection feature flag to a site feature (#76900)
pablinos Jun 30, 2023
11c50f4
Cookie Banner: Remove Advertising From Being Selected By Default (#78…
Jun 30, 2023
d494ee7
Add Jetpack connect screen loading screens and minor UI update (#78831)
chihsuan Jun 30, 2023
746313a
Reader: Add read feed search query hook (#78827)
mashikag Jun 30, 2023
9519dd8
Switch default start-writing theme to hey from livro (#78819)
lsl Jun 30, 2023
52cae38
Domains: Add empty state to All Domains page (#78841)
zaguiini Jun 30, 2023
e4686f9
Replace search component with one from sites page (#78776)
timur987 Jun 30, 2023
6ab73a6
Checkout: Show full "renewal" TOS for domain transfers (#78808)
sirbrillig Jun 30, 2023
ed54687
Fixes the Blaze credits for atomic sites using the Blaze Dashboard ap…
sbarbosa Jun 30, 2023
08136eb
My Sites: Remove manage domains from site selector (#78857)
ebinnion Jun 30, 2023
70949b8
Add tracks to the Blaze Dashboard app (#78807)
sbarbosa Jun 30, 2023
eece33f
Bulk Domain Transfer: Handle status 400 from auth code endpoint (#78859)
alshakero Jun 30, 2023
a00269a
Reader: Update sidebar to use ReaderAvatar component (#78788)
eoigal Jun 30, 2023
2ab46b7
Reader: update Feed/Site stream header and sidebar (#78818)
creativecoder Jun 30, 2023
78b8c25
Hosting onboarding: preserve hosting flow even for non-developers (#7…
zaguiini Jun 30, 2023
028936f
Sending hotjarSiteSettings to BlazePress.render call (#78851)
paulopmt1 Jun 30, 2023
5643b82
Hosting onboarding: hide masterbar (#78863)
zaguiini Jun 30, 2023
f7a9d10
Hosting onboarding: allow going back when in the onboarding flow (#78…
zaguiini Jun 30, 2023
c349702
Adding truncation to site titles in reader sidebar (#78858)
davemart-in Jun 30, 2023
e28d9be
Reader: remove unused showPostHeader prop (#78606)
creativecoder Jun 30, 2023
4ce2d21
Subscribers Page: Fix expanding width on add subscriber modal. (#78870)
yansern Jul 1, 2023
18f4560
add null check to fix issue on wordpress.com (#78878)
roo2 Jul 3, 2023
9375f84
reader: fix related sites on tags page (#78879)
roo2 Jul 3, 2023
477a109
Components: Adjust the Pricing Slider component styling (#78766)
dognose24 Jul 3, 2023
ed25594
CI: add retry to Calypso E2E and Gutenberg E2E specs. (#78528)
worldomonation Jul 3, 2023
3c09561
Remove an redundant "support via email" feature listed for Personal (…
southp Jul 3, 2023
3d6ad33
Growth: Minimal stepper onboarding flow (#77801)
chriskmnds Jul 3, 2023
1a62a85
Limited GS on Personal: Load styles for treatment group (take 2) (#78…
mmtr Jul 3, 2023
644b8d1
Subscribers Page: Hide `SubscribersHeaderPopover` when there are no s…
ivan-ottinger Jul 3, 2023
6aebe8e
Plans 2023: (foundation) Sync plans grid views across signup/tailored…
chriskmnds Jul 3, 2023
9f10042
Jetpack Pro Dashboard: Fix license card layout for Woo products expan…
atanas-dev Jul 3, 2023
f77f257
Bulk Domain Transfer Flow - Flow redesign (#78822)
agrullon95 Jul 3, 2023
e906e2e
Hosting onboarding: use `ref=hosting-flow` in Sites CTAs (#78866)
zaguiini Jul 3, 2023
9713aa6
Global Styles on Personal A/B: Prepare hook (#78895)
mmtr Jul 3, 2023
a60e077
Global Styles on Personal A/B: Do not fetch assigment on LOTS (#78906)
mmtr Jul 3, 2023
3846414
Update task to point to the edit canvas (#78742)
sixhours Jul 3, 2023
fa16b45
Site Transfers: Launch Site Transfers Feature (#78907)
katinthehatsite Jul 3, 2023
f501820
Alternative Support Widget Experiment (#78282)
AllTerrainDeveloper Jul 3, 2023
121161a
Subscription Management: Refactor - introduce SiteSubscriptionsQueryC…
mashikag Jul 3, 2023
c87072d
Add checkout included features list for new Stats products (#78868)
elliottprogrammer Jul 3, 2023
4bed13f
Excerpt and Permalink: Update and localize Learn More (#78908)
escapemanuele Jul 3, 2023
6e5e450
reader: add signup link to logged out tags page (#78880)
roo2 Jul 3, 2023
f5a9963
Update page title on tag pages (#78412)
roo2 Jul 3, 2023
0c4f297
Enable localization of read/search page with url param (#78656)
roo2 Jul 3, 2023
c909f5e
remove search.en.wordpress.com redirect (#78166)
roo2 Jul 3, 2023
ebc4810
Quick links: list Jetpack functionalities for Business or Commerce si…
mpkelly Jul 4, 2023
0b84765
Design Preview: Fix style variations might not work (#78924)
arthur791004 Jul 4, 2023
7910678
Stats: Add Jetpack Stats products supporting check (#78657)
kangzj Jul 4, 2023
1ffd728
Domains: Allow bulk domain transfer of domains that are already conne…
leonardost Jul 4, 2023
8a1d479
Subscription management: Refactor SiteSubscriptionsList to allow for …
mashikag Jul 4, 2023
e3bc413
All sites using the assembler set the option wpcom_site_setup (#78852)
miksansegundo Jul 4, 2023
9da9094
GS on Personal A/B: Neutralise style variation wording in assembler (…
dsas Jul 4, 2023
e4df0d8
Bulk Domain Transfer: Apply new routing (#78806)
heavyweight Jul 4, 2023
40a6b50
GS on personal A/B: Show correct upgrade message in the launch banner…
rcrdortiz Jul 4, 2023
9c2983c
GS on Personal A/B: Privacy Settings Implement A/B testing for Globa…
rcrdortiz Jul 4, 2023
611b09c
Site Transfers: Tweak design of `<ChooseUserLoadingPlaceholder />` (#…
danielbachhuber Jul 4, 2023
275999c
Global Styles: Avoid registering core blocks multiple times (#78925)
arthur791004 Jul 4, 2023
5f32e31
rework `useHelpSearchQuery` & remove unnecessary code (#78729)
Jul 4, 2023
170bda7
Move Badge component to @automattic/components (#78809)
sixhours Jul 4, 2023
d011b19
Domain transfer: Handle 400 error from code EP (#78932)
alshakero Jul 4, 2023
efaf76f
Jetpack icon aligned on desktop (#78936)
escapemanuele Jul 4, 2023
1938974
Fixes a styling issue in the Blaze Dashboard app (#78862)
sbarbosa Jul 4, 2023
a89909c
Update domain thank-you checkout to point to home if keep building is…
sixhours Jul 4, 2023
88fb1f3
Update references to point to new package component
sixhours Jun 29, 2023
7ce0b41
Ignore eslint warnings or the purposes of this PR
sixhours Jun 29, 2023
f392cc0
update playground scope
sixhours Jun 29, 2023
41ffe91
Fix ref
sixhours Jun 29, 2023
c6d84c6
Remove unused badge files (#78814)
sixhours Jul 4, 2023
8b75da7
Revert "Remove unused badge files (#78814)"
valterlorran Jul 4, 2023
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
Prev Previous commit
Next Next commit
Bulk Domain Transfer: Apply new routing (#78806)
* BulkDomainTransfer: apply new routing

* Renaming to domain-transfer

* Update flow progress

* Change type

* Fix action types

* Fix data-stores

---------

Co-authored-by: escapemanuele <escapemanuele@gmail.com>
  • Loading branch information
heavyweight and escapemanuele authored Jul 4, 2023
commit e4df0d812e54cd731d98bd439e967a109f57b8fa
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { useLocale } from '@automattic/i18n-utils';
import { useFlowProgress, BULK_DOMAIN_TRANSFER } from '@automattic/onboarding';
import { useFlowProgress, DOMAIN_TRANSFER } from '@automattic/onboarding';
import { useSelect, useDispatch } from '@wordpress/data';
import { translate } from 'i18n-calypso';
import {
Expand All @@ -13,20 +13,20 @@ import { recordSubmitStep } from './internals/analytics/record-submit-step';
import type { Flow, ProvidedDependencies } from './internals/types';
import type { UserSelect } from '@automattic/data-stores';

const bulkDomainTransfer: Flow = {
name: BULK_DOMAIN_TRANSFER,
const domainTransfer: Flow = {
name: DOMAIN_TRANSFER,
get title() {
return translate( 'Bulk domain transfer' );
},
useSteps() {
return [
{
slug: 'intro',
asyncComponent: () => import( './internals/steps-repository/bulk-domain-transfer-intro' ),
asyncComponent: () => import( './internals/steps-repository/domain-transfer-intro' ),
},
{
slug: 'domains',
asyncComponent: () => import( './internals/steps-repository/bulk-domain-transfer-domains' ),
asyncComponent: () => import( './internals/steps-repository/domain-transfer-domains' ),
},
{
slug: 'processing',
Expand Down Expand Up @@ -74,10 +74,7 @@ const bulkDomainTransfer: Flow = {
setSignupCompleteFlowName( flowName );
const returnUrl = encodeURIComponent( destination );

const checkoutBackURL = new URL(
'/setup/bulk-domain-transfer/domains',
window.location.href
);
const checkoutBackURL = new URL( '/setup/domain-transfer/domains', window.location.href );

// use replace instead of assign to remove the processing URL from history
return window.location.replace(
Expand All @@ -104,4 +101,4 @@ const bulkDomainTransfer: Flow = {
},
};

export default bulkDomainTransfer;
export default domainTransfer;
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ button {
.setup-blog,
.celebration-step,
.use-my-domain,
.bulk-domain-transfer,
.domain-transfer,
.update-design {
padding: 60px 0 0;
box-sizing: border-box;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { BulkDomainTransferData } from '@automattic/data-stores';
import { DomainTransferData } from '@automattic/data-stores';
import { useDataLossWarning } from '@automattic/onboarding';
import { Button } from '@wordpress/components';
import { useDispatch, useSelect } from '@wordpress/data';
Expand All @@ -17,7 +17,7 @@ export interface Props {
onSubmit: () => void;
}

const defaultState: BulkDomainTransferData = {
const defaultState: DomainTransferData = {
[ uuid() ]: {
domain: '',
auth: '',
Expand All @@ -38,7 +38,7 @@ const Domains: React.FC< Props > = ( { onSubmit } ) => {
( { valid } ) => valid
).length;

const { setPendingAction, setBulkDomainsData } = useDispatch( ONBOARD_STORE );
const { setPendingAction, setDomainsTransferData } = useDispatch( ONBOARD_STORE );

const { __, _n } = useI18n();

Expand Down Expand Up @@ -81,7 +81,7 @@ const Domains: React.FC< Props > = ( { onSubmit } ) => {
( id: string, value: { domain: string; auth: string; valid: boolean } ) => {
const newDomainsState = { ...domainsState };
newDomainsState[ id ] = value;
setBulkDomainsData( newDomainsState );
setDomainsTransferData( newDomainsState );
},
// eslint-disable-next-line react-hooks/exhaustive-deps
[ changeKey ]
Expand All @@ -94,13 +94,13 @@ const Domains: React.FC< Props > = ( { onSubmit } ) => {
auth: '',
valid: false,
};
setBulkDomainsData( newDomainsState );
setDomainsTransferData( newDomainsState );
}

function removeDomain( key: string ) {
const newDomainsState = { ...domainsState };
delete newDomainsState[ key ];
setBulkDomainsData( newDomainsState );
setDomainsTransferData( newDomainsState );
}

return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const Intro: Step = function Intro( { navigation, flow } ) {
isLargeSkipLayout={ false }
formattedHeader={
<FormattedHeader
id="bulk-domains-header"
id="domain-transfer-header"
headerText={ __( 'Add unlocked domains' ) }
align="left"
/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@import "@wordpress/base-styles/breakpoints";
@import "@automattic/onboarding/styles/mixins";

.bulk-domain-transfer {
.domain-transfer {
height: 100%;
padding: 60px 0 0;
margin: 0 auto;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const Intro: Step = function Intro( { navigation } ) {
isLargeSkipLayout={ false }
formattedHeader={
<FormattedHeader
id="bulk-domains-header"
id="domain-transfer-header"
headerText={ __( 'Transfer domains' ) }
subHeaderText={ __( 'Follow along these 3 steps to transfer domains to WordPress.com' ) }
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
$font-family: "SF Pro Text", $sans;
$heading-font-family: "SF Pro Display", $sans;


.bulk-domain-transfer {
height: auto;
.domain-transfer {
height: 100%;
padding: 60px 0 0;
margin: 0 auto;
max-width: 1024px;
display: flex;
Expand Down Expand Up @@ -169,7 +169,4 @@ $heading-font-family: "SF Pro Display", $sans;
display: flex;
align-items: center;
}


}

8 changes: 3 additions & 5 deletions client/landing/stepper/declarative-flow/registered-flows.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
DESIGN_FIRST_FLOW,
TRANSFERRING_HOSTED_SITE_FLOW,
IMPORT_HOSTED_SITE_FLOW,
BULK_DOMAIN_TRANSFER,
DOMAIN_TRANSFER,
ONBOARDING_PM_FLOW,
} from '@automattic/onboarding';
import type { Flow } from '../declarative-flow/internals/types';
Expand Down Expand Up @@ -111,10 +111,8 @@ availableFlows[ 'plugin-bundle' ] = () =>
import( /* webpackChunkName: "plugin-bundle-flow" */ '../declarative-flow/plugin-bundle-flow' );

if ( config.isEnabled( 'bulk-domain-transfer-flow' ) ) {
availableFlows[ BULK_DOMAIN_TRANSFER ] = () =>
import(
/* webpackChunkName: "bulk-domain-transfer" */ '../declarative-flow/bulk-domain-transfer'
);
availableFlows[ DOMAIN_TRANSFER ] = () =>
import( /* webpackChunkName: "domain-transfer" */ './domain-transfer' );
}

export default availableFlows;
8 changes: 4 additions & 4 deletions packages/data-stores/src/onboard/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { STORE_KEY as SITE_STORE } from '../site';
import { CreateSiteParams, Visibility, NewSiteBlogDetails } from '../site/types';
import { SiteGoal, STORE_KEY } from './constants';
import { ProfilerData } from './types';
import type { BulkDomainTransferData, State } from '.';
import type { DomainTransferData, State } from '.';
import type { DomainSuggestion } from '../domain-suggestions';
import type { FeatureId } from '../shared-types';
// somewhat hacky, but resolves the circular dependency issue
Expand Down Expand Up @@ -451,8 +451,8 @@ export const setDomainCartItem = ( domainCartItem: MinimalRequestCartProduct | u
domainCartItem,
} );

export const setBulkDomainsData = ( bulkDomainsData: BulkDomainTransferData | undefined ) => ( {
type: 'SET_BULK_DOMAINS_DATA' as const,
export const setDomainsTransferData = ( bulkDomainsData: DomainTransferData | undefined ) => ( {
type: 'SET_DOMAINS_TRANSFER_DATA' as const,
bulkDomainsData,
} );

Expand Down Expand Up @@ -493,7 +493,7 @@ export type OnboardAction = ReturnType<
| typeof resetOnboardStore
| typeof resetOnboardStoreWithSkipFlags
| typeof setStoreType
| typeof setBulkDomainsData
| typeof setDomainsTransferData
| typeof setDomain
| typeof setDomainCategory
| typeof setDomainSearch
Expand Down
2 changes: 1 addition & 1 deletion packages/data-stores/src/onboard/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export function register(): typeof STORE_KEY {
'anchorPodcastId',
'anchorEpisodeId',
'anchorSpotifyUrl',
'bulkDomainNames',
'domainTransferNames',
'domain',
'domainSearch',
'domainForm',
Expand Down
28 changes: 14 additions & 14 deletions packages/data-stores/src/onboard/reducer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import type { OnboardAction } from './actions';
import type {
DomainForm,
ProfilerData,
BulkDomainTransferNames,
BulkDomainTransferAuthCodes,
DomainTransferNames,
DomainTransferAuthCodes,
} from './types';
import type { DomainSuggestion } from '../domain-suggestions';
import type { FeatureId } from '../shared-types';
Expand Down Expand Up @@ -524,20 +524,20 @@ export const profilerData: Reducer< ProfilerData | undefined, OnboardAction > =
return state;
};

export const bulkDomainNames: Reducer< BulkDomainTransferNames | undefined, OnboardAction > = (
export const domainTransferNames: Reducer< DomainTransferNames | undefined, OnboardAction > = (
state,
action
) => {
if ( action.type === 'SET_BULK_DOMAINS_DATA' ) {
if ( action.type === 'SET_DOMAINS_TRANSFER_DATA' ) {
// we don't want to store empty objects
if ( action.bulkDomainsData && Object.keys( action.bulkDomainsData ).length > 0 ) {
// remove auth codes for safety
return Object.entries( action.bulkDomainsData ).reduce(
( bulkDomainNames, [ key, value ] ) => {
bulkDomainNames[ key ] = value.domain;
return bulkDomainNames;
( domainTransferNames, [ key, value ] ) => {
domainTransferNames[ key ] = value.domain;
return domainTransferNames;
},
{} as BulkDomainTransferNames
{} as DomainTransferNames
);
}
return undefined;
Expand All @@ -551,17 +551,17 @@ export const bulkDomainNames: Reducer< BulkDomainTransferNames | undefined, Onbo
/**
* A separate reducer for auth codes to avoid persisting sensitive data.
*/
export const bulkDomainAuthCodes: Reducer<
BulkDomainTransferAuthCodes | undefined,
export const domainTransferAuthCodes: Reducer<
DomainTransferAuthCodes | undefined,
OnboardAction
> = ( state, action ) => {
if ( action.type === 'SET_BULK_DOMAINS_DATA' ) {
if ( action.type === 'SET_DOMAINS_TRANSFER_DATA' ) {
// we don't want to store empty objects
if ( action.bulkDomainsData && Object.keys( action.bulkDomainsData ).length > 0 ) {
return Object.entries( action.bulkDomainsData ).reduce( ( authCodes, [ key, value ] ) => {
authCodes[ key ] = { auth: value.auth, valid: value.valid };
return authCodes;
}, {} as BulkDomainTransferAuthCodes );
}, {} as DomainTransferAuthCodes );
}
return undefined;
}
Expand Down Expand Up @@ -594,8 +594,8 @@ const reducer = combineReducers( {
hasUsedDomainsStep,
hasUsedPlansStep,
selectedFeatures,
bulkDomainNames,
bulkDomainAuthCodes,
domainTransferNames,
domainTransferAuthCodes,
storeType,
selectedFonts,
selectedDesign,
Expand Down
18 changes: 9 additions & 9 deletions packages/data-stores/src/onboard/selectors.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { BulkDomainTransferData } from './types';
import { DomainTransferData } from './types';
import type { State } from './reducer';
export const getAnchorPodcastId = ( state: State ) => state.anchorPodcastId;
export const getAnchorEpisodeId = ( state: State ) => state.anchorEpisodeId;
Expand All @@ -11,18 +11,18 @@ export const getAnchorSpotifyUrl = ( state: State ) => state.anchorSpotifyUrl;
* @returns
*/
export const getBulkDomainsData = ( state: State ) => {
if ( ! state.bulkDomainNames ) {
if ( ! state.domainTransferNames ) {
return undefined;
}
const bulkDomainTransferData: BulkDomainTransferData = {};
for ( const key in state.bulkDomainNames ) {
bulkDomainTransferData[ key ] = {
domain: state.bulkDomainNames[ key ],
auth: state.bulkDomainAuthCodes?.[ key ].auth ?? '',
valid: state.bulkDomainAuthCodes?.[ key ].valid ?? false,
const domainTransferData: DomainTransferData = {};
for ( const key in state.domainTransferNames ) {
domainTransferData[ key ] = {
domain: state.domainTransferNames[ key ],
auth: state.domainTransferAuthCodes?.[ key ].auth ?? '',
valid: state.domainTransferAuthCodes?.[ key ].valid ?? false,
};
}
return bulkDomainTransferData;
return domainTransferData;
};
export const getIsRedirecting = ( state: State ) => state.isRedirecting;
export const getPlanProductId = ( state: State ) => state.planProductId;
Expand Down
6 changes: 3 additions & 3 deletions packages/data-stores/src/onboard/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@ export interface ProfilerData {
[ key: string ]: string | number | boolean | string[] | number[];
}

export type BulkDomainTransferNames = Record< string, string >;
export type DomainTransferNames = Record< string, string >;

export type BulkDomainTransferAuthCodes = Record<
export type DomainTransferAuthCodes = Record<
string,
{
auth: string;
valid: boolean;
}
>;

export type BulkDomainTransferData = Record<
export type DomainTransferData = Record<
string,
{
domain: string;
Expand Down
4 changes: 2 additions & 2 deletions packages/onboarding/src/flow-progress/use-flow-progress.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
FREE_FLOW,
COPY_SITE_FLOW,
ONBOARDING_PM_FLOW,
BULK_DOMAIN_TRANSFER,
DOMAIN_TRANSFER,
} from '../utils/flows';

/* eslint-disable no-restricted-imports */
Expand Down Expand Up @@ -96,7 +96,7 @@ const flows: Record< string, { [ step: string ]: number } > = {
domains: 1,
plans: 2,
},
[ BULK_DOMAIN_TRANSFER ]: {
[ DOMAIN_TRANSFER ]: {
user: 0,
intro: 1,
domains: 2,
Expand Down
2 changes: 1 addition & 1 deletion packages/onboarding/src/utils/flows.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const WITH_THEME_FLOW = 'with-theme';
export const WITH_THEME_ASSEMBLER_FLOW = 'with-theme-assembler';
export const UPDATE_DESIGN_FLOW = 'update-design';
export const DOMAIN_UPSELL_FLOW = 'domain-upsell';
export const BULK_DOMAIN_TRANSFER = 'bulk-domain-transfer';
export const DOMAIN_TRANSFER = 'domain-transfer';
export const ONBOARDING_PM_FLOW = 'onboarding-media';

export const isOnboardingPMFlow = ( flowName: string | null | undefined ) => {
Expand Down