From 8ad9756a407f0b2a3092cbfbb93f1dbc197546c3 Mon Sep 17 00:00:00 2001 From: AndresL230 <190146319+AndresL230@users.noreply.github.com> Date: Tue, 7 Jul 2026 03:07:00 -0400 Subject: [PATCH] =?UTF-8?q?docs(followups):=20correct=20#292=20=E2=80=94?= =?UTF-8?q?=20OnboardingFlow.tsx=20is=20still=20wired=20into=20the=20landi?= =?UTF-8?q?ng=20route?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The [P2-I] follow-up described `components/OnboardingFlow.tsx` as dead code "not imported by the active route." It is actually imported (L7) and rendered (L1247, under `onboardingPhase !== 'idle'`) by the public landing page `app/(public)/page.tsx`, on both `refactor/token-unification` and `main`. Deleting it as-is breaks the build. Re-scoped the item to "unwire from the landing page first, then delete." Refs #292 Co-Authored-By: Claude Opus 4.8 --- .../followups/2026-06-30-token-unification-followups.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/superpowers/followups/2026-06-30-token-unification-followups.md b/docs/superpowers/followups/2026-06-30-token-unification-followups.md index c01f3692..90a3997d 100644 --- a/docs/superpowers/followups/2026-06-30-token-unification-followups.md +++ b/docs/superpowers/followups/2026-06-30-token-unification-followups.md @@ -27,8 +27,11 @@ Each is its own plan / PR. Severity tags map to `docs/frontend-rhythm-audit.md`. brief "you're in ✓" confirmation beat so the beta→pending transition isn't glow→silence. - [ ] **[P2-G] Normalize pre-auth motion** to one or two finite, purposeful moments (mesh blobs `sapling-blob`, `landing-card-float`, shimmer are currently infinite loops). -- [ ] **[P2-I] Delete dead code** `components/OnboardingFlow.tsx` (36 KB, unused old-DNA onboarding - not imported by the active route). +- [ ] **[P2-I] Delete dead code** `components/OnboardingFlow.tsx` (36 KB, old-DNA onboarding). + ⚠️ **Correction (2026-07-07):** this component is **not** actually dead — it is still imported + and rendered by the active public landing route (`app/(public)/page.tsx`: `import` at L7, + rendered at L1247 under `onboardingPhase !== 'idle'`). It must be **unwired from the landing + page first**, or deletion breaks the build. Re-scope #292 to "unwire, then delete." (#292) ## Directory / structural hygiene