Repository navigation
Note the short Threads list's tradeoff in TODO, and correct followThreadEnd's comment - #1525
Merged
Merged
Conversation
…eadEnd's comment #1480 made the open card in the Threads panel fill a list too short to scroll, with its reply box at the list's foot. That settles both news-driven shifts left over from #1466, which showed only with the CPU slowed 20x: - A reply arriving in the open thread takes the free room above its reply box, so the box no longer drops 32px. - A resolved thread returning above the open card makes the list scrollable, and the place hold scrolls the newcomer out of view rather than pushing the card being read down 46px (measured: list scrollTop 46, the read card at the list's top). `test_a_website_turn_posts_its_answer_when_the_move_is_settled_first` passed 4 of 4 runs per case at 20x on main. Since #1494 the shift watch judges news right after a press as without input, so that test now guards both cases at CI speed too. This TODO entry records why it is the best tradeoff rather than a perfect one, and what was rejected. `followThreadEnd`'s comment still said a short list's end grows into the room below, which #1480 made untrue. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
leaf-agent
approved these changes
Oct 1, 2026
max-sixty
added a commit
that referenced
this pull request
Oct 5, 2026
…ecords before changing a module held-news.js's header now records that a panel card holds news behind its notice (#1694), the choice #1525 recorded and the alternatives it rejected, and that arrival stays a set of call sites because deriving it from focus events missed shadow-tree moves and dialog hand-backs. /developing-leaf tells a change to read a module's decision record first, write a decision it settles there, and ask the user before reversing one they made. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
max-sixty
added a commit
that referenced
this pull request
Oct 5, 2026
… now (#1780) Records decisions from the held-news case study where the next change will read them. - `AGENTS.md`, "Where instructions live": a module's header records the product decisions it embodies and the alternatives they rejected; a change that reverses one rewrites that record and says so in its commit. (#1525 kept its rejected alternative in `TODO.md`; #1694 adopted it without noting the reversal.) - `held-news.js`: the first such record. A panel card holds news behind its notice (the user's decision), rejecting filling the list (#1480) and letting the list move. Arrival stays the `showHeld` call sites, since deriving it from focus events missed focus moves inside one shadow tree and took a dialog's hand-back for an arrival. - `tests/AGENTS.md`: the narrow pull-request gate is the user's choice, so a red main is no reason to widen a change, its gate, or its test selection. The branch also carries that focus-derived arrival attempt and its revert, for reference; the net diff is the three records above. > _This was written by Claude Code on behalf of max-sixty_ --------- Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
#1480 made the open card in the Threads panel fill a list too short to scroll,
with its reply box at the list's foot. That settles both news-driven shifts
left over from #1466, which showed only with the CPU slowed 20x:
so the box no longer drops 32px.
and the place hold scrolls the newcomer out of view rather than pushing the
card being read down 46px (measured: list scrollTop 46, the read card at the
list's top).
test_a_website_turn_posts_its_answer_when_the_move_is_settled_firstpassed4 of 4 runs per case at 20x on main. Since #1494 the shift watch judges news
right after a press as without input, so that test now guards both cases at
CI speed too.
This TODO entry records why it is the best tradeoff rather than a perfect one,
and what was rejected.
followThreadEnd's comment still said a short list'send grows into the room below, which #1480 made untrue.
🤖 Generated with Claude Code