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): keep the composer expanded until the thread can scroll by t3dotgg · Pull Request #9965 · pingdotgg/t3code

Conversation

@t3dotgg

@t3dotgg t3dotgg commented Sep 5, 2026 •
edited by macroscopeapp Bot
Loading

Uh oh!

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

Copy link
Copy Markdown
Member

Opening a new thread showed the composer already collapsed into its single-line resting row, even when the thread had one short exchange and nothing above it could scroll. The collapsed row gave no space back and it was not obvious how to reopen the composer without clicking into it.

The timeline now reports whether its rows extend past the viewport above the composer, and the resting rule requires that overflow. A thread that fits stays expanded. A thread that can scroll rests on blur and scroll exactly as before, and it still opens at rest on its first paint.

Verification

  • vp test run on composerFooterLayout.test.ts, timelineScrollAnchoring.test.tsx, useComposerFocusState.test.tsx, and MessagesTimeline.test.tsx (88 passing), including new cases for the overflow helper and the resting rule.
  • Web typecheck and formatting pass. The two lint warnings on the timeline file are the same ones main already has.
  • No browser pass.

Created with Claude Fable 5.1 in Claude Code.

🤖 Generated with Claude Code


Note

Low Risk
Desktop composer layout behavior changes for short threads; overflow state depends on LegendList measurements and may lag until the next layout or scroll event in edge cases.

Overview
Short threads no longer open with the desktop composer collapsed into its resting row when the message list still fits above it. Timeline overflow is now measured from the last real row (ignoring the composer inset spacer) via shared timelineContentOverflowsViewport, and MessagesTimeline publishes that flag through onContentOverflowChange after layout, scroll, row resize, and viewport changes.

shouldUseRestingComposerLayout requires timelineOverflows before blur- or scroll-driven collapse applies, so resting only reclaims space when there is scrollable history. ChatView wires the signal into ChatComposer; callers and tests pass the new required field.

Reviewed by Cursor Bugbot for commit 7d4fa73. Bugbot is set up for automated code reviews on this repo. Configure here.

Note

Keep desktop composer expanded until timeline overflows viewport

  • Adds shared timelineContentOverflowsViewport helper in timelineScrollAnchoring.ts that measures the real last row against usable viewport height (scroll length minus composer inset and anchor offset), returning false for empty/invalid state.
  • MessagesTimeline reports overflow via a new onContentOverflowChange callback after initial layout, scroll, resize, row-size, row-count, or inset changes; ChatView tracks this state and passes it to ChatComposer.
  • shouldUseRestingComposerLayout now requires a timelineOverflows boolean, so the desktop resting (collapsed) layout is only selected when the timeline actually overflows the area above the composer.
  • Behavioral Change: desktop existing-thread composers that previously collapsed (even when content fit) now stay expanded until overflow is measured; callers of shouldUseRestingComposerLayout and ChatComposer must supply the new required timelineOverflows prop.

Macroscope summarized 7d4fa73.

Sorry, something went wrong.

Uh oh!

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

All reactions
@t3dotgg @claude
fix(web): keep the composer expanded until the thread can scroll
2f3b8b5
The desktop composer rested into its single-line layout whenever an
existing thread lost focus, including a fresh thread with one short
exchange. Nothing above it could scroll, so the collapsed row gave no
space back and hid how to reopen the composer.

The timeline now reports whether its rows extend past the viewport above
the composer, and the resting rule requires that overflow. Short threads
stay expanded. Long threads rest on blur and scroll as before.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
@github-actions github-actions Bot added vouch:trusted Author is trusted by repo permissions or the VOUCHED list. size:L 100-499 changed lines (additions + deletions). labels Sep 5, 2026
@github-actions

github-actions Bot commented Sep 5, 2026 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor

Thread transfer impact

✅ Thread transfer remains within every enforced ceiling.

Provider Metric Main baseline This PR Impact PR ceiling
Codex Total thread wire 13.5 KiB 13.5 KiB +19 B (+0.1%) 15.1 KiB ✅
Codex Thread snapshot wire 7.0 KiB 7.0 KiB −4 B (−0.1%) 7.3 KiB ✅
Codex Live turn WebSocket wire 6.5 KiB 6.5 KiB +23 B (+0.3%) 7.8 KiB ✅
Codex Live turn WebSocket decoded 57.0 KiB 57.0 KiB 0 B (0.0%) 66.4 KiB ✅
Codex Live turn messages 8 8 0 (0.0%) 21 ✅
Claude Total thread wire 13.5 KiB 13.6 KiB +56 B (+0.4%) 15.1 KiB ✅
Claude Thread snapshot wire 7.0 KiB 7.0 KiB +4 B (+0.1%) 7.3 KiB ✅
Claude Live turn WebSocket wire 6.5 KiB 6.6 KiB +52 B (+0.8%) 7.8 KiB ✅
Claude Live turn WebSocket decoded 57.8 KiB 57.9 KiB +88 B (+0.1%) 66.4 KiB ✅
Claude Live turn messages 8 10 +2 (+25.0%) 21 ✅

