GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — perf(web): stop measuring table cells while replies stream by t3dotgg · Pull Request #26152 · pingdotgg/t3code

Conversation

@t3dotgg

@t3dotgg t3dotgg commented Oct 27, 2026

Copy link
Copy Markdown
Member

Streaming tables repeatedly changed their wrapping to decide whether to show the wrap button. Those checks forced layout and produced ResizeObserver loops in an Electron replay.

Keep the wrap control visible and remove clipping detection and its observers. Initial word-wrap preferences, manual toggling, horizontal scrolling, and both copy formats still work. Short tables now show the control even when it has little visible effect. This reverses the conditional visibility added in #19782.

Proof: vp run check:changed passes, and the existing clipboard browser tests pass 2/2. An isolated Electron replay of 30 cell updates had 72 temporary wrapping mutations and six stream-phase ResizeObserver errors before, and zero of both after. Both initial wrap settings, resize, horizontal scrolling, and exact Markdown/CSV clipboard contents pass. Large-table parsing still causes long tasks; this does not claim to remove all table lag.

Before After
Short table without a wrap control Wrap controls stay available on both tables

Before recording · After recording

Council review

Rounds: 2. Round 1 reviewed the approach. Round 2 reviewed the final diff and proof.

Delegate Round 1 Round 2
Claude Opus 5.5 8/10 9/10
Muse Wonder Full 8/10 9/10
GPT-6.1 Sol 9/10 9/10

Reviewed with sol-loop: 1 round with GPT-6.1 Sol on xhigh. Sol verdict: approved.

Created with GPT-6.1 Sol in Codex, running in T3 Code.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@github-actions github-actions Bot added vouch:trusted Author is trusted by repo permissions or the VOUCHED list. size:M 30-99 changed lines (additions + deletions). labels Oct 27, 2026
macroscopeapp[bot]
macroscopeapp Bot approved these changes Oct 27, 2026
View reviewed changes
@macroscopeapp

macroscopeapp Bot commented Oct 27, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Approvability

Verdict: Approved at fbe13f6

Macroscope's review found this PR approvable — Removes table-cell measurements during streaming and always shows the existing expand/collapse button. Initial wrapping preferences and copy behavior remain unchanged; the impact is limited to table presentation and client-side performance.

No code changes detected at bac32f3. Prior analysis still applies.

You can add or adjust custom eligibility rules. Learn more.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@coderabbitai

coderabbitai Bot commented Oct 27, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Important

Review skipped

Review was skipped as selected files did not have any reviewable changes.

Run configuration
  • Source mode: Auto
  • Repository: pingdotgg/t3code
  • Branch: t3/521ec466
  • File: .coderabbit.config.ts
  • Commit: bac32f3
  • Layers: Repository TS config
  • Review profile: CHILL
  • Plan: Team
  • Run ID: 09d74539-305d-46c8-ace8-f178a2f7c080
Commits

Reviewing files that changed from the base of the PR and between e485b064cbdfb130bfde02294847ecab672672d2 and bac32f3.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

No actionable comments were generated in the recent review.

Recent review info
Run configuration
  • Source mode: Auto
  • Repository: pingdotgg/t3code
  • Branch: t3/521ec466
  • File: .coderabbit.config.ts
  • Commit: fbe13f6
  • Layers: Repository TS config
  • Review profile: CHILL
  • Plan: Team
  • Run ID: 34934be7-ce23-4560-96d9-566841912763
Commits

Reviewing files that changed from the base of the PR and between 8d94203 and fbe13f6.

Files selected for processing: 1
  • apps/web/src/components/chat/MarkdownTable.tsx

Limit details: You’ve used all 10 included reviews currently available.

Walkthrough

MarkdownTable removes clipped-cell detection and resize and mutation observers. The container uses a direct ref, and the expand/collapse control is always rendered. Copy behavior is unchanged.

Changes: Markdown table control

Layer / File(s) Summary
Remove clipping detection and render control
apps/web/src/components/chat/MarkdownTable.tsx
Removes clipped-cell checks and observers, attaches the container ref directly, and renders the expand/collapse control unconditionally.

Priority: Low

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Bug fix

Possibly related issues

  • Issue 25676: The always-visible expand control preserves a documented workaround, but this change does not fix the clipped chip.
  • Issue 24183: The control remains available to expand the table, but collapsed one-line clipping remains.

Possibly related PRs

  • pingdotgg/t3code#25246: Adds the clipping measurement and observer implementation that this PR removes.

Suggested reviewers: juliusmarminge

Merge Risk: Minimal · previous review fbe13

The table controls remain available while streamed updates no longer require clipping measurements. No merge-blocking issue is identified.

Pre-merge checks: Passed 4
Check name Status Explanation
Title check Passed The title is concise, conventional, and accurately identifies the main performance change: stopping table-cell measurement while replies stream.
Description check Passed The description clearly explains the problem, implementation, behavior impact, verification results, limitations, screenshots, and recordings. It is mostly complete. The scope evidence is less explici…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Description check

