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): the composer rests on scroll when a thread opens above its end by tiliakoos · Pull Request #15025 · pingdotgg/t3code

Conversation

@tiliakoos

@tiliakoos tiliakoos commented Oct 3, 2026 •
edited by juliusmarminge
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor

Threads reopened above their end could keep the composer expanded because the final virtualized row had no measured height. Use its finite top position as a lower bound when deciding whether the timeline overflows. Anchored-turn measurements still require a measured height.

Credit to @tiliakoos for the original fix and regression cases in #15025. This takeover merges current main, keeps the change focused, and combines the duplicated regression setup into one parameterized test.

Verification:

  • timelineScrollAnchoring.test.tsx: 18 → 20 cases. Both missing-height and NaN-height cases fail without the fix; strict row-bottom and anchored-turn metrics remain null.
  • 58 tests pass across timeline anchoring, composer scroll gestures, scroll targets, and page scrolling. Scoped web typecheck, type-aware lint, formatting, and diff checks pass.
  • Independent Claude Opus 5.5 and Codex GPT-6-Sol reviews; two full-diff rounds, with no code blockers in the final round. Round one’s comment-clarity request is fixed.
  • Headless Linux app/server, isolated synthetic completed thread, 1280×800: restore the thread at scroll 0 through Settings → Back. LegendList reports the final row at 10,395px with no measured size and a 748px viewport. Page Down scrolls both versions to 654.5px: main leaves the composer form at 144px; this head rests it at 50px (editor 78px → 32px). Short threads still report no overflow and retain the full composer; focusing the resting editor expands it.

Before (left, main) / after (right, this head), same fixture, viewport, font and scroll:

Before and after: the composer rests when Page Down scrolls a thread with an unmeasured tail

Recorded interaction, before / after:

Page Down before and after

The baseline uses the actual main helper with the same current component integration. Synthetic fixture data and a temporary local font normalize this headless browser; neither is committed. macOS, Windows, iOS, Android and the Electron desktop shell were not verified. This fixes overflow classification; it does not change cold-entry restoration from #19663. A downward wheel event immediately after restoring the very top can still hit the existing end-restoration guard; the proof above exercises Page Down, and upward wheel scrolling was also checked from a nonzero reading position.

Implementation: Codex GPT-6.1-Sol in T3 Code through the Codex harness; focused tests: GPT-6-Astra (high); adversarial reviews: Claude Opus 5.5 (Claude Code harness) and GPT-6-Sol (Codex harness), delegated through T3 Code.

Sorry, something went wrong.

Uh oh!

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

All reactions
@tiliakoos
fix(web): the composer rests on scroll when a thread opens above its end
32d5bf1
An unmeasured last row made the overflow check report "fits", so the
composer never rested. Its estimated top now counts as a lower bound.
Copilot AI balanced review requested due to automatic review settings October 3, 2026 04:49
Copilot AI reviewed Oct 3, 2026

Copilot AI 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.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

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:unvouched Author is not yet trusted in the VOUCHED list. size:S 10-29 changed lines (additions + deletions). labels Oct 3, 2026
macroscopeapp[bot]
macroscopeapp Bot previously approved these changes Oct 3, 2026
View reviewed changes
@macroscopeapp

macroscopeapp Bot commented Oct 3, 2026 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor

Approvability

Verdict: Approved at 6c2061a

Macroscope's review found this PR approvable — This is a narrowly scoped web bug fix that corrects composer resting behavior when a virtualized timeline's final row has a known position but no measured height. It preserves strict anchoring metrics and adds regression coverage without affecting schemas, defaults, infrastructure, or sensitive code.

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 3, 2026 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Path: .coderabbit.config.ts
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: d079fe8a-2aae-45e3-b43c-7d5b1e49f891
📥 Commits

Reviewing files that changed from the base of the PR and between 32d5bf1 and ad8d7c9.

📒 Files selected for processing: 2
  • apps/web/src/components/chat/timelineScrollAnchoring.test.tsx
  • apps/web/src/components/chat/timelineScrollAnchoring.ts

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 0 remain after this review.

📝 Walkthrough

The timeline overflow check now uses the final row’s finite top position plus 1px when its measured bottom is unavailable. Tests cover unknown positions and missing or NaN tail sizes.

Changes: Timeline overflow detection

Layer / File(s) Summary
Unmeasured last-row overflow
apps/web/src/components/chat/timelineScrollAnchoring.ts, apps/web/src/components/chat/timelineScrollAnchoring.test.tsx
When the final row has a finite top position but no measured bottom, the overflow check uses lastTop + 1. Tests verify that an unknown position reports no overflow and that missing or NaN tail sizes can report overflow while row-bottom and anchored-turn metrics remain unavailable.

Priority: ⬇️ Low

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

Change: Bug fix

Suggested reviewers: juliusmarminge

Merge Risk: ⚪ Minimal · up to ad8d7

The change detects overflow from a finite final-row position while preserving the existing behavior for invalid positions and unavailable metrics. The inspected change leaves no actionable merge risk.

### Architecture Summary

Architecture risk: 🔵 Low · up to ad8d7

The change affects 1 system.

Changed systems: apps/web

Architecture concerns
No architecture-level concerns identified.

Review details

Systems and components

  • observed — apps/web (ui) was modified; 2 changed files map to changed impact.

