Skip to content

Give a margin card room for an open progress group's border, and name each message's change once - #2491

Merged
max-sixty merged 2 commits into
mainfrom
thread-title-latency
Oct 12, 2026
Merged

max-sixty merged 2 commits into
mainfrom
thread-title-latency

Conversation

@max-sixty

Copy link
Copy Markdown
Owner

Follow-ups to #2294, which draws an open progress group's border around its messages so an answer folding the progress a reader is on moves none of their words.

A margin card clipped that border and could scroll sideways. The border overhangs the transcript's end by 6px. In the Threads panel that lands in the card's inset, but a margin card's transcript scrolls, so the overhang cut off the border's right edge and let the card scroll 6px sideways (measured at 390px: scrollWidth 316 against clientWidth 310). The overhang is now one token, --lf-group-ring-end, which the border reads and the margin card's transcript takes as room from the card's inset (annotation-chrome.css), so the words keep their width and the transcript no longer scrolls sideways.

Held news names each message's change once. difference() in thread/held-news.js read a message's change through three overlapping tests that #2294 (streaming) and #2300 (rewrites) each extended. messageChange now returns joined, completed, rewritten or grew, and the loop counts from that. The notices are unchanged.

The stability contract matches the code. skills/leaf/assets/AGENTS.md said an answer folding the progress at a thread's end may move that progress; since #2294 a run on screen stays open where it stood and one off screen folds away.

Runtime tests (350), the notice and fold browser tests (106), the margin card tests (282) and the thread appearance snapshots pass locally.

This was written by Claude Code on behalf of max-sixty

max-sixty and others added 2 commits October 11, 2026 22:05
… each message's change once

An open progress group draws its border 6px past the transcript's end (#2294).
The margin card's transcript scrolls, so that overhang clipped the border's right
edge and let the card scroll 6px sideways. The transcript now takes that room from
the card's inset, `--lf-group-ring-end`, which the border reads too, so the words
keep their width and nothing scrolls sideways.

Held news read a message's change in three overlapping tests that #2294 and #2300
each extended. `messageChange` now names it once: joined, completed, rewritten or
grew. The notice counts are unchanged.

The stability contract said an answer folding the progress at a thread's end may
move that progress. Since #2294 a run on screen stays open where it stood and one
off screen folds away, which is what the contract now says.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
@max-sixty
max-sixty merged commit faef7d2 into main Oct 12, 2026
3 checks passed
@max-sixty
max-sixty deleted the thread-title-latency branch October 12, 2026 05:25
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.

2 participants