Explanation

The description clearly explains the problem, implementation, behavior impact, verification results, limitations, screenshots, and recordings. It is mostly complete. The scope evidence is less explicit because it does not identify a triaged issue or maintainer approval, but the linked prior PR and review approval provide relevant context.

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.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@t3dotgg
t3dotgg force-pushed the t3/521ec466 branch 3 times, most recently from 95dadc8 to e485b06 Compare October 27, 2026 22:29
@t3dotgg
perf(web): stop measuring table cells while replies stream
bac32f3
@t3dotgg
t3dotgg force-pushed the t3/521ec466 branch from e485b06 to bac32f3 Compare October 27, 2026 22:36
@t3dotgg
t3dotgg merged commit e66ffcc into main Oct 27, 2026
32 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@t3dotgg
t3dotgg deleted the t3/521ec466 branch October 27, 2026 22:56
github-actions Bot added a commit to omarcresp/t3code-flake that referenced this pull request Oct 28, 2026
@github-actions
nightly: 0.1.4-nightly.20261027.3796
fb46928
## What's Changed
* fix(mobile): center Android sheets and fit book-mode sheets in the left pane by @PixPMusic in pingdotgg/t3code#18492
* fix(mobile): keep the collapsed Android rail square by @PixPMusic in pingdotgg/t3code#26039
* fix(web): closing the last Browser tab hides the right panel again by @juliusmarminge in pingdotgg/t3code#26058
* refactor(web): pull requests Cmd+F focuses the topbar search directly by @juliusmarminge in pingdotgg/t3code#26045
* refactor(web): install draft model reconciliation at app start by @juliusmarminge in pingdotgg/t3code#26046
* perf(mobile): project favicons mount their image in one commit by @juliusmarminge in pingdotgg/t3code#26047
* refactor(web): the upload queue alone records finished file uploads on drafts by @juliusmarminge in pingdotgg/t3code#26050
* feat(mobile): Usage uses the width on iPad and unfolded phones by @juliusmarminge in pingdotgg/t3code#26061
* fix(gitcafe): PR panel follows renumbered pull requests by @juliusmarminge in pingdotgg/t3code#26079
* chore(infra): bump Alchemy to 2.0.0-beta.84 by @juliusmarminge in pingdotgg/t3code#26057
* refactor(mobile): stop writing the resolved project filter back from an effect by @juliusmarminge in pingdotgg/t3code#26049
* fix(mobile): a pairing link fills the open Add environment form instead of stacking another by @juliusmarminge in pingdotgg/t3code#26052
* fix(mobile): snooze menu times advance with the clock by @juliusmarminge in pingdotgg/t3code#26043
* fix(clients): prompt links find projects cloned from git.cafe by @juliusmarminge in pingdotgg/t3code#26042
* fix(server): retry Codex capacity failures with empty input by @Yash-Singh1 in pingdotgg/t3code#25611
* fix(server): recover handoffs when target context is exhausted by @Yash-Singh1 in pingdotgg/t3code#25610
* fix(web): chips drop their pill and stay readable on every theme by @flamboh in pingdotgg/t3code#25066
* fix(mobile): switching pull request tabs no longer jumps the page by @flamboh in pingdotgg/t3code#26064
* feat(mobile): report crashes to Axiom with symbolicated stacks by @gabrielelpidio in pingdotgg/t3code#19093
* fix(web): chip palette test follows the single design by @juliusmarminge in pingdotgg/t3code#26131
* feat(server): /mcp narrows a client's modes from T3-Mode-Limit by @juliusmarminge in pingdotgg/t3code#16653
* feat(server): t3_thread_launch takes clientRequestId by @juliusmarminge in pingdotgg/t3code#16654
* feat(server): link to another environment by @juliusmarminge in pingdotgg/t3code#16655
* feat(server): agents use linked environments through any T3 tool by @juliusmarminge in pingdotgg/t3code#16684
* feat(server): work a linked environment starts stays within its link by @juliusmarminge in pingdotgg/t3code#16695
* feat(web,mobile): linked environments in Connections by @juliusmarminge in pingdotgg/t3code#16698
* feat(server): delegate_task to a linked environment by @juliusmarminge in pingdotgg/t3code#16719
* feat(server,web,mobile): an agent sets up a link to another environment by @juliusmarminge in pingdotgg/t3code#17129
* feat(server,web,mobile): @-mention a machine, and linked environments become a Labs beta by @juliusmarminge in pingdotgg/t3code#17130
* fix(mobile): dragging a microphone or environment route now saves its new place by @juliusmarminge in pingdotgg/t3code#26096
* feat(web): channel artwork choice on Latest, plus nightly or dev art on any channel by @maria-rcks in pingdotgg/t3code#26138
* feat(mobile): browse ZIP attachments with the shared archive reader by @Bil0000 in pingdotgg/t3code#19463
* fix(server): Claude --settings launch args merge with T3's settings instead of being dropped by @t3dotgg in pingdotgg/t3code#22864
* feat(server,web): see and stop the dev servers a thread started by @t3dotgg in pingdotgg/t3code#22542
* fix(web): composer no longer jumps when a second line is added by @maria-rcks in pingdotgg/t3code#26155
* feat(web,mobile): queued messages show who sent them by @juliusmarminge in pingdotgg/t3code#26159
* fix(preview): agent and browser panel show the same page after a late desktop attach by @t3dotgg in pingdotgg/t3code#22877
* fix(web): pairing, connect, error, and Clerk sign-in surfaces match the app's dialog style by @maria-rcks in pingdotgg/t3code#25281
* fix(server): parallel worktree launches no longer fail on .git/config lock by @juliusmarminge in pingdotgg/t3code#25700
* fix(task-cache): the hook test waits for every flusher it starts by @juliusmarminge in pingdotgg/t3code#26148
* chore(lint): every React effect states its reason at the call site by @juliusmarminge in pingdotgg/t3code#26161
* test(server): the link-card retry test names a new MCP credential by @juliusmarminge in pingdotgg/t3code#26143
* perf(web): stop measuring table cells while replies stream by @t3dotgg in pingdotgg/t3code#26152
* feat(desktop): add a remote server by clicking its t3code://pair link by @t3dotgg in pingdotgg/t3code#24111
* fix(server): agent questions stay answerable after a server restart by @SunkenInTime in pingdotgg/t3code#19229
* chore(lint): the effect lint error walks the alternatives before the suppression by @juliusmarminge in pingdotgg/t3code#26181
* fix(web): settings avatar no longer hugs the modal corner by @t3dotgg in pingdotgg/t3code#26180
* fix(mobile): shared file names can no longer write outside the Android cache by @juliusmarminge in pingdotgg/t3code#26175
* fix(server): repository lookups no longer send GitHub tokens to arbitrary hosts by @juliusmarminge in pingdotgg/t3code#26176
* fix(github): long period runs no longer freeze reference autolinking by @juliusmarminge in pingdotgg/t3code#26177
* fix(mobile): Android diff ellipsis no longer measures text quadratically by @juliusmarminge in pingdotgg/t3code#26174
* fix(server): Codex works again after its app-server is killed by @t3dotgg in pingdotgg/t3code#26188


