Repository navigation
fix(ui): keep inline-code punctuation attached - #122291
vyctorbrzezowski merged 3 commits into
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: needs maintainer review before merge. Reviewed August 11, 2026, 6:00 PM ET / 22:00 UTC. ClawSweeper reviewWhat this changesThe PR reduces inline-code chip padding in Control UI chat text and adds browser-layout coverage for punctuation that immediately follows inline code. Merge readinessNo blocking findings. Current main still uses the larger inline-code padding, and this PR changes the owning stylesheet rule with focused browser geometry coverage. Priority: P3 Review scores
Verification
How this fits togetherControl UI renders transcript Markdown into flowchart LR
A[Transcript Markdown] --> B[Sanitized inline code]
B --> C[Chat text container]
C --> D[Inline-code stylesheet]
D --> E[Browser layout]
E --> F[Visible punctuation spacing]
Before merge
Agent review detailsSecurityNone. PR surfaceSource 0, Tests +45. Total +45 across 2 files. View PR surface stats
Review metrics
Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Technical reviewBest possible solution: Keep the single owner-rule adjustment and its browser geometry regression coverage, then merge after exact-head checks complete. Do we have a high-confidence way to reproduce the issue? Yes—source-reproducible: current main’s inline-code rule adds the right inset, and the PR’s browser fixture measures the resulting gap for adjacent punctuation. Is this the best way to solve the issue? Yes—the stylesheet rule owns the spacing, so tightening that one rule is safer than changing Markdown output or adding punctuation-specific markup. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 459c70e14a2c. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
|
Pre-merge review complete for
Ready for the native landing flow. |
|
Merged via squash.
|
* origin/main: (1725 commits) fix(agents): preserve reply cleanup when cancellation throws (#122252) fix(ui): render disallowed link schemes as plain text (#122311) fix(test): isolate gateway helper env stubs (#122319) fix(ui): keep chat Markdown block rhythm consistent (#122289) test(cli): trim duplicate Hooks process cases (#122278) fix(ui): retain identity while agent roster loads fix(ui): preserve configured agent labels fix(plugins): keep startup convergence read-only (#122330) fix: preserve WebChat reply context after reloads (#122169) fix(ui): make DONE moves visibly reversible (#122303) fix(ui): keep inline-code punctuation attached (#122291) fix(google-meet): publish exports atomically (#122306) fix(channels): preserve failed agent run reactions (#122009) fix(ui): label patch file operations accurately (#122287) fix(windows): preserve Unicode LAN route aliases (#122263) test(media): synchronize transcode pool completion (#122279) fix(android): keep completed subagent activity visible for sixty seconds (#122089) fix(ui): humanize bare GitHub item links (#122285) refactor(qqbot): install plugin from Tencent package (#107295) chore: scope SQLite session lifecycle CI (#121917) ...
* test(ui): cover inline code punctuation spacing * fix(ui): tighten inline code punctuation spacing * test(ui): tolerate browser font metrics
Closes #122275
Additional instructions
MUST: Keep Allow edits from maintainers enabled for this PR so maintainers
can help update the branch when needed.
What Problem This Solves
Fixes an issue where users reading Control UI chat transcripts would see periods and semicolons visually detached from an immediately preceding inline-code chip.
Why This Change Was Made
In this PR, the inline-code chip uses a smaller horizontal and vertical inset so adjacent punctuation stays with the sentence and the chip stays closer to the prose line box. The existing file-link exclusion remains unchanged.
User Impact
Inline code followed by punctuation reads naturally in both light and dark themes, without changing code-chip colors, borders, wrapping, or file-link presentation.
Evidence
Browser geometry at the default text scale:
5.40625pxbefore →3.515625pxin this PR3.75pxbefore →2.5pxin this PRFocused validation:
Formatting check passed for both changed files. Production delta is net-zero (
1+ / 1-); test coverage adds45lines.