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

Fix Multilingual Reporting of Event Values #575

Merged
merged 1 commit into from
Jun 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
Expand Up @@ -109,7 +109,7 @@
select( nfdOnboardingStore ).getPluginInstallHash(),
};
},
[ location.pathname ]

Check warning on line 112 in src/OnboardingSPA/components/NewfoldInterfaceSkeleton/SiteBuild/index.js

View workflow job for this annotation

GitHub Actions / Run Lint Checks

React Hook useSelect has an unnecessary dependency: 'location.pathname'. Either exclude it or remove the dependency array

Check warning on line 112 in src/OnboardingSPA/components/NewfoldInterfaceSkeleton/SiteBuild/index.js

View workflow job for this annotation

GitHub Actions / Run Lint Checks

React Hook useSelect has an unnecessary dependency: 'location.pathname'. Either exclude it or remove the dependency array
);

const [ isRequestPlaced, setIsRequestPlaced ] = useState( false );
Expand Down Expand Up @@ -297,7 +297,7 @@
trackOnboardingEvent(
new OnboardingEvent(
ACTION_STARTER_PAGES_SELECTED,
sitePages.map( ( sitePage ) => sitePage.title ),
sitePages.map( ( sitePage ) => sitePage.key ),
{
count: sitePages.length,
},
Expand Down Expand Up @@ -378,7 +378,7 @@

useEffect( () => {
trackChapters();
}, [ currentStep ] );

Check warning on line 381 in src/OnboardingSPA/components/NewfoldInterfaceSkeleton/SiteBuild/index.js

View workflow job for this annotation

GitHub Actions / Run Lint Checks

React Hook useEffect has a missing dependency: 'trackChapters'. Either include it or remove the dependency array

Check warning on line 381 in src/OnboardingSPA/components/NewfoldInterfaceSkeleton/SiteBuild/index.js

View workflow job for this annotation

GitHub Actions / Run Lint Checks

React Hook useEffect has a missing dependency: 'trackChapters'. Either include it or remove the dependency array

const prioritizeFlow = () => {
const currentFlow = window.nfdOnboarding.currentFlow;
Expand Down Expand Up @@ -419,13 +419,13 @@
initializeSettings();
setInterval( cronTrigger, 45000 );
}
}, [ initialize ] );

Check warning on line 422 in src/OnboardingSPA/components/NewfoldInterfaceSkeleton/SiteBuild/index.js

View workflow job for this annotation

GitHub Actions / Run Lint Checks

React Hook useEffect has a missing dependency: 'pluginInstallHash'. Either include it or remove the dependency array

Check warning on line 422 in src/OnboardingSPA/components/NewfoldInterfaceSkeleton/SiteBuild/index.js

View workflow job for this annotation

GitHub Actions / Run Lint Checks

React Hook useEffect has a missing dependency: 'pluginInstallHash'. Either include it or remove the dependency array

useEffect( () => {
if ( false !== brandConfig?.prioritization ) {
return prioritizeFlow();
}
}, [ experienceLevel, topPriority ] );

Check warning on line 428 in src/OnboardingSPA/components/NewfoldInterfaceSkeleton/SiteBuild/index.js

View workflow job for this annotation

GitHub Actions / Run Lint Checks

React Hook useEffect has missing dependencies: 'brandConfig?.prioritization' and 'prioritizeFlow'. Either include them or remove the dependency array

Check warning on line 428 in src/OnboardingSPA/components/NewfoldInterfaceSkeleton/SiteBuild/index.js

View workflow job for this annotation

GitHub Actions / Run Lint Checks

React Hook useEffect has missing dependencies: 'brandConfig?.prioritization' and 'prioritizeFlow'. Either include them or remove the dependency array

useEffect( () => {
document.body.classList.add( `nfd-brand-${ newfoldBrand }` );
Expand All @@ -435,7 +435,7 @@
syncStoreToDB();
handlePreviousStepTracking();
handleConditionalDesignStepsRoutes();
}, [ location.pathname, onboardingFlow ] );

