GeezerVison is showing github.com — fix(web): chat tables open at the right size instead of collapsed and cut off by t3dotgg · Pull Request #26449 · pingdotgg/t3code
Conversation
With Word wrap off, every chat table opened "collapsed": one line per cell, cut with an ellipsis at 24rem, and the table still scrolled sideways. Most of the text was unreadable until you pressed the small expand button, which made the table narrower. With Word wrap on, lanes under 36rem had the same sideways scroll.
Now every table uses one layout. Cells wrap at word boundaries, the table fits its lane at every width, and only content wider than the lane scrolls.
- Removed collapsed mode, its toggle, and the link to the Word wrap setting. Word wrap still controls code, diffs, and file previews.
- Kept main's 24rem cell cap so one long path or URL cannot take over a column. It now covers headers too, and formula cells stay exempt.
- Short link labels (16 characters or fewer) no longer get a break point after every character, so
#9514 stays whole in a narrow column. Long URLs still break.
- Removed
@container/chat-lane. It existed only for the container query that this PR deletes (#20878).
Tables outside the timeline (file previews, PR bodies, question cards) never matched that container query, so they always scrolled. They now fit too.
Fixes #24183, fixes #24146, fixes #25676. Supersedes #24163 and #25762.
|
Before |
After |
| 46rem lane, Word wrap off |
 |
 |
| 32rem lane, Word wrap on |
 |
 |
Real tables
I rendered 1,130 tables with the real ChatMarkdown and CSS in headless Chromium: 1,126 from my thread history and 4 synthetic ones (links, images, KaTeX). The table shows how many scroll sideways at each lane width.
| Lane |
main, Word wrap off |
main, Word wrap on |
This PR |
| 24rem |
857 |
857 |
218 |
| 34rem |
609 |
610 |
69 |
| 42rem |
424 (465 with cut text) |
31 |
31 |
| 72rem |
56 |
7 |
8 |
At 42rem and wider, this matches what Word wrap on users already see. Three review agents compared 184 side-by-side renders of 46 edge cases. No case was better collapsed by default.
How I proved it: before and after captures in the real web app (headless, Replay provider), the render lab above, and vp run check:changed.
Council review
Rounds: 2
| Delegate |
Round 1 |
Round 2 |
| Claude Opus 5.5 |
8/10 |
9/10 |
| Muse Wonder Full |
8/10 |
9/10 |
| Codex GPT-6.1 Sol |
8/10 |
9/10 |
Created with Claude Opus 5.5 in Claude Code, running in T3 Code.
🤖 Generated with Claude Code
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Approvability
Verdict: Needs Human Approval
Macroscope's review found this PR requires human approval — Chat tables will always wrap rather than follow the word-wrap preference, and the expand/collapse control is removed. This changes a product default, requiring human confirmation of the intended presentation.
You can add or adjust custom eligibility rules. Learn more.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|

No actionable comments were generated in the recent review.
Recent review info
-
Run configuration
-
Commits
-
Reviewing files that changed from the base of the PR and between 1abf368 and 083e47f.
Files selected for processing: 6
-
apps/web/src/components/chat/MarkdownExternalLink.tsx
apps/web/src/components/chat/MarkdownTable.tsx
apps/web/src/components/chat/MessagesTimeline.tsx
apps/web/src/components/settings/TypographySettings.tsx
apps/web/src/components/settings/settingsSearch.ts
apps/web/src/index.css
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 2 remain after this review.
Walkthrough
-
Markdown tables now wrap cell content by default and scroll when content exceeds the lane. The expand/collapse control and table-specific container queries are removed. External-link text preserves short tokens, and the Word Wrap setting no longer describes or searches for table wrapping.
Changes: Markdown table rendering
| Layer / File(s) |
Summary |
Default table wrapping and controls apps/web/src/index.css, apps/web/src/components/chat/MarkdownTable.tsx, apps/web/src/components/chat/MessagesTimeline.tsx, apps/web/src/components/chat/MarkdownExternalLink.tsx, apps/web/src/components/settings/TypographySettings.tsx, apps/web/src/components/settings/settingsSearch.ts |
Table cells wrap within a 24rem maximum width, while formula-containing cells retain natural width. The table remains scrollable, but the expand/collapse control is removed. External-link text preserves tokens of 16 characters or fewer. The Word Wrap setting’s description, accessible label, and search terms no longer include tables. |
Priority: Normal
Estimated code review effort: 2 (Simple) | ~12 minutes
Change: Bug fix · Severity of issue fixed: Medium
Possibly related issues
pingdotgg/t3code#24018 — The issue concerns chat input mode changing during horizontal scrolling inside Markdown tables. This PR changes table overflow rules and retains scrolling for wide content.
Possibly related PRs
Suggested labels: bugfix, size:M
Suggested reviewers: juliusmarminge, mkantautas, macroscopeapp
Merge Risk: Minimal · up to 083e4
-
No merge-blocking issue is established from the supplied evidence.
Pre-merge checks: 4
-
| Check name |
Status |
Explanation |
| Title check |
 |
The title clearly identifies the primary fix: chat tables no longer open at an incorrect collapsed size or become cut off. |
| Description check |
 |
The description provides a clear problem statement, explains the implementation, links related issues and superseded work, and includes detailed verification results with before-and-after screenshots.… |
| Linked Issues check |
 |
The changes satisfy the coding requirements for [#24183], [#24146], and [#25676]. apps/web/src/index.css removes single-line ellipsis rules, wraps table cells, applies the 24rem cap to headers and c… |
| Out of Scope Changes check |
 |
The changes stay within the linked table-rendering scope. MarkdownTable.tsx removes the table expansion control because the single layout replaces collapsed mode. The timeline container-query remova… |
Full details: Description check
-
Explanation
The description provides a clear problem statement, explains the implementation, links related issues and superseded work, and includes detailed verification results with before-and-after screenshots. It does not use the template headings exactly and does not explicitly document maintainer approval, but it is otherwise complete and focused.
Full details: Linked Issues check
-
Explanation
The changes satisfy the coding requirements for [#24183], [#24146], and [#25676]. apps/web/src/index.css removes single-line ellipsis rules, wraps table cells, applies the 24rem cap to headers and cells, and lets tables use the lane width. MarkdownExternalLink.tsx keeps tokens of 16 characters or fewer together, so short PR labels such as #363 do not break mid-number. Removing collapsed-cell styling prevents file chips from being replaced by a cell ellipsis. No linked issue adds a separate automated-test requirement.
Full details: Out of Scope Changes check
-
Explanation
The changes stay within the linked table-rendering scope. MarkdownTable.tsx removes the table expansion control because the single layout replaces collapsed mode. The timeline container-query removal deletes rules used only by that layout change. The Word Wrap setting text remains for code, diffs, and file previews, so the settings edits prevent an obsolete table association. The link-breaking change directly supports [#24146]. No unrelated change is demonstrated.
Finishing Touches
-
📝 Generate docstrings
-
- Commit to this branch
- Create a new PR
🧪 Generate unit tests (beta)
-
- Commit to this branch
- Create a new PR
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Comment @coderabbitai help to get the list of available commands.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Fire-
added a commit
to Fire-/t3code
that referenced
this pull request
Oct 28, 2026
* apps/web/src/components/onboarding/WelcomeWizard.tsx
• 558ffae956 Overlay branch overlay/web-import-window on top of origin/main via Merge
|\
| • db1e76b Overlay branch overlay/web-import-window on top of origin/main via Merge
| |\
| | • f654914 Overlay branch overlay/web-import-window on top of origin/main via Merge
| | |\
| | | • 64bd229 Overlay branch overlay/web-import-window on top of origin/main via Merge
| | | |\
| | | | • 8070a0e fix(web): explain the 30-day import window on /welcome
| | | |/
• | | | 6bc87b9 ci(release): desktop builds stop hitting the npm registry for staged installs (pingdotgg#26458)
• | | | eb751fa fix(web): chat tables open at the right size instead of collapsed and cut off (pingdotgg#26449)
• | | | c280e64 fix(server): searching delegate models by provider name no longer shows only dead models (pingdotgg#26448)
Fire-
added a commit
to Fire-/t3code
that referenced
this pull request
Oct 28, 2026
• 99c9d54820 Overlay branch overlay/todo-supersede on top of origin/main via Merge
|\
| • 325b376 fix(server): a new todo list retires the thread's lists from earlier runs
• | 6bc87b9 ci(release): desktop builds stop hitting the npm registry for staged installs (pingdotgg#26458)
• | eb751fa fix(web): chat tables open at the right size instead of collapsed and cut off (pingdotgg#26449)
• | c280e64 fix(server): searching delegate models by provider name no longer shows only dead models (pingdotgg#26448)
• | 0160c44 feat(server): agents list snoozed threads across all projects in one call (pingdotgg#26442)
• | 1abf368 fix(build): builds no longer fail when GitHub's CDN times out on license templates (pingdotgg#26440)
• | 96a330c fix(web): remote delegates show their harness icon, a parent row, and new links in settings (pingdotgg#26434)
Fire-
added a commit
to Fire-/t3code
that referenced
this pull request
Oct 28, 2026
…a Merge
• c32d68a324 Overlay branch overlay/web-picked-image-copy on top of origin/main via Merge
|\
| • cb46d61 Overlay branch overlay/web-picked-image-copy on top of origin/main via Merge
| |\
| | • 2fc4130 Overlay branch overlay/web-picked-image-copy on top of origin/main via Merge
| | |\
| | | • bc32d70 fix(web): cropped screenshots upload from Android Chrome
• | | | 6bc87b9 ci(release): desktop builds stop hitting the npm registry for staged installs (pingdotgg#26458)
• | | | eb751fa fix(web): chat tables open at the right size instead of collapsed and cut off (pingdotgg#26449)
• | | | c280e64 fix(server): searching delegate models by provider name no longer shows only dead models (pingdotgg#26448)
• | | | 0160c44 feat(server): agents list snoozed threads across all projects in one call (pingdotgg#26442)
Fire-
added a commit
to Fire-/t3code
that referenced
this pull request
Oct 28, 2026
…Merge
# Conflicts:
# apps/web/src/components/chat/TimelineUserMessageRow.tsx
* apps/mobile/src/features/threads/ThreadFeed.tsx
* apps/mobile/src/lib/threadActivity.ts
* apps/server/src/orchestration-v2/ProviderSessionManager.test.ts
* apps/server/src/orchestration-v2/ProviderSessionManager.ts
* apps/server/src/orchestration-v2/RunExecutionService.ts
* apps/web/src/components/chat/TimelineUserMessageRow.tsx
* apps/web/src/session-logic.ts
* packages/client-runtime/src/userMessage.ts
* packages/provider-core/src/server/ProviderAdapter.ts
• 1f4d48d434 Overlay branch overlay/steer-not-delivered on top of origin/main via Merge
|\
| • 7a4b468 Overlay branch overlay/steer-not-delivered on top of origin/main via Merge
| |\
| | • 22925de Overlay branch overlay/steer-not-delivered on top of origin/main via Merge
| | |\
| | | • e6b99cd fix(providers): report steers OpenCode and Pi dropped as not delivered
| | | • 4943e9e feat(orchestration): show steers a provider dropped as not delivered
• | | | 6bc87b9 ci(release): desktop builds stop hitting the npm registry for staged installs (pingdotgg#26458)
• | | | eb751fa fix(web): chat tables open at the right size instead of collapsed and cut off (pingdotgg#26449)
• | | | c280e64 fix(server): searching delegate models by provider name no longer shows only dead models (pingdotgg#26448)
Fire-
added a commit
to Fire-/t3code
that referenced
this pull request
Oct 28, 2026
…Merge
# Conflicts:
# apps/web/src/components/chat/V2LifecycleRow.tsx
* apps/web/src/components/chat/TimelineV2EventRow.tsx
* apps/web/src/components/chat/V2LifecycleRow.tsx
• 2e9d0eeacb Overlay branch overlay/web-subagent-detail on top of origin/main via Merge
|\
| • 9d8c3d1 Overlay branch overlay/web-subagent-detail on top of origin/main via Merge
| |\
| | • 792b19b Overlay branch overlay/web-subagent-detail on top of origin/main via Merge
| | |\
| | | • 0acb18c feat(web): subagent rows without a thread expand to show prompt and report
• | | | 6bc87b9 ci(release): desktop builds stop hitting the npm registry for staged installs (pingdotgg#26458)
• | | | eb751fa fix(web): chat tables open at the right size instead of collapsed and cut off (pingdotgg#26449)
• | | | c280e64 fix(server): searching delegate models by provider name no longer shows only dead models (pingdotgg#26448)
• | | | 0160c44 feat(server): agents list snoozed threads across all projects in one call (pingdotgg#26442)
Fire-
added a commit
to Fire-/t3code
that referenced
this pull request
Oct 28, 2026
# Conflicts:
# apps/web/src/components/chat/ThreadActivityBanners.tsx
# apps/web/src/components/chat/ThreadNow.tsx
* apps/web/src/components/ChatView.tsx
* apps/web/src/components/chat/ThreadActivityBanners.tsx
* apps/web/src/components/chat/ThreadNow.tsx
• 06e4362b5d Overlay branch overlay/web-tasks-line on top of origin/main via Merge
|\
| • 7244f47 feat(web): tapping the Tasks line opens the whole todo list
| • 8edd798 feat(web): the agent's todo list shows as a line at the end of the thread
• | 6bc87b9 ci(release): desktop builds stop hitting the npm registry for staged installs (pingdotgg#26458)
• | eb751fa fix(web): chat tables open at the right size instead of collapsed and cut off (pingdotgg#26449)
• | c280e64 fix(server): searching delegate models by provider name no longer shows only dead models (pingdotgg#26448)
• | 0160c44 feat(server): agents list snoozed threads across all projects in one call (pingdotgg#26442)
• | 1abf368 fix(build): builds no longer fail when GitHub's CDN times out on license templates (pingdotgg#26440)
This was referenced Oct 31, 2026
incognitojam
pushed a commit
to incognitojam/styal
that referenced
this pull request
Nov 5, 2026
… cut off (pingdotgg#26449)
Co-authored-by: Claude Opus 5.5 <[email protected]>
Fork adaptation: Keeps the fork's table layout: tables start from the Word wrap preference with the Expand and Collapse table cells controls, so upstream's always-wrapped CSS, removal of the controls and Word wrap copy change are not taken. Only the change that keeps short words whole in external link text applies.
(cherry picked from commit eb751fa)
Upstream-PR: 26449
Fork-Feature: markdown-table-layout
C-Q-D
added a commit
to C-Q-D/t3code
that referenced
this pull request
Nov 7, 2026
目的:对话里表格左下角的"展开表格单元格"按钮点了没有反应。上游 pingdotgg#26449
把表格改成始终换行,同一提交里删掉了 CSS 的 [data-expanded] 规则和这个按钮;
合并 793bbf4 时接了 CSS,却保留了本地组件,按钮只切换一个已经没有样式读取的属性。
主要变化:
- MarkdownTable:删除展开按钮、expanded 状态、单元格裁切测量(每次渲染都跑的
useLayoutEffect)和 data-expanded 属性;时间线表格的复制菜单仍在表头,
其他表格和无表头的表格保留底部复制菜单。
- i18n:删除 collapseTableCells / expandTableCells;"自动换行"设置的说明和
aria 文案去掉"表格",与上游一致(搜索词此前已同步)。
验证:web 包 tsc-rs 类型检查通过;改动文件 fmt、lint 通过;MarkdownCopy 浏览器
测试、locales 测试改动前后都通过,ChatMarkdown 表格浏览器测试通过。
桌面端界面未实际查看,UNVERIFIED。
chen
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Labels
size:L
100-499 changed lines (additions + deletions).
vouch:trusted
Author is trusted by repo permissions or the VOUCHED list.
Milestone
No milestone
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|