Update session log and component registry with Phase 0 + 1 progress

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-29 14:27:51 +11:00
parent 2631a2e4bb
commit f4cf8fe69f
2 changed files with 49 additions and 0 deletions

View File

@@ -26,6 +26,41 @@ Each entry follows this structure:
## Sessions
### Session 2026-03-29 — Wizard Phase 0 + Phase 1 (foundation + IntroStep)
**Agent(s):** Claude Opus 4.6 (1M context)
**Work completed:**
- **Phase 0 — Foundation components:**
- WizardLayout template: 5 layout variants (centered-form, list-map, list-detail, grid-sidebar, detail-toggles), nav slot, sticky help bar, back link, progress stepper + running total, `<main>` landmark
- Collapse atom: thin MUI Collapse wrapper with unmountOnExit for progressive disclosure
- ToggleButtonGroup atom: exclusive single-select with fieldset/legend a11y, FA brand styling, descriptions, error state
- **Phase 1 — IntroStep page:**
- Wizard step 1 using centered-form layout
- forWhom + hasPassedAway ToggleButtonGroups with progressive disclosure via Collapse
- Auto-sets hasPassedAway="no" when forWhom="myself" (pre-planning)
- Grief-sensitive copy adapts subheading per selection state
- `<form>` wrapper for landmark + Enter-to-submit
- aria-live on subheading, tabIndex=-1 on heading for focus management
- Pure presentation — props in, callbacks out
- **Audit:** IntroStep scored 18/20, fixed P1 (`<main>` landmark) and P2 (`<form>` wrapper) → 20/20
**Decisions made:**
- Templates live at `src/components/templates/` (new atomic tier)
- Pages live at `src/components/pages/` (new atomic tier)
- WizardLayout uses `<main>` wrapper around all variants (not per-variant)
- ToggleButtonGroup uses `HTMLFieldSetElement` ref (not `HTMLDivElement`) due to `component="fieldset"`
**Open questions:**
- None
**Next steps:**
- Phase 2: Build Step 2 (Providers) — list-map layout variant
- Continue building wizard steps in spec order
- Retroactive review backlog still pending (molecules audit, organisms normalize)
---
### Session 2026-03-27b — Retroactive review Phase 1 + 2.1, wizard planning
**Agent(s):** Claude Opus 4.6 (1M context)