feat(ui): first-run onboarding coachmarks #147
Reference in New Issue
Block a user
Delete Branch "feature/onboarding-coachmarks"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
First-run onboarding coachmarks across all platforms. A light dimmed overlay points one hint bubble at a time at a real control (tap anywhere → next; gone for good after the last hint). Two independent series:
How
Coachmark.svelteoverlay at App level; each target carries adata-coachattribute, so a single positioning engine (lib/coachmark.ts, unit-tested) anchors bubbles in portrait and landscape, re-measuring each frame until the geometry settles (route slide, hidden-banner reflow, fonts).session.tsonboarding), marked done only after the last hint, so an interrupted run replays from the start. A deep-link into Settings → Friends still triggers the lobby series on the first trip back.app.coachActive); a hidden DebugPanel Reset visited control replays the walk-through.?coachforces it on for the dedicated e2e.Tests
pnpm check(0 errors),pnpm test:unit(356, incl.coachmark.test.ts+ i18n parity),pnpm build,pnpm test:e2e(160 pass / 4 pre-existing skips, incl. newonboarding.spec.tson Chromium + WebKit, portrait + landscape).Docs
FUNCTIONAL (+ru) onboarding story; UI_DESIGN coachmark section.