Check warning on line 438 in src/OnboardingSPA/components/NewfoldInterfaceSkeleton/SiteBuild/index.js

View workflow job for this annotation

GitHub Actions / Run Lint Checks

React Hook useEffect has missing dependencies: 'handleConditionalDesignStepsRoutes', 'handlePreviousStepTracking', and 'syncStoreToDB'. Either include them or remove the dependency array

Check warning on line 438 in src/OnboardingSPA/components/NewfoldInterfaceSkeleton/SiteBuild/index.js

View workflow job for this annotation

GitHub Actions / Run Lint Checks

React Hook useEffect has missing dependencies: 'handleConditionalDesignStepsRoutes', 'handlePreviousStepTracking', and 'syncStoreToDB'. Either include them or remove the dependency array

const isForkStep =
currentStep === stepTheFork ||
Expand Down
2 changes: 2 additions & 0 deletions src/OnboardingSPA/data/models/Step.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
export class Step {
constructor( {
slug,
path,
title,
Component,
Expand All @@ -10,6 +11,7 @@ export class Step {
data,
drawerNavigation,
} ) {
this.slug = slug;
this.path = path;
this.title = title;
this.Component = Component;
Expand Down
1 change: 1 addition & 0 deletions src/OnboardingSPA/steps/BasicInfo/step.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import { VIEW_NAV_PRIMARY } from '../../../constants';
const StepBasicInfo = lazy( () => import( './index' ) );

export const stepBasicInfo = new Step( {
slug: 'basic-info',
path: '/wp-setup/step/basic-info',
title: __( 'Basic Info', 'wp-module-onboarding' ),
Component: StepBasicInfo,
Expand Down
1 change: 1 addition & 0 deletions src/OnboardingSPA/steps/Complete/step.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { Step } from '../../data/models/Step';
const StepComplete = lazy( () => import( './index' ) );

export const stepComplete = new Step( {
slug: 'complete',
path: '/wp-setup/step/complete',
Component: StepComplete,
} );
1 change: 1 addition & 0 deletions src/OnboardingSPA/steps/DesignColors/step.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import { VIEW_DESIGN_COLORS } from '../../../constants';
const StepDesignColors = lazy( () => import( './index' ) );

export const stepDesignColors = new Step( {
slug: 'design-colors',
path: '/wp-setup/step/design/colors',
title: __( 'Colors', 'wp-module-onboarding' ),
Component: StepDesignColors,
Expand Down
1 change: 1 addition & 0 deletions src/OnboardingSPA/steps/DesignFonts/step.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import { VIEW_DESIGN_FONTS } from '../../../constants';
const StepDesignFonts = lazy( () => import( './index' ) );

export const stepDesignFonts = new Step( {
slug: 'design-typography',
path: '/wp-setup/step/design/typography',
title: __( 'Fonts', 'wp-module-onboarding' ),
Component: StepDesignFonts,
Expand Down
1 change: 1 addition & 0 deletions src/OnboardingSPA/steps/DesignHeaderMenu/step.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import { VIEW_DESIGN_HEADER_MENU } from '../../../constants';
const StepDesignHeaderMenu = lazy( () => import( './index' ) );

export const stepDesignHeaderMenu = new Step( {
slug: 'design-header-menu',
path: '/wp-setup/step/design/header-menu',
title: __( 'Header & Menu', 'wp-module-onboarding' ),
Component: StepDesignHeaderMenu,
Expand Down
1 change: 1 addition & 0 deletions src/OnboardingSPA/steps/DesignHomepageMenu/step.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import { VIEW_NAV_DESIGN } from '../../../constants';
const StepDesignHomepageMenu = lazy( () => import( './index' ) );

export const stepDesignHomepageMenu = new Step( {
slug: 'design-homepage-menu',
path: '/wp-setup/step/design/homepage-menu',
title: __( 'Homepage Layouts', 'wp-module-onboarding' ),
Component: StepDesignHomepageMenu,
Expand Down
1 change: 1 addition & 0 deletions src/OnboardingSPA/steps/DesignThemeStyles/Menu/step.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import { VIEW_NAV_DESIGN } from '../../../../constants';
const StepDesignThemeStylesMenu = lazy( () => import( './index' ) );

export const stepDesignThemeStylesMenu = new Step( {
slug: 'design-theme-styles-menu',
path: '/wp-setup/step/design/theme-styles/menu',
title: __( 'Theme Styles', 'wp-module-onboarding' ),
Component: StepDesignThemeStylesMenu,
Expand Down
1 change: 1 addition & 0 deletions src/OnboardingSPA/steps/DesignThemeStyles/Preview/step.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import { VIEW_DESIGN_THEME_STYLES_PREVIEW } from '../../../../constants';
const StepDesignThemeStylesPreview = lazy( () => import( './index' ) );

export const stepDesignThemeStylesPreview = new Step( {
slug: 'design-theme-styles-preview',
path: '/wp-setup/step/design/theme-styles/preview',
title: __( 'Theme Styles', 'wp-module-onboarding' ),
Component: StepDesignThemeStylesPreview,
Expand Down
1 change: 1 addition & 0 deletions src/OnboardingSPA/steps/Ecommerce/StepAddress/step.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import { VIEW_NAV_ECOMMERCE_STORE_INFO } from '../../../../constants';
const StepAddress = lazy( () => import( './index' ) );

export const stepAddress = new Step( {
slug: 'ecommerce-address',
path: '/ecommerce/step/address',
title: __( 'Street Address', 'wp-module-onboarding' ),
Component: StepAddress,
Expand Down
1 change: 1 addition & 0 deletions src/OnboardingSPA/steps/Ecommerce/StepProducts/step.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import { VIEW_NAV_ECOMMERCE_STORE_INFO } from '../../../../constants';
const StepProducts = lazy( () => import( './index' ) );

export const stepProducts = new Step( {
slug: 'ecommerce-products',
path: '/ecommerce/step/products',
title: __( 'Product Info', 'wp-module-onboarding' ),
Component: StepProducts,
Expand Down
1 change: 1 addition & 0 deletions src/OnboardingSPA/steps/Ecommerce/StepTax/step.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import { VIEW_NAV_ECOMMERCE_STORE_INFO } from '../../../../constants';
const StepTax = lazy( () => import( './index' ) );

export const stepTax = new Step( {
slug: 'ecommerce-tax',
path: '/ecommerce/step/tax',
title: __( 'Tax Info', 'wp-module-onboarding' ),
Component: StepTax,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import { VIEW_NAV_GET_STARTED } from '../../../../constants';
const GetStartedExperience = lazy( () => import( './index' ) );

export const stepExperience = new Step( {
slug: 'get-started-experience',
path: '/wp-setup/step/get-started/experience',
title: __( 'WordPress Experience', 'wp-module-onboarding' ),
Component: GetStartedExperience,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import { translations } from '../../../../utils/locales/translations';
const StepPrimarySetup = lazy( () => import( './index' ) );

export const stepPrimarySetup = new Step( {
slug: 'get-started-site-primary',
path: '/wp-setup/step/get-started/site-primary',
title: sprintf(
/* translators: %s: website or store */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import { translations } from '../../../../utils/locales/translations';
const StepSecondaryStep = lazy( () => import( './index' ) );

export const stepSecondarySetup = new Step( {
slug: 'get-started-site-secondary',
path: '/wp-setup/step/get-started/site-secondary',
title: sprintf(
/* translators: %s: website or store */
Expand Down
1 change: 1 addition & 0 deletions src/OnboardingSPA/steps/GetStarted/Welcome/step.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import { VIEW_NAV_GET_STARTED } from '../../../../constants';
const StepWelcome = lazy( () => import( './index' ) );

export const stepWelcome = new Step( {
slug: 'get-started-welcome',
path: '/wp-setup/step/get-started/welcome',
title: __( 'Welcome', 'wp-module-onboarding' ),
Component: StepWelcome,
Expand Down
1 change: 1 addition & 0 deletions src/OnboardingSPA/steps/SiteFeatures/step.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import LearnMore from './Sidebar/LearnMore';
const StepSiteFeatures = lazy( () => import( './index' ) );

export const stepSiteFeatures = new Step( {
slug: 'site-features',
path: '/wp-setup/step/site-features',
title: __( 'Features', 'wp-module-onboarding' ),
Component: StepSiteFeatures,
Expand Down
1 change: 1 addition & 0 deletions src/OnboardingSPA/steps/SiteGen/Editor/step.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import Customize from './Sidebar/Customize';
const StepSiteGenEditor = lazy( () => import( './index' ) );

export const stepSiteGenEditor = new Step( {
slug: 'sitegen-editor',
path: '/sitegen/step/editor',
title: __( 'Page Layouts', 'wp-module-onboarding' ),
Component: StepSiteGenEditor,
Expand Down
1 change: 1 addition & 0 deletions src/OnboardingSPA/steps/SiteGen/Experience/step.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { Step } from '../../../data/models/Step';
const SiteGenExperience = lazy( () => import( './index' ) );

export const stepSiteGenExperience = new Step( {
slug: 'sitegen-experience',
path: '/sitegen/step/experience',
title: __( 'Page Layouts', 'wp-module-onboarding' ),
Component: SiteGenExperience,
Expand Down
1 change: 1 addition & 0 deletions src/OnboardingSPA/steps/SiteGen/Migration/step.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { Step } from '../../../data/models/Step';
const StepSiteGenMigration = lazy( () => import( './index' ) );

export const stepSiteGenMigration = new Step( {
slug: 'sitegen-migration',
path: '/sitegen/step/migration',
title: __( 'Migration', 'wp-module-onboarding' ),
Component: StepSiteGenMigration,
Expand Down
1 change: 1 addition & 0 deletions src/OnboardingSPA/steps/SiteGen/Preview/step.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { Step } from '../../../data/models/Step';
const SiteGenPreview = lazy( () => import( './index' ) );

export const stepSiteGenPreview = new Step( {
slug: 'sitegen-preview',
path: '/sitegen/step/preview',
title: __( 'Page Layouts', 'wp-module-onboarding' ),
Component: SiteGenPreview,
Expand Down
1 change: 1 addition & 0 deletions src/OnboardingSPA/steps/SiteGen/SiteDetails/step.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { Step } from '../../../data/models/Step';
const SiteGenSiteDetails = lazy( () => import( './index' ) );

export const stepSiteGenSiteDetails = new Step( {
slug: 'sitegen-site-details',
path: '/sitegen/step/site-details',
title: __( 'Site Details', 'wp-module-onboarding' ),
Component: SiteGenSiteDetails,
Expand Down
1 change: 1 addition & 0 deletions src/OnboardingSPA/steps/SiteGen/SiteLogo/step.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { Step } from '../../../data/models/Step';
const SiteGenSiteLogo = lazy( () => import( './index' ) );

export const stepSiteGenSiteLogo = new Step( {
slug: 'sitegen-site-logo',
path: '/sitegen/step/site-logo',
title: __( 'Page Layouts', 'wp-module-onboarding' ),
Component: SiteGenSiteLogo,
Expand Down
1 change: 1 addition & 0 deletions src/OnboardingSPA/steps/SiteGen/SocialMedia/step.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { Step } from '../../../data/models/Step';
const SiteGenSiteSocialMedia = lazy( () => import( './index' ) );

export const stepSiteGenSocialMedia = new Step( {
slug: 'sitegen-social-media',
path: '/sitegen/step/social-media',
title: __( 'Page Layouts', 'wp-module-onboarding' ),
Component: SiteGenSiteSocialMedia,
Expand Down
1 change: 1 addition & 0 deletions src/OnboardingSPA/steps/SiteGen/Welcome/step.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { Step } from '../../../data/models/Step';
const SiteGenWelcome = lazy( () => import( './index' ) );

export const stepSiteGenWelcome = new Step( {
slug: 'sitegen-welcome',
path: '/sitegen/step/welcome',
title: __( 'Welcome', 'wp-module-onboarding' ),
Component: SiteGenWelcome,
Expand Down
15 changes: 8 additions & 7 deletions src/OnboardingSPA/steps/SitePages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
themeVariations:
select( nfdOnboardingStore ).getStepPreviewData(),
};
}, [] );

Check warning on line 41 in src/OnboardingSPA/steps/SitePages/index.js

View workflow job for this annotation

GitHub Actions / Run Lint Checks

React Hook useSelect has a missing dependency: 'location.pathname'. Either include it or remove the dependency array

Check warning on line 41 in src/OnboardingSPA/steps/SitePages/index.js

View workflow job for this annotation

GitHub Actions / Run Lint Checks

React Hook useSelect has a missing dependency: 'location.pathname'. Either include it or remove the dependency array

const {
setDrawerActiveView,
Expand All @@ -50,7 +50,7 @@
useEffect( () => {
setSidebarActiveView( SIDEBAR_LEARN_MORE );
setDrawerActiveView( VIEW_NAV_DESIGN );
}, [] );

Check warning on line 53 in src/OnboardingSPA/steps/SitePages/index.js

View workflow job for this annotation

GitHub Actions / Run Lint Checks

React Hook useEffect has missing dependencies: 'setDrawerActiveView' and 'setSidebarActiveView'. Either include them or remove the dependency array

Check warning on line 53 in src/OnboardingSPA/steps/SitePages/index.js

View workflow job for this annotation

GitHub Actions / Run Lint Checks

React Hook useEffect has missing dependencies: 'setDrawerActiveView' and 'setSidebarActiveView'. Either include them or remove the dependency array

const getSitePages = async () => {
const sitePagesResponse = await getPatterns(
Expand Down Expand Up @@ -86,13 +86,14 @@
const stateToFlowData = ( selectedPages, pages ) => {
return pages !== false
? pages?.reduce( ( newSitePages, sitePage ) => {
return selectedPages.includes( sitePage.slug )
? newSitePages.concat( {
slug: sitePage.slug,
title: sitePage.title,
} )
: newSitePages;
}, [] )
return selectedPages.includes( sitePage.slug )
? newSitePages.concat( {
slug: sitePage.slug,
title: sitePage.title,
key: undefined !== sitePage.key ? sitePage.key : sitePage.title,
} )
: newSitePages;
}, [] )
: undefined;
};

Expand Down Expand Up @@ -151,7 +152,7 @@
if ( themeStatus === THEME_STATUS_ACTIVE ) {
getSitePages();
}
}, [ themeStatus ] );

Check warning on line 155 in src/OnboardingSPA/steps/SitePages/index.js

View workflow job for this annotation

GitHub Actions / Run Lint Checks

React Hook useEffect has a missing dependency: 'getSitePages'. Either include it or remove the dependency array

Check warning on line 155 in src/OnboardingSPA/steps/SitePages/index.js

View workflow job for this annotation

GitHub Actions / Run Lint Checks

React Hook useEffect has a missing dependency: 'getSitePages'. Either include it or remove the dependency array

const content = getContents();

Expand Down
1 change: 1 addition & 0 deletions src/OnboardingSPA/steps/SitePages/step.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import LearnMore from './Sidebar/LearnMore';
const StepSitePages = lazy( () => import( './index' ) );

export const stepSitePages = new Step( {
slug: 'design-site-pages',
path: '/wp-setup/step/design/site-pages',
title: __( 'Page Layouts', 'wp-module-onboarding' ),
Component: StepSitePages,
Expand Down
1 change: 1 addition & 0 deletions src/OnboardingSPA/steps/TheFork/step.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { Step } from '../../data/models/Step';
const StepTheFork = lazy( () => import( './index' ) );

export const stepTheFork = new Step( {
slug: 'fork',
path: '/wp-setup/step/fork',
title: __( 'The Fork', 'wp-module-onboarding' ),
Component: StepTheFork,
Expand Down
2 changes: 1 addition & 1 deletion src/OnboardingSPA/steps/TopPriority/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
setIsDrawerSuppressed( false );
setDrawerActiveView( VIEW_NAV_PRIMARY );
setIsHeaderNavigationEnabled( true );
}, [] );

Check warning on line 71 in src/OnboardingSPA/steps/TopPriority/index.js

View workflow job for this annotation

GitHub Actions / Run Lint Checks

React Hook useEffect has missing dependencies: 'isLargeViewport', 'setDrawerActiveView', 'setIsDrawerOpened', 'setIsDrawerSuppressed', 'setIsHeaderNavigationEnabled', and 'setSidebarActiveView'. Either include them or remove the dependency array

Check warning on line 71 in src/OnboardingSPA/steps/TopPriority/index.js

View workflow job for this annotation

GitHub Actions / Run Lint Checks

React Hook useEffect has missing dependencies: 'isLargeViewport', 'setDrawerActiveView', 'setIsDrawerOpened', 'setIsDrawerSuppressed', 'setIsHeaderNavigationEnabled', and 'setSidebarActiveView'. Either include them or remove the dependency array

useEffect( () => {
async function setInitialData() {
Expand All @@ -87,7 +87,7 @@
if ( ! isLoaded ) {
setInitialData();
}
}, [ isLoaded ] );

Check warning on line 90 in src/OnboardingSPA/steps/TopPriority/index.js

View workflow job for this annotation

GitHub Actions / Run Lint Checks

React Hook useEffect has missing dependencies: 'currentData', 'getKey', 'priorityTypes', 'selected', and 'setCurrentOnboardingData'. Either include them or remove the dependency array

Check warning on line 90 in src/OnboardingSPA/steps/TopPriority/index.js

View workflow job for this annotation

GitHub Actions / Run Lint Checks

React Hook useEffect has missing dependencies: 'currentData', 'getKey', 'priorityTypes', 'selected', and 'setCurrentOnboardingData'. Either include them or remove the dependency array

const handleSelling = () => {
if ( ECOMMERCE_FLOW !== window.nfdOnboarding.currentFlow ) {
Expand Down Expand Up @@ -121,7 +121,7 @@
trackOnboardingEvent(
new OnboardingEvent(
ACTION_ONBOARDING_STEP_SKIPPED,
currentStep.title
currentStep.slug
)
);
};
Expand Down
1 change: 1 addition & 0 deletions src/OnboardingSPA/steps/TopPriority/step.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { navigation } from '@wordpress/icons';
const StepTopPriority = lazy( () => import( './index' ) );

export const stepTopPriority = new Step( {
slug: 'top-priority',
path: '/wp-setup/step/top-priority',
title: __( 'Top Priority', 'wp-module-onboarding' ),
tooltipText: __( 'Tell us your top priority', 'wp-module-onboarding' ),
Expand Down
1 change: 1 addition & 0 deletions src/OnboardingSPA/steps/WhatNext/step.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import LearnMore from './Sidebar/LearnMore';
const StepWhatNext = lazy( () => import( './index' ) );

export const stepWhatNext = new Step( {
slug: 'what-next',
path: '/wp-setup/step/what-next',
title: __( 'What Next', 'wp-module-onboarding' ),
Component: StepWhatNext,
Expand Down
Loading