Skip to content

site(play): 3 Story templates (0.3.0 push, PR 4/5)#112

Merged
seanhanca merged 1 commit into
mainfrom
feat/0.3.0-story-templates
May 28, 2026
Merged

site(play): 3 Story templates (0.3.0 push, PR 4/5)#112
seanhanca merged 1 commit into
mainfrom
feat/0.3.0-story-templates

Conversation

@seanhanca
Copy link
Copy Markdown
Owner

Summary

4th of 5 PRs in the 0.3.0 best-in-class push. Ships 3 canonical 4-panel narrative storyboards as compose-scene playground examples:

  • template-quarterly-review — revenue trend → segment mix → cohort retention → growth forecast
  • template-incident-retro — latency spike → error budget burn → root-cause attribution → recovery curve
  • template-ab-test-readout — traffic split → primary metric lift → secondary metrics → decision matrix

Each template is a 1200×760 compose scene with a 2×2 grid of 520×290 panels. Each panel is a step badge + caption + subcaption + raw-svg chart slot — mirroring the panel-chain output of glyph_story. Generator (scripts/gen-story-templates.mjs) emits all three and smoke-renders via compileCompose. Registered as a new Stories category in the playground manifest.

Test plan

  • node scripts/gen-story-templates.mjs emits 3 JSON files
  • Smoke render via compileCompose returns non-empty SVG (6.7–7.7 KB each)
  • pnpm exec biome check passes
  • Manifest entries link to correct spec paths

🤖 Generated with Claude Code

3 canonical 4-panel narrative storyboards as compose scenes:

- template-quarterly-review (revenue trend → segment mix →
  cohort retention → growth forecast)
- template-incident-retro (latency spike → error budget burn →
  root-cause attribution → recovery curve)
- template-ab-test-readout (traffic split → primary metric lift →
  secondary metrics → decision matrix)

Mirrors the glyph_story panel-chain output as static compose
scenes. 1200x760 viewBox, 2x2 panel grid (520x290 each), each
panel a step badge + caption + subcaption + raw-svg chart slot.

Shared scripts/gen-story-templates.mjs generator + smoke render
via compileCompose; 3 templates registered as a new Stories
category in the playground manifest.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown

Thanks for the PR! Cowork (AI maintainer) is reviewing now. Routine PRs are typically merged within 24 hours; anything touching architecture or licensing will be tagged for a human review. See CONTRIBUTING.md → 'AI-maintained'.

@github-actions
Copy link
Copy Markdown

Glyph chart audit

Audited 2 chart specs at 012e90f0 total findings.


examples/charts/rides-by-hour.glyph.json

No spec changes.

Audit findings

0 findings — clean.

No audit findings.


examples/charts/sales-trend.glyph.json

No spec changes.

Audit findings

0 findings — clean.

No audit findings.

@seanhanca seanhanca merged commit 019c285 into main May 28, 2026
8 checks passed
@seanhanca seanhanca deleted the feat/0.3.0-story-templates branch May 28, 2026 15:51
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