Skip to content

fix(serve): mermaid in print view + tests#57

Merged
avrabe merged 1 commit intomainfrom
fix/mermaid-print-view
Mar 21, 2026
Merged

fix(serve): mermaid in print view + tests#57
avrabe merged 1 commit intomainfrom
fix/mermaid-print-view

Conversation

@avrabe
Copy link
Copy Markdown
Contributor

@avrabe avrabe commented Mar 21, 2026

Mermaid.js added to print layout. 218/218 Playwright pass.

🤖 Generated with Claude Code

Print layout was missing mermaid.js script tag — diagrams didn't render.
Also fixed /?print=1 to use print_layout middleware for root path.

Added 4 new print-specific Playwright tests:
- mermaid.js script present in print view
- mermaid library loads successfully
- print layout has no sidebar nav
- print view shows "printed view" footer

218/218 Playwright tests pass.

Fixes: FEAT-001

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@avrabe avrabe merged commit 5d68917 into main Mar 21, 2026
@avrabe avrabe deleted the fix/mermaid-print-view branch March 21, 2026 05:03
Copy link
Copy Markdown

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark 'Rivet Criterion Benchmarks'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 1.20.

Benchmark suite Current: 369c031 Previous: 2e062f4 Ratio
traceability_matrix/1000 59240 ns/iter (± 226) 45417 ns/iter (± 529) 1.30
query/10000 119272 ns/iter (± 1147) 92142 ns/iter (± 512) 1.29

This comment was automatically generated by workflow using github-action-benchmark.

@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 21, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

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