Skip to content

Commit

Permalink
Stepper: New events (slugs) for remaining navigation controls (#93770)
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskmnds authored Aug 26, 2024
1 parent c639270 commit 3ae5844
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion client/landing/stepper/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,15 @@ export const HOW_TO_MIGRATE_OPTIONS = {
* Example: `STEPPER_TRACKS_EVENT_STEP_NAV_SUBMIT` -> scope = `STEP_NAV`, action = `SUBMIT`
*/
export const STEPPER_TRACKS_EVENT_STEP_NAV_SUBMIT = 'calypso_signup_actions_submit_step';
export const STEPPER_TRACKS_EVENT_STEP_NAV_GO_BACK = 'calypso_signup_step_nav_back';
export const STEPPER_TRACKS_EVENT_STEP_NAV_GO_NEXT = 'calypso_signup_step_nav_next';
export const STEPPER_TRACKS_EVENT_STEP_NAV_GO_TO = 'calypso_signup_step_nav_go_to';
export const STEPPER_TRACKS_EVENT_STEP_NAV_EXIT_FLOW = 'calypso_signup_step_nav_exit_flow';

export const STEPPER_TRACKS_EVENTS = < const >[ STEPPER_TRACKS_EVENT_STEP_NAV_SUBMIT ];
export const STEPPER_TRACKS_EVENTS = < const >[
STEPPER_TRACKS_EVENT_STEP_NAV_SUBMIT,
STEPPER_TRACKS_EVENT_STEP_NAV_GO_BACK,
STEPPER_TRACKS_EVENT_STEP_NAV_GO_NEXT,
STEPPER_TRACKS_EVENT_STEP_NAV_GO_TO,
STEPPER_TRACKS_EVENT_STEP_NAV_EXIT_FLOW,
];

0 comments on commit 3ae5844

Please sign in to comment.