UI Audit: 186 em-dashes in JSX/copy violate DESIGN.md ban #146
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
DESIGN.mdexplicitly states: "No em dashes in code or copy. Use commas, colons, parentheses, periods."Audit found 186 em-dash characters in
.jsxfiles across the web-ui.Counts per screen (visible to users)
Sources
'—'used as null indicator in tables and stat values (recorder.elapsed,cfg.codec || '—', etc.)screens-admin.jsx(Tokens page):"For \"evaluation only\" — definitely not production""Recorder can't be reassigned — delete + recreate to change.""Start time is in the past — recorder will fire immediately when saved."Recommended fix
'—'with'·'(DESIGN.md uses·already) or empty string.jsxfiles and replace—with:or.per contextFiles
screens-admin.jsx(50+),screens-ingest.jsx(30+),screens-library.jsx(10+),modal-new-recorder.jsx(2),shell.jsx(4), others.Discovered during full web-ui audit 2026-05-28.
Fixed in
342b56a186 → 0 across all jsx and css. Three-pass sweep:
sedreplacement of standalone'—'and"—"placeholders →'·'sedof//and*comments → ASCII dashsedof—in JSX/strings →:(default), with manual edits for cases where:didn't read right (option labels, status placeholders, etc.)Live audit shows zero em-dashes in rendered DOM. Lint rule deferred (separate tooling task).