Repository navigation
fix(ui): fit chat table cards to their columns - #122297
vyctorbrzezowski merged 2 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, 8:53 PM ET / August 12, 2026, 00:53 UTC. ClawSweeper reviewWhat this changesThe PR makes Control UI Markdown table cards fit their columns while retaining the existing message-lane cap and horizontal overflow behavior. Merge readinessKeep open for ordinary maintainer review. The current main branch still forces chat Markdown tables to full width, while this PR changes that owner rule and supplies direct browser geometry plus before/after visual proof; no patch defect was found. Priority: P3 Review scores
Verification
How this fits togetherChat and Cron transcript Markdown is rendered into flowchart LR
A[Markdown message] --> B[Chat Markdown renderer]
B --> C[Chat text container]
C --> D[Shared table-card stylesheet]
D --> E[Width and overflow behavior]
E --> F[Rendered chat or Cron table]
Before merge
Agent review detailsSecurityNone. PR surfaceSource 0, Tests +41. Total +41 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. Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Land the net-neutral stylesheet correction after exact-head CI is green, keeping table sizing, lane capping, and scrolling together in the shared table-card rule. Do we have a high-confidence way to reproduce the issue? Yes. Current main’s full-width declaration provides a direct source reproduction path, and the PR supplies browser geometry for both the fixed wide-lane case and constrained-lane preservation. Is this the best way to solve the issue? Yes. Changing the shared table-card width owner while retaining its existing cap and overflow behavior is narrower and more maintainable than altering renderers or adding per-message layout logic. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against ff73a14f5ae7. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (1 earlier review cycle)
|
64e7ff0 to
b40e63a
Compare
|
Landing review complete.
Proceeding through the repository-native landing flow. |
|
Merged via squash.
|
* test(ui): cover chat table card width * fix(ui): fit chat table cards to columns
Closes #122293
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 short Markdown tables in Control UI chat transcripts would render as full-width cards with an empty strip after the final column.
Why This Change Was Made
In this PR, table cards use content width while retaining the existing
max-width: 100%cap and horizontal overflow behavior for narrow message lanes. The adjacent Markdown rhythm change in #122289 is a separate concern and does not alter table sizing.User Impact
Short table cards now end at the last column, while tables that need the full message width remain bounded by their chat lane in both light and dark themes.
Evidence
Browser geometry in a
680pxmessage lane:680pxbefore →194.265625pxin this PR486.734375pxbefore →1pxborder in this PR160pxin a160pxlaneFocused validation:
Formatting check passed for both changed files. Production delta is net-zero (
1+ / 1-); test coverage adds41lines.