diff --git a/web/src/router/index.ts b/web/src/router/index.ts index bb98b35..dab3efc 100644 --- a/web/src/router/index.ts +++ b/web/src/router/index.ts @@ -46,6 +46,7 @@ export const router = createRouter({ { path: 'hardware', component: () => import('../views/wizard/WizardHardwareStep.vue') }, { path: 'tier', component: () => import('../views/wizard/WizardTierStep.vue') }, { path: 'resume', component: () => import('../views/wizard/WizardResumeStep.vue') }, + { path: 'training', component: () => import('../views/wizard/WizardTrainingStep.vue') }, { path: 'identity', component: () => import('../views/wizard/WizardIdentityStep.vue') }, { path: 'inference', component: () => import('../views/wizard/WizardInferenceStep.vue') }, { path: 'search', component: () => import('../views/wizard/WizardSearchStep.vue') }, diff --git a/web/src/stores/wizard.ts b/web/src/stores/wizard.ts index e2dba47..1824a60 100644 --- a/web/src/stores/wizard.ts +++ b/web/src/stores/wizard.ts @@ -44,7 +44,7 @@ export interface WizardInferenceData { } // Total mandatory steps (integrations step 7 is optional/skip-able) -export const WIZARD_STEPS = 6 +export const WIZARD_STEPS = 7 export const STEP_LABELS = ['Hardware', 'Tier', 'Resume', 'Identity', 'Inference', 'Search', 'Integrations'] export const STEP_ROUTES = [ '/setup/hardware', diff --git a/web/src/views/wizard/WizardIdentityStep.vue b/web/src/views/wizard/WizardIdentityStep.vue index 3a46237..907f7e4 100644 --- a/web/src/views/wizard/WizardIdentityStep.vue +++ b/web/src/views/wizard/WizardIdentityStep.vue @@ -74,7 +74,7 @@ const form = reactive({ careerSummary: wizard.identity.careerSummary, }) -function back() { router.push('/setup/resume') } +function back() { router.push('/setup/training') } async function next() { validationError.value = '' diff --git a/web/src/views/wizard/WizardResumeStep.vue b/web/src/views/wizard/WizardResumeStep.vue index 1fab58f..e86aa2a 100644 --- a/web/src/views/wizard/WizardResumeStep.vue +++ b/web/src/views/wizard/WizardResumeStep.vue @@ -216,7 +216,7 @@ async function next() { experience: wizard.resume.experience, ...(wizard.resume.parsedData ?? {}), }}) - if (ok) router.push('/setup/identity') + if (ok) router.push('/setup/training') } diff --git a/web/src/views/wizard/WizardTrainingStep.vue b/web/src/views/wizard/WizardTrainingStep.vue new file mode 100644 index 0000000..994e5b8 --- /dev/null +++ b/web/src/views/wizard/WizardTrainingStep.vue @@ -0,0 +1,74 @@ + + + + +