Skip to content

fix(ui): remove the thread scroll line and fade mochi overflow - #1243

Draft
klNuno wants to merge 1 commit into
mainfrom
boite/thread-scroll-fade-mochi
Draft

klNuno wants to merge 1 commit into
mainfrom
boite/thread-scroll-fade-mochi

Conversation

@klNuno

@klNuno klNuno commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

Note

Clanker GPT-6.2 Sol is responding on behalf of meetsu

Kind of change

  • Bug fix

What changed

The thread toolbar stays clear as rows scroll under it. Mochi pictures use the thread list's deep fade wherever more pictures are outside the rail's viewport.

Desktop before on the left and after on the right

The fade stays inside the rail card and leaves hover names readable. Related #1224 also changes how Add occupies space.

Verification

  • bun run check and bun run build:ui passed.
  • Chromium sidebar overflow and row hover tests passed, 3 tests. The regression covers the header, both fades, slight overflow and a list that fits.
  • bun test tests/e2e/agents.test.ts passed, 9 tests, including the short rail, its hover names and the phone view.
  • The thread list visibility test passed at 390 px.
  • GPT-6.2 Sol approved after two rounds. The fade layers are inside the rail and below hover names, with the same scroll range.
  • Native Windows and macOS shells were outside this run.

Mochis on a 390 px phone viewport

Affected paths

  • Desktop and phone
  • Both transports: the real core and lib/fake-client.ts
  • Documentation

@github-actions github-actions Bot added documentation Improvements or additions to documentation ui packages/ui labels Nov 25, 2026
@github-actions

Copy link
Copy Markdown

Thread transfer impact

What one recorded agent turn costs a phone, replayed through each real driver: bytes on the wire after compression, the same on every run of a commit (how).

Claude

Measure main This PR Impact Ceiling
Whole scenario 13,585 13,585 0 (0.00 %) 13,720 ✅
Reopening the thread 2,234 2,234 0 (0.00 %) 2,256 ✅
Live turn on the wire 10,751 10,751 0 (0.00 %) 10,858 ✅
Live turn decoded 17,392 17,392 0 (0.00 %) 17,565 ✅
Live turn messages 39 39 0 (0.00 %) 39 ✅

Codex

Measure main This PR Impact Ceiling
Whole scenario 15,280 15,280 0 (0.00 %) 15,432 ✅
Reopening the thread 2,157 2,157 0 (0.00 %) 2,178 ✅
Live turn on the wire 12,527 12,527 0 (0.00 %) 12,652 ✅
Live turn decoded 20,452 20,452 0 (0.00 %) 20,656 ✅
Live turn messages 42 42 0 (0.00 %) 42 ✅

OpenCode

Measure main This PR Impact Ceiling
Whole scenario 16,683 16,683 0 (0.00 %) 16,849 ✅
Reopening the thread 2,692 2,692 0 (0.00 %) 2,718 ✅
Live turn on the wire 13,393 13,393 0 (0.00 %) 13,526 ✅
Live turn decoded 22,726 22,726 0 (0.00 %) 22,953 ✅
Live turn messages 50 50 0 (0.00 %) 50 ✅

Ceilings: main plus 1 % for bytes, main for messages. Growth above them needs a ## Thread transfer section in the pull request body.

Bundle size (how)

Measure main This PR Impact Ceiling
uiEntryChunk 95,587 95,617 +30 (+0.03 %) 97,575 ✅
uiDist 7,218,638 7,219,542 +904 (+0.01 %) 7,367,912 ✅
coreBundle 12,264 12,264 0 (0.00 %) 12,509 ✅
coreJavaScript 4,832,665 4,832,665 0 (0.00 %) 4,929,674 ✅

This PR's numbers come from its own jobs; main's numbers and the ceilings come from main's runs.

Baseline: main at b406baf6 · this PR at 97ced957 · CI: ✅ passed

Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation ui packages/ui

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant