Skip to content

Check rendered label bounds in localized workflow diagrams - #40

Merged
whale-devx merged 1 commit into
mainfrom
codex/measure-diagram-labels
Nov 30, 2026
Merged

whale-devx merged 1 commit into
mainfrom
codex/measure-diagram-labels

Conversation

@whale-devx

Copy link
Copy Markdown
Owner

Add an optional browser check for the bundled diagram generator. Display-column limits can admit strings wider than their allocated SVG space. The helper uses the same generator and measures rendered labels against the canvas, step cards and number badges in Chrome. It reports each affected locale and theme without changing the input or writing assets.

Verified all six localized workflow variants and both Arabic report variants on Windows. A 44-character wide-glyph English heading passed the generator input limit and correctly produced two canvas-overflow findings and exit status 1. Existing tests ran successfully (157 total, two skipped). Results depend on installed fonts.

@whale-devx
whale-devx merged commit a1f6a1d into main Nov 30, 2026
6 checks passed
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