Repository navigation
Add onboarding layout to the design-system registry - #52
Merged
Merged
Conversation
Three registry items extracted from CourseLit's setup wizard so FrontLit and SendLit can build their onboarding on the same layout: onboarding-shell (top bar, step indicator, form pane with footer, live-preview pane), onboarding-ui (step building blocks) and onboarding-resume-dialog. Colours now come from design-system tokens. ADR 0021 records what is shared and what stays in each product. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: ecfe867a5e
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Every product needs a setup flow. CourseLit has built one, and FrontLit and SendLit need the same kind. This PR moves the parts that don't depend on the product into the design-system registry, so all three products share one layout instead of copying CourseLit's.
What
Three new registry items, installed like any other
@codelitcomponent:onboarding-shellOnboardingShell(top bar with logo, step indicator, save status and "Finish later"; mobile progress bar; scrolling form pane),OnboardingFooter,OnboardingPreview(live-preview pane that becomes a sheet on phones),PreviewBrowseronboarding-uiStepHeader,FieldBlock,Hint,Note,Seg,Tile,ProgressList,DropZone,FileRow,CopyRow,StatusBadge,Spinner,useCopyonboarding-resume-dialogOnboardingResumeDialog, the "welcome back" dialog for a setup that is part donecomponents/onboarding/wizard/ui.tsx,resume-dialog.tsx, the layout inwizard.tsxandPreviewFrameinpreviews.tsx).oklchcolours are replaced with--successand--warningtokens.Badgeis renamedStatusBadgeso it doesn't clash with@codelit/badge.Fixes made along the way:
Xicon instead of the "×" character.Testing
bun run verifypasses; it reportsregistry ok: 19 items.public/r/*.jsoninto a CourseLit branch withshadcn add. The@codelit/buttonand@codelit/dialogdependencies and the@/components/ui/codelit/...imports resolved correctly.ui.tsxandresume-dialog.tsxand the layout code in the wizard. The admintscpasses.The CourseLit PR follows once this is released.
🤖 Generated with Claude Code