refactor(deck): extract grouping lib and stats sidebar (Brief 1) #137
No reviewers
Labels
No labels
agent-context-drift
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: rstillwell/deckhearth#137
Loading…
Reference in a new issue
No description provided.
Delete branch "refactor/deck-detail-split-brief-1"
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?
Summary
lib/deck-detail-grouping.js+ tests —groupDeckCards(cards, groupBy)components/DeckDetailStatsSidebar.js— stats + group-by controlscomputeDeckStatsfromlib/deck-builder-stats.js(dedupe)pages/deck/[id].js464 → 259 lines; removes stray;afteruseEffectP2 #13 god-component split — deck detail slice Brief 1.
Test plan
npm run lint/npm run test:run(123 tests)/deck/<id>— stats sidebar, group-by togglesMade with Cursor
The latest updates on your projects. Learn more about Vercel for GitHub.
Pipeline Health
Build + CI gates
Build runs on Vercel; this CI runs lint and schema-map drift only (no duplicate build).
Role reports
See individual comments above for details. This rollup updates automatically.
Visual Diff
Screenshots and diffs uploaded as artifacts: view run
If intentional changes: update snapshots locally with
npx playwright test --project=visual --update-snapshotsand commit.