Repository navigation
The owl welcome leads straight into Start debate - #239
Conversation
Closing Ollie's one-time intro continues into the tour's first step, instead of leaving a second popup to start on its own. The welcome is still shown once, ?intro=show still replays it, and a finished tour stays finished. Co-authored-by: Gáborjáni-Szabó Ádám <Programcode@users.noreply.github.com>
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
Note 🎁 Summarized by CodeRabbit Free
Comment |
Codex review (gpt-6-luna)Independent read-only review of BlockerNone Should-fixNone NitNone Verdict: Adam, approve; I found no verified issues in the requested diff. |
Sonnet 5.5 review (claude-sonnet-5-5)Independent read-only review of BlockerNone Should-fixNone Nit
Checked and fine
Verdict: Approve: the change is small and correct, and the edge cases I traced (reload, replay, finished tour, chunk race) all hold. Only nits remain, none blocking. |
Co-authored-by: Gáborjáni-Szabó Ádám <Programcode@users.noreply.github.com>
|
Addressed the review notes in ccd0112. Still a draft.
Lint, typecheck, and the docs check passed. Unit tests: 674 passed. |
# Conflicts: # .claude/skills/verify-debatelab/features/auth-demo-login.md # src/lib/debateowl-intro.ts
Closing Ollie's one-time intro now continues straight into the tour's Start debate step, so the first visit is one moment instead of two pop-ups.
What changed
debateowl_intro_seen_v1).?intro=showstill forces it, including under Playwright and the local verify stack.?intro=skipstill keeps it closed.?intro=showreplays the welcome. With no welcome, the tour still starts on its own.Checks
npm run docs:checknpm run lint(eslint, knip, repo rules)npm run typechecknpm testsrc/test/scripts/backend-status.test.tstimed out inbeforeEach(10s, temp git repo). A rerun failed a different case in that file the same way. Unrelated to onboarding. Intro and chunk tests: 20 passed.npm run test:collaborationnpm run builde2e/first-run.spec.tsdesktop Chromium (en and hu)VITE_E2E, so this is the tour on its own.npm run test:edgenpm run test:swand the rest ofnpm run verify(full@smokeset)Browser check, stub session,
prefers-reduced-motion: reduce, no horizontal overflow and no inner dialog scroll:Screens
The two surfaces are the same before and after. What changed is the handoff: closing the welcome opens the Start debate step, with the tour chunk already loaded.
After, 390
Phone welcome after
Phone Start debate step after
After, 820
Tablet welcome after
Tablet Start debate step after
After, 1440
Desktop welcome after
Desktop Start debate step after
Before, on main
Phone welcome before
Phone Start debate step before
Tablet welcome before
Tablet Start debate step before
Desktop welcome before
Desktop Start debate step before
Likely conflicts
These branches were not on
originwhen this PR was opened, exceptdesign/library-name. Overlap is based on the files this PR touches and what those efforts are expected to edit.design/debateowl-polish— likelyOnboardingTour.tsx(last-step styling) and possiblyApp.tsxif it also editsAppWelcome. Locale copy is unchanged, so a copy-only polish commit should not collide.design/debateowl-animations— likelyDebateOwlIntro.tsxmotion. This PR addsonCloseAutoFocuson that dialog so closing the welcome does not return focus to the page body. A motion edit on the sameDialogContentcan conflict there.feat/case-structure-v2— low risk. This PR does not touch case generation. A conflict needs an edit toApp.tsxrouting or the onboarding files.AppLayout.tsxand thedata-tour="nav-*"targets. This PR does not change the nav or those targets. The Start debate step still spotlights[data-tour="current-debate"]on the home card. Re-check the handoff if that card moves.design/library-name(on origin) — locales only (en,es,hu). This PR does not edit locales, so the two diffs do not overlap. The tour's Library step still uses the existingonboarding.librarystrings.src/lib/debateowl-intro.tsorApp.tsx.To show artifacts inline, enable in settings.