Baseline: eae770b · PR result: 7d4fa73 · Source CI: success

Scenario and decoded snapshot size

10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.

  • Codex decoded thread snapshot: 113.8 KiB
  • Claude decoded thread snapshot: 114.5 KiB

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

All reactions

Sorry, something went wrong.

Uh oh!

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

cursor[bot]
cursor Bot reviewed Sep 5, 2026
View reviewed changes

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 2 potential issues.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Want higher recall? High effort reviews run extra passes and find more bugs. A team admin can switch effort levels in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 2f3b8b5. Configure here.

Sorry, something went wrong.

Uh oh!

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

All reactions
Comment thread apps/web/src/components/chat/MessagesTimeline.tsx Resolved

Uh oh!

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

Comment thread apps/web/src/components/chat/timelineScrollAnchoring.ts Resolved

Uh oh!

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

@macroscopeapp

macroscopeapp Bot commented Sep 5, 2026 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor

Approvability

Verdict: Approved at 7d4fa73

Macroscope's review found this PR approvable — This is a focused UI bug fix that keeps the existing composer expanded only when the timeline fits, while preserving current mobile, new-thread, and explicit-collapse behavior. The change is localized, tested, and has no schema, infrastructure, security, billing, or static-analysis implications.

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.

@t3dotgg @claude
fix(web): drop stale overflow frames and treat an unmeasured viewport…
7d4fa73
… as fitting

Co-Authored-By: Claude Fable 5.1 <[email protected]>
macroscopeapp[bot]
macroscopeapp Bot approved these changes Sep 5, 2026
View reviewed changes
@t3dotgg
t3dotgg merged commit c1d27e5 into main Sep 5, 2026
26 checks passed

Uh oh!

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

@t3dotgg
t3dotgg deleted the fix/composer-rest-only-when-timeline-overflows branch September 5, 2026 12:26
github-actions Bot added a commit to omarcresp/t3code-flake that referenced this pull request Sep 5, 2026
@github-actions
nightly: 0.0.39-nightly.20260905.1287
0deea25
## What's Changed
* fix(server): keep Homebrew mise shims manual-only by @juliusmarminge in pingdotgg/t3code#10085
* fix(ssh): report remote package installation failures accurately by @juliusmarminge in pingdotgg/t3code#10088
* fix(web): keep bulk thread deletion going after failures by @m-de-graaff in pingdotgg/t3code#4615
* fix(web): scale agent spawn rows with interface font by @juliusmarminge in pingdotgg/t3code#10092
* fix(web): prevent sidebar tooltip title clipping by @UtkarshUsername in pingdotgg/t3code#10086
* fix(web): keep the composer expanded until the thread can scroll by @t3dotgg in pingdotgg/t3code#9965
* fix(web): preserve original mention text in the composer by @juliusmarminge in pingdotgg/t3code#10100

## New Contributors
* @m-de-graaff made their first contribution in pingdotgg/t3code#4615

**Full Changelog**: pingdotgg/t3code@v0.0.39-nightly.20260905.1286...v0.0.39-nightly.20260905.1287

