Skip to content

rc-gateway: the to-do strip takes the bottom of the conversation window - #58

Merged
InfiniteInsight merged 1 commit into
mainfrom
rc-gateway/74-strip-at-bottom-of-window
Oct 18, 2026
Merged

InfiniteInsight merged 1 commit into
mainfrom
rc-gateway/74-strip-at-bottom-of-window

Conversation

@InfiniteInsight

Copy link
Copy Markdown
Owner

What this changes

The to-do strip used to be position: sticky; bottom: 8px, so it floated over transcript pixels in order to stay reachable. Measured at a 720px window with three rows open it lay over 78px of the newest output the reader was trying to read. The pin was not the fault: #transcript was capped at 75vh while the chrome above it measured 389px, which is 129vh together, so the box could not fit the window at any height below 1556px and the composer sat at 1015 of a 720px window, below the fold at load.

Bounding the conversation column lets the strip take its own row between the transcript and the composer instead of borrowing one, and it brings the composer above the fold with it.

The coupling this exposes, and the fix

A flex-bounded box takes its height from what its siblings leave. Three siblings fill in after the render-all fallback has written its scroll position, measured over a 301-item replay at 720px:

moment mover box gap
t=505 #composer contents 0 to 156px 351 to 180 0
t=518 #session-footer 0 to 33px, #convo-switch 0 to 28px 180 to 106 0 to 74

scrollHeight and scrollTop are frozen across the break, so the content did not grow and the box did. The reader was left 74px short of the newest message. #status holds a constant 19px and is not one of the movers.

The virtualized path does not show this because virtual-core re-anchors on every append, so only the degraded path needed a change: the fallback now re-pins on a box resize, gated arithmetically rather than on a threshold. A pure height change moves the gap by exactly the height lost, so a gap larger than the loss is a reader who had scrolled up to read, and they are left alone.

Verification

  • Full transcript verifier: 47 passed, 0 failed. V9 and V9b, the two touch scenarios that guard transcript-view.js, both green.
  • Mutation, the load-bearing result: removing the re-pin while keeping the layout reads 1 passed, 2 failed, P7 and P11 at gap=74, with P31 still green. That separates the two guards, so P31 guards the layout and P7/P11 guard the re-pin.
  • Package suite: 2836 passed, 2 skipped (229 files, 1 skipped).
  • P31 at both heights: 720px: transcript [410,470], strip [478,556], gap 8px; 1080px: transcript [410,790], strip [798,876], gap 8px.

Not in this change

The status-line route that was originally picked for this issue was tested and is false. Making #status a reserved one-line slot left P7 and P11 reading exactly the same 42 and 74, and reserving the three real movers measured worse than doing nothing, gap=85 against the control's gap=74, because the reserved numbers are guesses the real content overran. Both were reverted rather than shipped.

Closes InfiniteInsight/Qwen-Code-Remote#74

The strip was position: sticky, bottom: 8px, so it floated over transcript
pixels to stay reachable: measured at a 720px window with three rows open it
lay over 78px of the newest output the reader was trying to read. The pin was
not the fault. The transcript box was capped at 75vh while the chrome above it
measured 389px, which is 129vh together, so the box could not fit the window at
any height below 1556px and the composer sat at 1015 of a 720px window, below
the fold at load. Bounding the column lets the strip take its own row between
the transcript and the composer instead of borrowing one, and brings the
composer above the fold with it.

Bounding the column makes the box's height depend on its siblings, and three
of them fill in after the render-all fallback has written its scroll position:
measured over a 301-item replay at 720px the box went 351 -> 180 as the
composer's contents arrived and 180 -> 106 as #session-footer and
#convo-switch above it filled in, leaving the reader 74px short of the newest
message. The virtualized path does not show this because virtual-core
re-anchors on every append. So the fallback now re-pins on a box resize, gated
arithmetically: a pure height change moves the gap by exactly the height lost,
so a gap larger than the loss is a reader who scrolled up to read and is left
alone.

Verified: full transcript verifier 47 passed, 0 failed, with V9 and V9b, the
two touch scenarios that guard transcript-view.js, green. Mutating the re-pin
out while keeping the layout reads 1 passed, 2 failed with P7 and P11 at
gap=74 and P31 still green, which separates the two guards. Package suite 2836
passed, 2 skipped.

Closes InfiniteInsight/Qwen-Code-Remote#74
@InfiniteInsight
InfiniteInsight merged commit 3740f01 into main Oct 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant