docs(12-01): complete comparison view plan

- ComparisonTable component with 10 attribute rows and sticky label column
- Delta highlighting: blue-50 lightest weight, green-50 cheapest price, gray delta text
- Compare toggle in thread detail toolbar (visible for 2+ candidates)
- All COMP-01 through COMP-04 requirements marked complete
This commit is contained in:
2026-03-17 15:32:24 +01:00
parent 5b4026d36f
commit 53c2bd1614
4 changed files with 132 additions and 18 deletions

View File

@@ -3,14 +3,14 @@ gsd_state_version: 1.0
milestone: v1.3
milestone_name: Research & Decision Tools
status: planning
stopped_at: Completed 11-candidate-ranking/11-02-PLAN.md
last_updated: "2026-03-16T21:39:11.967Z"
stopped_at: Completed 12-comparison-view/12-01-PLAN.md
last_updated: "2026-03-17T14:32:04.704Z"
last_activity: 2026-03-16 — Roadmap created for v1.3 milestone
progress:
total_phases: 4
completed_phases: 2
total_plans: 3
completed_plans: 3
completed_phases: 3
total_plans: 4
completed_plans: 4
percent: 0
---
@@ -53,6 +53,7 @@ Progress: [░░░░░░░░░░] 0%
| Phase 10-schema-foundation-pros-cons-fields P01 | 6min | 2 tasks | 9 files |
| Phase 11-candidate-ranking P01 | 4min | 2 tasks | 8 files |
| Phase 11-candidate-ranking P02 | 4min | 3 tasks | 7 files |
| Phase 12-comparison-view P01 | 2min | 2 tasks | 3 files |
## Accumulated Context
@@ -72,6 +73,9 @@ Key v1.3 research findings (see research/SUMMARY.md):
- [Phase 11-candidate-ranking]: Applied sort_order migration via sqlite3 CLI directly to avoid Drizzle data-loss warning on existing rows
- [Phase 11-candidate-ranking]: Resolved thread list view uses plain div (not Reorder.Group) — no drag, rank badges visible
- [Phase 11-candidate-ranking]: RankBadge exported from CandidateListItem for reuse in CandidateCard grid view
- [Phase 12-comparison-view]: ATTRIBUTE_ROWS declarative array pattern for ComparisonTable keeps JSX clean and row reordering trivial
- [Phase 12-comparison-view]: Compare toggle only shown for 2+ candidates; Add Candidate hidden in compare view (read-only intent)
- [Phase 12-comparison-view]: Weight/price highlight color takes priority over amber winner tint when both apply (more informative)
### Pending Todos
@@ -83,6 +87,6 @@ None active.
## Session Continuity
Last session: 2026-03-16T21:30:15.459Z
Stopped at: Completed 11-candidate-ranking/11-02-PLAN.md
Last session: 2026-03-17T14:32:04.702Z
Stopped at: Completed 12-comparison-view/12-01-PLAN.md
Resume file: None