Upstream release: https://github.com/pingdotgg/t3code/releases/tag/v0.0.39-nightly.20260905.1287
incognitojam added a commit to incognitojam/styal that referenced this pull request Sep 24, 2026
@incognitojam
feat(upstream): explain why a PR cannot be planned early (#437)
0c0b9de
When the PR selected for `early` does not apply at the reconciled
upstream boundary, the command stopped with a single line that gave
nothing to act on:

```console
$ node scripts/upstream-queue.ts early 11784 --through upstream/main
Selected pingdotgg#11784 cannot be applied at the upstream boundary.
```

That happens when the PR builds on upstream work the fork has not taken
in yet, and the planner only looks for dependencies in the changes it
replays after a successful apply.

The command now reports which of the PR's files conflict at the boundary
and which earlier pending upstream PRs and direct commits change those
files, in upstream order. Text output lists the first 20 and says how
many remain; `--json` includes every source with its SHA, PR, and title.
A plan that succeeds prints as before. The intake runbook's `early`
paragraph describes the report.

## Validation

- A new test in `scripts/upstream-early.test.ts` checks which sources
the report lists: pending sources after the boundary and before the
blocked PR whose files overlap the conflicting paths, including direct
commits and directory prefixes, and not recorded or later sources.
- `scripts/upstream-early.test.ts` and `scripts/upstream-queue.test.ts`
pass (21 tests); lint, formatting, and the scripts typecheck are clean.
- Against fetched fork `main` (`495b7cfd5`) and upstream `main`
(`b2b43bef7`), the same command now prints:

  ```console
  $ node scripts/upstream-queue.ts early 11784 --through upstream/main
  Fork 495b7cf; reconciled through d28077e
pingdotgg#11784 does not apply at the reconciled boundary. 16 of its files
conflict there:
    apps/mobile/src/features/threads/ThreadFeed.tsx
    apps/mobile/src/features/threads/thread-work-log.tsx
    apps/mobile/src/lib/threadActivity.ts
    apps/server/src/orchestration/Layers/ProviderRuntimeIngestion.ts
    apps/server/src/orchestration/decider.ts
    apps/server/src/provider/Layers/ClaudeAdapter.test.ts
    apps/server/src/provider/Layers/ClaudeAdapter.ts
    apps/server/src/textGeneration/ThreadTitleContext.test.ts
    apps/server/src/textGeneration/ThreadTitleContext.ts
    apps/server/src/ws.ts
    apps/web/src/components/chat/MessagesTimeline.logic.ts
    apps/web/src/components/chat/MessagesTimeline.tsx
    apps/web/src/components/settings/SettingsPanels.tsx
    packages/client-runtime/src/state/environmentHttpAuth.test.ts
    packages/client-runtime/src/state/threadSnapshotHttp.ts
    packages/contracts/src/orchestration.ts
Earlier pending upstream changes to those files: 110 PRs. Take them in
first, or add their PRs to this plan.
pingdotgg#9594 fix(connect): refresh HTTP credentials without reconnecting
(pingdotgg#9594)
    pingdotgg#9894 fix(chat): show hours for long runs (pingdotgg#9894)
pingdotgg#9933 fix(settings): share restart continuation across environments
(pingdotgg#9933)
    pingdotgg#10092 fix(web): scale agent spawn rows with interface font (pingdotgg#10092)
pingdotgg#9965 fix(web): keep the composer expanded until the thread can scroll
(pingdotgg#9965)
pingdotgg#9935 fix(web): align tool disclosure chevrons with expanded state
(pingdotgg#9935)
pingdotgg#10199 fix(mobile): size a chat image's frame before its bytes arrive
(pingdotgg#10199)
pingdotgg#10200 fix(web): size the chat image slot from server-reported
dimensions (pingdotgg#10200)
pingdotgg#10167 refactor(client-runtime): remove unused runtime exports and
helpers (pingdotgg#10167)
pingdotgg#10173 fix(mobile): restore live tool shimmer and add a Thinking row
(pingdotgg#10173)
pingdotgg#10210 fix(mobile): only make work rows expandable when the body adds
something (pingdotgg#10210)
pingdotgg#10211 fix(mobile): fold subagent lifecycle rows into one batch per
spawn (pingdotgg#10211)
    pingdotgg#10212 fix(mobile): stop clipping expanded tool groups (pingdotgg#10212)
    pingdotgg#9875 feat: show provider usage limits with /usage-limits (pingdotgg#9875)
pingdotgg#9561 fix(ui): unify loading and refresh feedback across clients (pingdotgg#9561)
pingdotgg#10226 refactor(web): keep feature component helpers private (pingdotgg#10226)
pingdotgg#9754 feat(settings): add shared project defaults and scoped overrides
(pingdotgg#9754)
pingdotgg#9895 feat(connections): balance new threads across connected machines
(pingdotgg#9895)
pingdotgg#10273 fix(mobile): stop the work log flickering during subagent runs
and failing calls (pingdotgg#10273)
    pingdotgg#10271 fix(mobile): save linked media from chat (pingdotgg#10271)
    ... 90 more; --json lists every source.
  ```

`--json` returns the same 16 paths and all 110 sources. `early 5521
--through upstream/main`, which plans successfully, prints the same
summary as before.

---
Written by an agent (Claude Code, claude-opus-5-5).
incognitojam pushed a commit to incognitojam/styal that referenced this pull request Sep 24, 2026
@t3dotgg @claude @incognitojam
fix(web): keep the composer expanded until the thread can scroll (pin…
5bf9325
…gdotgg#9965)

Co-authored-by: Claude Fable 5.1 <[email protected]>
(cherry picked from commit c1d27e5)
Upstream-PR: 9965
@juliusmarminge juliusmarminge mentioned this pull request Sep 29, 2026
[Bug]: The composer doesn't rest on scroll when a thread opens above its end, until I scroll to the very end #14232
Closed
2 tasks done
@tiliakoos tiliakoos mentioned this pull request Oct 3, 2026
fix(web): the composer rests on scroll when a thread opens above its end #15025
Merged
@Nurozen Nurozen mentioned this pull request Oct 8, 2026
fix: integrate upstream checkpoint d0f855bfa91b Nurozen/lecturn#115
Merged
henrik092 pushed a commit to henrik092/t3code that referenced this pull request Nov 2, 2026
@t3dotgg @claude
fix(web): keep the composer expanded until the thread can scroll (pin…
8bdb935
…gdotgg#9965)

Co-authored-by: Claude Fable 5.1 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@cursor cursor[bot] cursor[bot] left review comments
@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.

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.