**Full Changelog**: pingdotgg/t3code@v0.1.4-nightly.20261027.3783...v0.1.4-nightly.20261027.3796

Upstream release: https://github.com/pingdotgg/t3code/releases/tag/v0.1.4-nightly.20261027.3796
ChrisjanWust added a commit to ChrisjanWust/t3code that referenced this pull request Oct 28, 2026
@ChrisjanWust @claude
Merge upstream/main into fork main
7cd83ee
Conflict resolutions:
- markdownLinks: keep upstream's any-script names and the fork's line ranges.
- MarkdownTable: take upstream's always-visible wrap toggle, which drops the
  per-mutation cell measuring (pingdotgg#26152), and keep the fork's wide-table layout and RTL row.
- SidebarThreadRow, Sidebar, ChatView, AttachmentFilePreview: keep upstream's
  changes and add the fork's tabbed-layout and wide-table pieces on top.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@coderabbitai coderabbitai Bot mentioned this pull request Oct 28, 2026
fix(web): chat tables open at the right size instead of collapsed and cut off #26449
Merged
Pipyakas pushed a commit to Pipyakas/t3code that referenced this pull request Oct 28, 2026
@t3dotgg @Pipyakas
perf(web): stop measuring table cells while replies stream (pingdotgg…
75b0a3b
…#26152)

(cherry picked from commit e66ffcc)
@adampeterhiggins adampeterhiggins mentioned this pull request Oct 29, 2026
chore: sync upstream through 07f7f976 adampeterhiggins/t3code#512
Merged
19 tasks done
incognitojam pushed a commit to incognitojam/styal that referenced this pull request Nov 5, 2026
@t3dotgg @incognitojam
perf(web): stop measuring table cells while replies stream (pingdotgg…
6682b89
…#26152)

Fork adaptation: Remove cell measurement and always expose the wrap toggle while retaining the fork width-fitting wrapped layout, Word wrap default, untruncated collapsed scrolling and discoverable scrollbars; those layout invariants do not depend on measurement.

(cherry picked from commit e66ffcc)
Upstream-PR: 26152
Fork-Feature: markdown-table-layout
@olafura olafura mentioned this pull request Nov 7, 2026
test(features): ledger upstream T3 Code through 9504a09f08 hal-c2/hal-c2#1189
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@macroscopeapp macroscopeapp[bot] macroscopeapp[bot] approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

size:M 30-99 changed lines (additions + deletions). vouch:trusted Author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@t3dotgg
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.