← Corpus / dididecks-ai / sitemap

/play/[deckSlug]/[variantSlug]/[slot]/ — single-slot Play-UI renderer with keyboard nav

Static route emitted for every slot in `SLOTS[variantSlug]`. Resolves the slot's `slug` from the registry, then dynamic-imports the per-slide component at `/src/components/slides/{variant}/{slot}-{slug}.astro` via `import.meta.glob` and renders it inside SlideCanvas; falls back to DecomposeFirstPlaceholder if the file doesn't exist. Today the route directly composes DididecksNav + DeckChrome + SlideCanvas inline; the target shape composes them via `DeckOverlay--Play-UI`, which also wraps the slide in `<section data-slot data-variant>` so SlideRankPill mounts work (closes A++.2 structurally).

Path
sitemap/routes/play-slot.md
Authors
Michael Staton

/play/[deckSlug]/[variantSlug]/[slot]/

What it does

  • getStaticPaths enumerates every slot of every variant from the registry.
  • Render-time dynamic-imports the per-slide component; falls back to DecomposeFirstPlaceholder.
  • Wraps the slide in SlideCanvas (16:9, 1920×1080 design size, pure-CSS scaling).
  • Provides full keyboard contract via the inline DeckChrome mount.

Migration target

Replace the direct <DididecksNav> + slide + <DeckChrome> composition with a single <DeckOverlay--Play-UI> mount. Net effects:

  • SlideRankPill mounts (in-play ranking — A++.2).
  • The C chrome-toggle correctly fades nav + classifier together.
  • Position conflict between DeckChrome (bottom-right) and SlideRankPill (bottom-right) needs resolution before this migration ships — see [[../components/DeckOverlay—Play-UI]] open questions.

Status

  • ✅ Renders. 16 slot pages emit for enhanced-v3.
  • ⚠️ Migration to DeckOverlay--Play-UI pending — closes A++.2.
  • ⚠️ ContentFit not yet lifted (A++.3 partial); content larger than the design size gets clipped today.
  • [[../components/DeckOverlay—Play-UI]] — migration target.
  • [[../components/SlideCanvas]], [[../components/DeckChrome]], [[../components/DididecksNav]], [[../components/DecomposeFirstPlaceholder]] — current direct compositions.
  • [[play-index]] — redirect source.
  • [[toc]] — [view →] links land here.