← Corpus / dididecks-ai / sitemap

/toc/[deckSlug]/[variantSlug]/ — bird's-eye-view audit dashboard with rank pills + scaffold buttons

Per-variant TOC — one row per slot with five rank pills and a scaffold button POSTing to `/api/slide-decompose`. Read-write in dev only.

Path
sitemap/routes/toc.md
Authors
Michael Staton

/toc/[deckSlug]/[variantSlug]/

Data flow

  • getStaticPaths enumerates every (deck, variant) from the deck registry.
  • Render-time reads SLOTS[variantSlug] for rows and the audit registry for current ranks.
  • Each row’s [view →] link is conditional on perSlideFileExists(...).

What needs iteration (founder note 4 from A+ smoke-test)

Unspecified. Founder will supply pointers next session. Likely candidates:

  • Re-skin to match DeckChrome’s themable namespace.
  • Surface decompose-stub state more clearly (icon? row tint? scaffolded-but-empty vs. scaffolded-and-populated?).
  • ?focus={slot} query param wired by DecomposeFirstPlaceholder should auto-scroll to that row and highlight it.

Status

  • ✅ Shipped Phase A; A+ added [view →] links.
  • ⚠️ Cosmetic iteration outstanding.
  • [[../components/DididecksNav]]
  • [[api-slide-rank]], [[api-slide-decompose]]
  • [[play-slot]] — destination of [view →] links.
  • [[../../plans/Stand-Up-Dididecks-Shell-and-Ship-Chroma-TOC-Ranking]] — origin plan.