Before / after behavior

  • observed — Modified behavior in apps/web/src/components/chat/timelineScrollAnchoring.test.tsx: Added an assertion that a NaN position for the final row makes the overflow check return false.
  • observed — Modified behavior in apps/web/src/components/chat/timelineScrollAnchoring.test.tsx: Added parameterized cases for missing and NaN tail sizes: overflow is still reported, while getRowBottom and getAnchoredTurnMetrics return null.
  • observed — Modified behavior in apps/web/src/components/chat/timelineScrollAnchoring.ts: The comment now describes unknown row positions, replacing “unknown row geometry.”
  • observed — Modified behavior in apps/web/src/components/chat/timelineScrollAnchoring.ts: timelineContentOverflowsViewport now captures the last row’s top position and, when getRowBottom cannot provide a measured bottom, uses lastTop + 1 if the top is finite. Previously, a missing row height made the helper return false; it now compares that lower-bound bottom against the visible scroll length.
Pre-merge checks: Passed 4
Check name Status Explanation
Title check Passed The title clearly and concisely describes the composer scroll-resting fix for threads opened above their end.
Description check Passed The description explains the problem, implementation, scope, verification results, limitations, and test evidence. It does not use the template's Problem, Change, or Scope and approval headings, but t…
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 explains the problem, implementation, scope, verification results, limitations, and test evidence. It does not use the template's Problem, Change, or Scope and approval headings, but the required information is present and the description is sufficiently complete.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create a new PR
  • Autopilot · 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.

@juliusmarminge juliusmarminge added the macroscope-review Opt PRs made by unvouched contributors in for Macroscope review. Vouched contributors auto-reviews label Oct 3, 2026 — with ChatGPT Codex Connector
@macroscopeapp
macroscopeapp Bot dismissed their stale review October 3, 2026 05:00

Dismissing prior approval to re-evaluate 32d5bf1

macroscopeapp[bot]
macroscopeapp Bot previously approved these changes Oct 3, 2026
View reviewed changes
@tiliakoos
Merge remote-tracking branch 'upstream/main' into fix/14232-composer-…
1ff5d93
…rest-unmeasured-end
@macroscopeapp
macroscopeapp Bot dismissed their stale review October 17, 2026 03:35

Dismissing prior approval to re-evaluate 1ff5d93

@tiliakoos

tiliakoos commented Oct 17, 2026

Copy link
Copy Markdown
Contributor Author

Merged upstream/main (70d60e03a7) in 1ff5d9329d, so this is mergeable again. The only conflict was the doc comment on timelineContentOverflowsViewport, which #19559 had trimmed; the merge keeps the trimmed text plus one sentence on the unmeasured tail. The code change is untouched, and the diff against main is still the two files (+50 −3).

Rerun on the merged branch: timelineScrollAnchoring.test.tsx 20 passed, lint, format and the web typecheck clean. The manual client checks in the description are from the original run and were not retaken.

All reactions

Sorry, something went wrong.

Uh oh!

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

macroscopeapp[bot]
macroscopeapp Bot previously approved these changes Oct 17, 2026
View reviewed changes
@tiliakoos tiliakoos mentioned this pull request Oct 18, 2026
fix(web): stored pull request details keep only the 20 most recent #21245
Merged
@juliusmarminge juliusmarminge self-assigned this Oct 19, 2026
@juliusmarminge

juliusmarminge commented Oct 19, 2026

Copy link
Copy Markdown
Member

Taking over this one as part of the composer-chat maintainer batch. I will keep the unmeasured-tail overflow fix separate from cold-entry positioning and preserve measured anchored-turn metrics.

All reactions

Sorry, something went wrong.

Uh oh!

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

juliusmarminge added 3 commits October 19, 2026 03:18
@juliusmarminge
Merge remote-tracking branch 'origin/main' into fix/14232-composer-re…
c41dd4b
…st-unmeasured-end
@juliusmarminge
fix(web): keep unmeasured-tail overflow focused
6dbe65b
@juliusmarminge
docs(web): clarify unknown timeline row positions
6c2061a
@macroscopeapp
macroscopeapp Bot dismissed their stale review October 19, 2026 03:39

Dismissing prior approval to re-evaluate 6c2061a

@github-actions github-actions Bot added size:XS 0-9 changed lines (additions + deletions). and removed size:S 10-29 changed lines (additions + deletions). labels Oct 19, 2026
macroscopeapp[bot]
macroscopeapp Bot approved these changes Oct 19, 2026
View reviewed changes
@juliusmarminge juliusmarminge mentioned this pull request Oct 19, 2026
fix(web): Chat switching now preserves scroll position instead of jumping back to the top of the diff. #21012
Closed
@juliusmarminge
Merge remote-tracking branch 'origin/main' into fix/14232-composer-re…
ad8d7c9
…st-unmeasured-end
@juliusmarminge
juliusmarminge merged commit c13d058 into pingdotgg:main Oct 20, 2026
28 checks passed

Uh oh!

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

@juliusmarminge juliusmarminge mentioned this pull request Oct 20, 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 deleted the fix/14232-composer-rest-unmeasured-end branch October 20, 2026 13:37
Pipyakas pushed a commit to Pipyakas/t3code that referenced this pull request Oct 21, 2026
@tiliakoos @juliusmarminge @Pipyakas
fix(web): the composer rests on scroll when a thread opens above its …
7f816b2
…end (pingdotgg#15025)

Co-authored-by: Julius Marminge <[email protected]>
(cherry picked from commit c13d058)
@olafura olafura mentioned this pull request Nov 7, 2026
test(features): ledger upstream T3 Code through 30d0138540 hal-c2/hal-c2#1125
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

Copilot code review Copilot
Copilot review effort
Applies to this pull request for everyone.Learn more about Copilot code review.
Copilot left review comments
@macroscopeapp macroscopeapp[bot] macroscopeapp[bot] approved these changes

Uh oh!

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

Assignees

@juliusmarminge juliusmarminge

Labels

macroscope-review Opt PRs made by unvouched contributors in for Macroscope review. Vouched contributors auto-reviews size:XS 0-9 changed lines (additions + deletions). vouch:unvouched Author is not yet trusted in 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.

3 participants

@tiliakoos @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.