← Back to Docs
Playbook (app)
Product guide for /playbook and /playbook/edit. Use the Playbooks card in the app to switch between schedule templates (?set=… in the URL).
What you get
- Multiple playbooks — Templates in
playbook_sets; blocks belong to a set viaplaybook_set_id. The Playbooks card on /playbook switches sets; the URL uses?set=<slug>. - Day view — Blocks grouped by morning / afternoon / evening; tap a row to toggle completion. Calendar events that overlap a block show as chips.
- Heatmap + streak — Weekly completion grid and full-day streak when every scheduled block for a day is done.
- Edit — /playbook/edit for add / reorder / categories; deep links with
?set=match the viewer.
Block UI (2026-04)
Schedule rows use rounded rectangles (rounded-xl), not oversized pill radii, so long descriptions do not look like stadium capsules. Category and status chips use rounded-md for a consistent card language.
- States — Current block gets a rose border glow; missed blocks are de-emphasized with a clear "missed" tag; completed rows are dimmed with line-through on the title.
- Keyboard — Rows are
buttons with a visiblefocus-visiblering (rose) for keyboard navigation.
Migrations
Run migrations/20260414_playbook_sets.sql before relying on sets. See README.md → Daily Playbook for follow-up SQL and @goh-specific seeds.