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 — fix(web): finished and wake-up folds work like the live working fold by flamboh · Pull Request #30478 · pingdotgg/t3code

Conversation

@flamboh

@flamboh flamboh commented Nov 3, 2026 •
edited by maria-rcks
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor

Note

🤖 Claude Opus 5.5 on behalf of Oliver

Fix for the redesign stack, targets layer 2 (#28840).

The live "Working for" fold and the finished "Worked for" fold are the same bar before and after a turn ends, but they behaved differently. The finished fold and the wake-ups fold had no caret. The live fold showed a caret and toggled even when its few rows already fit, so clicking it only flipped the caret. And if you had the live history open when the turn ended, it snapped shut.

Now all three folds follow one rule:

  • One caret. The finished fold and the wake-ups fold use the same right↔down morphing caret as the live bar.
  • A toggle only when it does something. The live bar is inert (no caret, no hover, not focusable, no aria-expanded) while its history fits in the collapsed view. Once rows stream past that height, the caret fades in without moving the label. If the fold is open, it stays togglable. The finished fold already hides all its work, so it is togglable whenever it has work to show.
  • Same bar. The live and finished fold labels share one control, so they get the same hover, focus ring, and caret.
  • The hand-off keeps your choice. A history that is open when the turn ends stays open as the finished fold.
  • Opening fades the work in. When you open the finished fold or the wake-ups fold, the rows it reveals fade in once, with the live fold's 200 ms ease-out. Closing stays instant, and reduced motion gets no fade. It is a fade, not a height slide, because opacity runs on the compositor: no layout work, and the rows below don't have to move with it. Rows that mount later while you scroll the open fold don't fade again.

Audit: live bar vs finished fold

Live "Working for" Finished "Worked for" Result
Caret right↔down morph right↔down morph Same (was missing on the finished fold)
When it toggles once its history overflows whenever it has work Same rule
Hover, focus ring shared control shared control Same
Open state at turn end kept kept Same (was snapping shut)
Open motion 200 ms height ease-out 200 ms opacity fade-in Same timing (was none)
Label typography 13px, weight 500, line height 17.94px, letter spacing normal, oklab(0.633 0 0), label box 17.94px tall identical on every value Same, measured on layer 2 and on this branch

The label typography row is measured, not read off the classes: computed styles in a 1000 px wide dark window, on layer 2 and on this branch, with no ancestor opacity, filter, mask or transform on either label. The live label can look larger next to the finished one, but the shared "Wor" glyphs are pixel-identical in both captures. The difference you see is the "g" descender in "Working".

Before / after

Before (layer 2) After
Live history with at most five rows, before Live history with at most five rows, after
Finished work history bar, before Finished work history bar, after

Replay only, 1000 × 900, light theme, 2×. The slow turn is a local, uncommitted transcript swap (14 echo steps, about 26 seconds).

Live overflow, expand/collapse, then finished fold hover and toggle — before (layer 2):

https://gh-file-drop-api-prod-galwoqjslzlnws6s.oliver-boorstein.workers.dev/f/9478c6417e0f589e/before-toggle.mp4

After:

https://gh-file-drop-api-prod-galwoqjslzlnws6s.oliver-boorstein.workers.dev/f/7b0fedb6e9b8c34d/after-toggle.mp4

Open history across turn completion — before (layer 2):

https://gh-file-drop-api-prod-galwoqjslzlnws6s.oliver-boorstein.workers.dev/f/8a2c8044d8c42238/before-handoff.mp4

After:

https://gh-file-drop-api-prod-galwoqjslzlnws6s.oliver-boorstein.workers.dev/f/5bd0fa9bd97fc7d4/after-handoff.mp4

The after history is opened once overflow enables its toggle; before that, it is inert.

Opening and closing the finished fold. The first open and close run at normal speed, the second is slowed 5×:

https://gh-file-drop-api-prod-galwoqjslzlnws6s.oliver-boorstein.workers.dev/f/65e580b5ae17acf2/finished-fold-fade.mp4

Label typography on this branch, same window and theme:

Live bar Finished fold
Live bar label "Working for 4s" Finished fold label "Worked for 26s" with its caret

Validation

  • New browser test in MessagesTimeline.browser.test.tsx: the live bar is not a toggle with 2 rows, becomes one at 30, and its open state carries into the finished fold. Fails on the layer, passes here. The whole file passes (50 tests).
  • Ran a slowed Replay turn on a dev server and checked the live bar was inert until its history passed 212px, then togglable. Also checked the finished fold's caret, and that an open history stays open after the turn ends.
  • The browser test that opens a finished fold also checks the fade: only the revealed row fades, and the fade mark is gone once it ends, so a later remount cannot replay it. Fails without the fade, passes here. The whole file passes (51 tests).
  • On a Replay dev server: the revealed row went from opacity 0.13 to 0.96 in 139 ms and its mark was cleared at about 200 ms. Closing started no fade, and reduced motion started none. With about 100 rows open, scrolling away and back mounted rows 40 times, remounted the revealed row 3 times, and replayed no fade.
  • vp run check:changed against the layer: all pass.

Made with Claude Opus 5.5 in Claude Code (T3 Code).

Takeover verification

merged current main and the updated redesign base without rebasing at 64d377469a. blacksmith vp run check:changed passes format, lint, knip, 40 affected typechecks, 2,478 tests including 51 timeline browser tests, and compiler coverage. two independent source reviews approved the same head. all 33 check contexts completed without failures or pending checks; no conflicts or unresolved review threads.

chrome replay verification passed finished-fold mouse, space, and enter toggles, reduced motion, and the 800px layout. real providers, native clients, and remote connections were not rerun in this pass.

finished fold mouse and keyboard toggles on the merged head

verified by gpt-6.1-sol through the codex harness in t3 code.

Sorry, something went wrong.

Uh oh!

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

All reactions
maria-rcks and others added 30 commits November 3, 2026 21:50
@maria-rcks
feat(web): establish redesign primitives and shell
822f5a5
@maria-rcks
refactor(web): remove unused toggle pressed tokens
1f1e003
@maria-rcks
fix(web): match catalog button and type specimens
e30c0f0
@maria-rcks
fix(web): honor reduced motion in overlay primitives
43bc25f
@maria-rcks
fix(web): match shell and overlay design geometry
69e39fd
@maria-rcks
fix(web): align project search and sidebar badge sizes
99c0982
@maria-rcks
fix(web): preserve shell type role and titlebar spacing
3fc5fb8
@maria-rcks
fix(web): give provider tiles room for icons and labels
3cc0228
@maria-rcks
fix(web): match browser address toolbar spacing to design
2305eba
@maria-rcks
fix(chat): match inline request cards to the timeline design
fcd63e6
@maria-rcks
feat(ui): add relaxed picker spacing and compact key hints
6aa5a7a
@maria-rcks
fix(ui): use the inset field surface and format picker variants
0b10dde
@maria-rcks
fix(ui): preserve web context menu widths
278622f
@maria-rcks
fix(ui): keep palette actions above provider notices
53b7556
@maria-rcks
fix(ui): fit browser previews inside a landscape floating frame
e28f072
@maria-rcks
fix(web): restore compact panel controls and touch targets
3b01fa6
@flamboh @maria-rcks
fix(web): home screen project rows show the project they open (pingdo…
1f3b48a
…tgg#29085)
@flamboh @claude @maria-rcks
fix(web): Snoozed and Settled rows drop the PR badge, and snooze time…
8b45537
…s drop "Until" (pingdotgg#29134)

Co-authored-by: Claude Opus 5.5 <[email protected]>
@maria-rcks
fix(web): snoozed rows show the snooze time like main
1b6d43e
@flamboh @maria-rcks
fix(web): project groups show an icon if any checkout has one (pingdo…
715e809
…tgg#29199)
@flamboh @maria-rcks
fix(web): open pull requests show the arrow icon again (pingdotgg#29213)
4e2b126
@maria-rcks
fix(web): restore main sidebar thread rows
6080bd8
@flamboh @maria-rcks
fix(web): new-thread project rows inset their environment icon (pingd…
ee2e83c
…otgg#29985)
@flamboh @maria-rcks
fix(web): palette project rows show the location under the name (ping…
e39323c
…dotgg#29980)

* fix(web): project location keeps its machine name when the path truncates
@flamboh @maria-rcks
fix(web): sidebar New thread skips the project dialog (pingdotgg#29973)
9ee815d
@maria-rcks
fix(web): preserve rebased server text and shortcut expectations
96214ab
@maria-rcks
feat(web): redesign composer and conversation timeline
8f2a569
@maria-rcks
refactor(chat): remove unused work log helpers
5a2a9dd
@maria-rcks
fix(chat): stop tool shine while waiting for input
91f02e7
@maria-rcks
fix(chat): keep paused timer clear of question text
8790cd5
@github-actions github-actions Bot added the size:L 100-499 changed lines (additions + deletions). label Nov 5, 2026
SunkenInTime pushed a commit to SunkenInTime/t3code that referenced this pull request Nov 5, 2026
@flamboh @maria-rcks
fix(web): finished and wake-up folds work like the live working fold (p…
2024c9f
…ingdotgg#30478)
SunkenInTime pushed a commit to SunkenInTime/t3code that referenced this pull request Nov 5, 2026
@flamboh @maria-rcks
fix(web): finished and wake-up folds work like the live working fold (p…
db619b9
…ingdotgg#30478)
SunkenInTime pushed a commit to SunkenInTime/t3code that referenced this pull request Nov 5, 2026
@flamboh @maria-rcks
fix(web): finished and wake-up folds work like the live working fold (p…
beec22a
…ingdotgg#30478)
SunkenInTime pushed a commit to SunkenInTime/t3code that referenced this pull request Nov 5, 2026
@flamboh @maria-rcks
fix(web): finished and wake-up folds work like the live working fold (p…
ae29518
…ingdotgg#30478)
SunkenInTime pushed a commit to SunkenInTime/t3code that referenced this pull request Nov 6, 2026
@flamboh @maria-rcks
fix(web): finished and wake-up folds work like the live working fold (p…
5570490
…ingdotgg#30478)
flamboh added a commit to flamboh/t3code that referenced this pull request Nov 6, 2026
@flamboh @maria-rcks
fix(web): finished and wake-up folds work like the live working fold (p…
f524df0
…ingdotgg#30478)
flamboh added a commit to flamboh/t3code that referenced this pull request Nov 7, 2026
@flamboh @maria-rcks
fix(web): finished and wake-up folds work like the live working fold (p…
b9a6617
…ingdotgg#30478)
@Entrpi Entrpi mentioned this pull request Nov 8, 2026
fix(web): a streamed reply no longer re-renders every row in the timeline #32756
Closed
flamboh added a commit to flamboh/t3code that referenced this pull request Nov 9, 2026
@flamboh @maria-rcks
fix(web): finished and wake-up folds work like the live working fold (p…
c6f7027
…ingdotgg#30478)
flamboh added a commit to flamboh/t3code that referenced this pull request Nov 9, 2026
@flamboh @maria-rcks
fix(web): finished and wake-up folds work like the live working fold (p…
df87f1b
…ingdotgg#30478)
flamboh added a commit to flamboh/t3code that referenced this pull request Nov 9, 2026
@flamboh @maria-rcks
fix(web): finished and wake-up folds work like the live working fold (p…
e4a607d
…ingdotgg#30478)
flamboh added a commit to flamboh/t3code that referenced this pull request Nov 9, 2026
@flamboh @maria-rcks
fix(web): finished and wake-up folds work like the live working fold (p…
61aa05b
…ingdotgg#30478)
Entrpi added a commit to Entrpi/t3code that referenced this pull request Nov 9, 2026
@Entrpi
fix(web): a streamed reply no longer re-renders every row in the time…
55f57b9
…line

Since finished and wake-up folds reveal the rows they open (pingdotgg#30478), the
turn-fold and work-group toggles read `rows`, which the timeline declares
after them. The React Compiler cannot memoize a closure over a later
binding, so both toggles were new on every render, and so were the row
context built from them and the list's renderItem and extraData. Every
mounted row re-rendered on every update, each streamed text delta included.

- The two toggles move below `rows` and become stable callbacks. A click
  still reads the latest rows.
- `foldRevealBaseIds` joins the list's extraData. Legend re-renders rows
  only when data or extraData changes; the per-render churn had been doing
  that for the fold reveal.
- Test: an earlier row does not render again while a later reply streams.

Measured in headless Chromium (dev build) on a 2,000-item thread with a
live turn: component renders per text delta 318 -> 26, per new item about
353 -> 84; React time across 150 deltas 732-1,087 ms -> 326-336 ms. The
render scenarios: mount-thread -30% renders, switch-thread -21%.

User story: When an agent streams a reply into a long thread, only the
reply redraws, so the timeline stays smooth and uses less CPU.
shivamhwp pushed a commit to shivamhwp/t3code that referenced this pull request Nov 11, 2026
@flamboh @maria-rcks
fix(web): finished and wake-up folds work like the live working fold (p…
c3c77cf
…ingdotgg#30478)
flamboh added a commit to flamboh/t3code that referenced this pull request Nov 11, 2026
@flamboh @maria-rcks
fix(web): finished and wake-up folds work like the live working fold (p…
9baaf87
…ingdotgg#30478)
flamboh added a commit to flamboh/t3code that referenced this pull request Nov 11, 2026
@flamboh @maria-rcks
fix(web): finished and wake-up folds work like the live working fold (p…
ba64547
…ingdotgg#30478)
flamboh added a commit to flamboh/t3code that referenced this pull request Nov 11, 2026
@flamboh @maria-rcks
fix(web): finished and wake-up folds work like the live working fold (p…
2239130
…ingdotgg#30478)
flamboh added a commit to flamboh/t3code that referenced this pull request Nov 11, 2026
@flamboh @maria-rcks
fix(web): finished and wake-up folds work like the live working fold (p…
445b4c3
…ingdotgg#30478)
flamboh added a commit to flamboh/t3code that referenced this pull request Nov 12, 2026
@flamboh @maria-rcks
fix(web): finished and wake-up folds work like the live working fold (p…
cd24a09
…ingdotgg#30478)
flamboh added a commit to flamboh/t3code that referenced this pull request Nov 12, 2026
@flamboh @maria-rcks
fix(web): finished and wake-up folds work like the live working fold (p…
b855f23
…ingdotgg#30478)
screen-gd pushed a commit to screen-gd/t3code that referenced this pull request Nov 12, 2026
@flamboh @maria-rcks
fix(web): finished and wake-up folds work like the live working fold (p…
a4be90b
…ingdotgg#30478)
screen-gd pushed a commit to screen-gd/t3code that referenced this pull request Nov 12, 2026
@flamboh @maria-rcks
fix(web): finished and wake-up folds work like the live working fold (p…
430c9d7
…ingdotgg#30478)
SunkenInTime pushed a commit to SunkenInTime/t3code that referenced this pull request Nov 14, 2026
@flamboh @maria-rcks
fix(web): finished and wake-up folds work like the live working fold (p…
0a20f9d
…ingdotgg#30478)
screen-gd pushed a commit to screen-gd/t3code that referenced this pull request Nov 15, 2026
@flamboh @maria-rcks
fix(web): finished and wake-up folds work like the live working fold (p…
5d3361b
…ingdotgg#30478)
flamboh added a commit to flamboh/t3code that referenced this pull request Nov 16, 2026
@flamboh @maria-rcks
fix(web): finished and wake-up folds work like the live working fold (p…
eb63df6
…ingdotgg#30478)
flamboh added a commit to flamboh/t3code that referenced this pull request Nov 17, 2026
@flamboh @maria-rcks
fix(web): finished and wake-up folds work like the live working fold (p…
ec26e1b
…ingdotgg#30478)
flamboh added a commit to flamboh/t3code that referenced this pull request Nov 17, 2026
@flamboh @maria-rcks
fix(web): finished and wake-up folds work like the live working fold (p…
355cb46
…ingdotgg#30478)
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:L 100-499 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.

4 participants

@flamboh @maria-rcks @Yash-Singh1 @juliusmarminge
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.