Skip to content

feat(dashboard): pure narration-script builder + unit tests#143

Merged
mvalancy merged 1 commit into
devfrom
feat/dashboard-narration-builder
Jun 20, 2026
Merged

feat(dashboard): pure narration-script builder + unit tests#143
mvalancy merged 1 commit into
devfrom
feat/dashboard-narration-builder

Conversation

@mvalancy

Copy link
Copy Markdown
Member

Adds tests/lib/dashboard/narrate.mjs — a pure, I/O-free builder that turns report/git/metric data into ordered spoken narration segments (each tagged with the on-screen media to show: trend chart, video, image, or none). Completes previously-uncommitted WIP that left the module untracked and its import dangling in the test file.

Covered by 39 passing node --test cases (helpers cleanTitle/plural/spokenUrl, full narration assembly with media refs, and empty-data tolerance). Pure logic only — touches no data, graph, or deletion paths, so the smoke gate is not implicated.

🤖 Generated with Claude Code

Add narrate.mjs: a pure, I/O-free builder that turns report/git/metric
data into ordered spoken segments (each tagged with the on-screen media
to show). Covered by 39 passing node --test cases (helpers + full
narration assembly + empty-data tolerance).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@mvalancy mvalancy merged commit 024d49f into dev Jun 20, 2026
10 of 11 checks passed
@mvalancy mvalancy deleted the feat/dashboard-narration-builder branch June 20, 2026 02:45
@github-actions

Copy link
Copy Markdown

🧪 Comprehensive Test Suite

  • Unit suites (Node 18.x & 20.x) — core, web, server, mcp-server: ✅ passed
  • Installer & deploy config: ✅ passed

Full-stack smoke gate runs in the CI workflow.

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