Repository navigation
fix(chat): a wide table scrolls instead of squeezing its columns - #481
Conversation
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. 🧰 Additional context used📚 Code guidelines (2)No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (3)
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review. 📝 SummarySummary by CodeRabbit
WalkthroughChat table cells now wrap between words, and file paths inherit the wrapping behavior of surrounding text. The design documentation and changelog describe tables filling the reply width and scrolling within their own container when needed. ChangesChat table wrapping
Priority: ⬇️ Low Estimated code review effort: 1 (Trivial) | ~5 minutes Change: Bug fix Suggested reviewers: Merge Risk: ⚪ Minimal · up to Wide chat tables preserve words and scroll inside their wrapper when needed, while fitting tables remain within the reply. No concrete merge-blocking risk is evident. Architecture SummaryArchitecture risk: 🔵 Low · up to The change affects 3 systems. Changed systems: Architecture concerns Review detailsSystems and components
Before / after behavior
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
…e-viewer-highlight-next
Its branch had appended the tab-strip sentence to the fonts entry under [0.3.50], which was released before #479 merged. The sentence is its own entry under [0.3.51] Fixed, and the 0.3.50 entry links #473 alone again. Bumps package.json and herdr-plugin.toml to 0.3.51 and moves the Unreleased notes under [0.3.51] - 2026-10-06, with the compare link. Raises the remote PC bundle to 18: #368 adds the `take-over` capability the bridge advertises, and #477, #483, #484, #485 and #486 change what the bridge reads (transcripts, prompts, process start times, a pane's Codex store), so a remote PC on bundle 17 keeps the old behaviour until its bridge is updated. Push the `remote-v18` tag and let the bundle workflow publish before running release.yml. Carries #368 #477 #479 #481 #482 #483 #484 #485 #486 #487 Co-Authored-By: Claude Fable 5.1 <[email protected]>
Change
A Markdown table in a chat reply that does not fit the reply's width squeezed every column
until it fit, down to a letter or two. Words and file paths broke after any letter, and
overflow-x: autoon.markdown-table-wrapnever took effect, because the table neveroverflowed.
The cause is
overflow-wrap: anywhereon.markdown, which table cells inherit.anywhere(unlike
break-word) counts every possible break toward an element's min-content width. Everycolumn therefore had a narrowest width of about one character, and the auto table layout always
fit.
.markdown th, .markdown tdsetoverflow-wrap: normal. A cell breaks between words only, soa column is never narrower than its longest word, and a table without room scrolls sideways
in its own box. The page itself does not scroll, and a table that fits still fills the reply.
.markdown-file(a file path that opens the viewer) had its ownoverflow-wrap: anywhere. Itnow inherits instead: in a paragraph it still breaks anywhere, and in a table cell it breaks
between words like the rest of the cell.
DESIGN.mddescribes the behavior, andCHANGELOG.mdhas a line under Unreleased → Fixed.Validation
bun run generate:types --check,bun run typecheck,bun run buildandbun run test:unit(1379 tests) pass.scripts/ci-browser.shwas run locally with Playwright's Chromium on anisolated herdr session.
scripts/ui-regression.ts, which times out waiting for theprompt card's "1. Yes, continue" button.
main(3308c36) fails at the same step, with the same list of passing checksbefore it, so this failure comes from the local environment and not from this change.
Locally herdr is 0.9.2; CI uses 0.9.3.
table (code spans, a file path that opens the viewer, prose) added to the demo's infra reply:
A long file path in a paragraph still wraps without overflowing the reply.