This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

core / web / src / lib / components / welcome / steps.ts
690 B 16 lines
1// the onboarding steps, mirroring appview/models/onboarding.go. the appview 2// persists the index in the `onboarding` table, so these values are storage 3// keys, not just display order — keep them aligned with the Go constants. 4export const WELCOME_STEPS = [ 5 { key: "profile", label: "Set up your profile" }, 6 { key: "social", label: "Follow & star" }, 7 { key: "keys", label: "Add SSH keys" }, 8 { key: "finish", label: "Finish" } 9] as const; 10 11export type WelcomeStepKey = (typeof WELCOME_STEPS)[number]["key"]; 12 13export const WELCOME_TOTAL = WELCOME_STEPS.length; 14 15/** the last step is the summary — there is nothing left to skip past it */ 16export const LAST_STEP = WELCOME_TOTAL - 1;