Skip to content

wherefore-dashboard: render the plan/ collection - #11

Merged
DustinVK merged 4 commits into
mainfrom
feature/dashboard-plan-collection
Jul 19, 2026
Merged

wherefore-dashboard: render the plan/ collection#11
DustinVK merged 4 commits into
mainfrom
feature/dashboard-plan-collection

Conversation

@DustinVK

Copy link
Copy Markdown
Owner

Adds a plan content collection and read-side views for wherefore/plan/ (P-NNN forward-looking work items), so the dashboard covers plan alongside log and questions. Implements plan item P-002.

Built from the design_handoff_wherefore_dashboard/ hi-fi design, reconciled onto the shipped schema (decisiondecision_ref/log links, blocksquestion_ref, retired_bydropped_reason+decision_ref).

What's included

  • content.config.tsplan collection globbing P-*.md (so plan/README.md is excluded), id from the id: frontmatter, single area, transform that splits decision_ref into decisionRefs[].
  • src/lib/plan.ts — pure helpers: checklist taskProgress, derived isBlocked (a todo/doing item pointing at a still-open question), and the doing → blocked → todo → done → dropped ordering.
  • /plan browse — per-status count strip, overall progress bar, status sections (doing/blocked/todo/done) with dropped behind a toggle, plus area + search filters.
  • /plan/[slug] detail — checklist progress, cross-refs to /log and /questions, and dropped-but-kept treatment (dimmed, reason inset, "retired by" link).
  • now-view homeindex.astro rebuilt into In flight / Blocked / Up next / Open questions + Recently decided; Plan nav item added.
  • global.css — plan-status tokens (dark + light) and component styles, extending the existing brand tokens rather than swapping them.

Scope decisions

  • Grouping is status sections (milestone grouping deferred until items carry milestones).
  • Visuals extend the existing token system (no swap to the handoff's raw palette / IBM Plex Mono), so plan pages read as native to the current dashboard.

Verification

  • 46/46 tests pass — including blocked-derivation, dropped-behind-toggle, checklist progress, cross-ref resolution, and a plan/README.md glob-exclusion regression.
  • Real dogfood build (wherefore/, 10 items): 1 doing / 0 blocked / 1 todo / 7 done / 1 dropped, Blocked section correctly absent, no duplicate-id warnings.
  • Out-of-repo build confirms cross-directory paths and blocked derivation work, and plan/README.md produces no route.

🤖 Generated with Claude Code

DustinVK and others added 4 commits July 19, 2026 00:01
Add a plan content collection and read-side views for wherefore/plan/
(P-NNN forward-looking work items), so the dashboard covers plan alongside
log and questions. Implements plan item P-002.

- content.config.ts: plan collection globbing P-*.md (README excluded), id
  from the id: frontmatter, single area, transform splitting decision_ref.
- src/lib/plan.ts: pure helpers for checklist progress, derived blocked
  (a todo/doing item pointing at a still-open question), and status ordering.
- /plan browse: count strip, overall progress, status sections
  (doing/blocked/todo/done) with dropped behind a toggle, area + search filters.
- /plan/[slug] detail: checklist progress, cross-refs to /log and /questions,
  dropped items kept (dimmed, reason, retired-by link).
- index.astro rebuilt into the now view (in flight / blocked / up next /
  open questions + recently decided); Plan nav item added.
- global.css: plan-status tokens (dark + light) and component styles,
  extending the existing brand tokens rather than swapping them.
- tests + fixtures: plan render/filter coverage, a plan.ts unit test, and a
  fixture-check tripwire for plan frontmatter.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Dogfood the plan collection while building it.

- log: capture 2026-07-19-dashboard-plan-collection (shipped-schema over the
  handoff's, build-time blocked derivation, status grouping, extend-tokens).
- plan: P-001 and P-002 advanced to done; P-002 decision_ref fixed (dropped a
  dangling slug, linked the originating decision and the new record); open P-011
  for the deferred milestone grouping.
- questions: register Q-012 (adopt the handoff visual system vs extend tokens);
  resolve Q-001 (Astro builds clean with content base and output both outside
  the root, reconfirmed by an out-of-repo build).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Flip M2 (0.1.1 shipped per npm) and M4 (plan layer shipped) to done, and
fix the stale "plan skill" references left in plan/README.md by the slate
rename. Records the reconciliation as a log entry.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Plan-item checklists rendered each step as a flex row, which made every text
run and inline code chip its own shrinking flex item and shredded steps into
columns. Render each task row as a block with a hanging indent and the checkbox
in the left margin, so text, code, and links flow as one wrapped line. Also
calm the inline code chips (neutral, not accent teal) and add a "Checklist"
divider above the list on the detail page.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@DustinVK
DustinVK merged commit 139895f into main Jul 19, 2026
4 checks passed
@DustinVK
DustinVK deleted the feature/dashboard-plan-collection branch July 19, 2026 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant