From 5ef7cdb2593497293eb65349610229dab6f05380 Mon Sep 17 00:00:00 2001 From: Andy Charlwood Date: Sat, 14 Feb 2026 18:56:31 +0000 Subject: [PATCH] feat: US-017 - Re-enable boot/login sequence for production MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reverted initial Phase from 'pmr' to 'boot', restoring the full boot → ECG → login → dashboard flow. All 17 user stories now pass. --- Ralph/prd.json | 4 ++-- Ralph/progress.txt | 42 ++++++++++++++++++++++++++++++++++++++++++ src/App.tsx | 2 +- 3 files changed, 45 insertions(+), 3 deletions(-) diff --git a/Ralph/prd.json b/Ralph/prd.json index 10852a4..136ae31 100644 --- a/Ralph/prd.json +++ b/Ralph/prd.json @@ -300,8 +300,8 @@ "Verify in browser using dev-browser skill: app starts at boot, progresses through ECG and login, arrives at restructured dashboard" ], "priority": 17, - "passes": false, - "notes": "Reverts the change from US-001. Must be the final story." + "passes": true, + "notes": "Reverted initial phase from 'pmr' to 'boot'. Full flow verified: boot → ECG → login (credentials auto-typed) → click Log In → restructured dashboard loads with all sections." } ] } diff --git a/Ralph/progress.txt b/Ralph/progress.txt index 4eb589f..1720e04 100644 --- a/Ralph/progress.txt +++ b/Ralph/progress.txt @@ -1124,3 +1124,45 @@ Applied the selected typography from US-015 to ParentSection.tsx: - Both "Patient Summary" and "Patient Pathway" headers identical - Clear hierarchy: parent headers (2.2rem/600) > sub-headers (12px/600 uppercase) > body (13px/400) --- + +## Iteration 17 — US-017: Re-enable boot/login sequence +**Status**: PASS +**Commit**: (this iteration) + +### What was done +Reverted the initial Phase state in App.tsx from `'pmr'` back to `'boot'`, restoring the full intro sequence for production. + +### Changes +- **App.tsx**: Line 47, `useState('pmr')` → `useState('boot')` + +### Verification (Playwright) +- App loads to boot sequence (terminal-style animation with "Skip" button) +- After ~6s, transitions to ECG animation (canvas heartbeat) +- After ~16s total, reaches login screen with auto-typed credentials +- "Log In" button is interactive — clicked successfully +- Dashboard loads with full restructured layout: Patient Summary, Projects, Patient Pathway (constellation + experience/skills + education) +- No console errors (2 canvas readback warnings from ECG — pre-existing, non-blocking) + +--- + +## PRD COMPLETION SUMMARY + +All 17 user stories pass: +- **US-001**: Skip boot sequence for dev ✅ +- **US-002**: Remove inaccurate CV data ✅ +- **US-003**: Fix timeline entries ✅ +- **US-004**: Create Latest Results subsection ✅ +- **US-005**: Restructure Patient Summary ✅ +- **US-006**: Create Patient Pathway parent section ✅ +- **US-007**: Move Last Consultation into Pathway ✅ +- **US-008**: Two-column experience/skills layout ✅ +- **US-009**: Move Education into Pathway ✅ +- **US-010**: Improve constellation graph clarity ✅ +- **US-011**: Add accessible role legend ✅ +- **US-012**: Hover-highlighting between experience/skills and graph ✅ +- **US-013**: Update command palette data ✅ +- **US-014**: Responsive verification and fixes ✅ +- **US-015**: Explore parent header typography ✅ +- **US-016**: Apply chosen typography ✅ +- **US-017**: Re-enable boot/login sequence ✅ +--- diff --git a/src/App.tsx b/src/App.tsx index e518d21..c44a1e9 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -44,7 +44,7 @@ function SkipButton({ onSkip }: { onSkip: () => void }) { } function App() { - const [phase, setPhase] = useState('pmr') + const [phase, setPhase] = useState('boot') const cursorPositionRef = useRef<{ x: number; y: number } | null>(null) const skipToLogin = () => setPhase('login')