Repository navigation
Say a thread's title is on its way instead of heading it with its opening words - #3422
Merged
Merged
Conversation
…ning words Before an untitled thread's title lands, the panel's thread view and Threads' row headed it with the opening words of the user's first message, in a title's bold face, so the question read as if it were the thread's name. While a title is on its way they now say "Generating thread name…" in the working message's dim face, its sheen included, as the classic chrome's rows did until #3100 removed them. A title is on its way while a session holds the page's claim and the agent owes the thread work (attention waiting on a workflow): Leaf asks the claimant's harness for one as the user's words are admitted, and the agent for one with its reply. A page nobody has claimed, or a turn that ended, stalled or was never picked up, sends none, so there the thread keeps its opening words. Search, accessible names and the margin keep the opening words. The card model's `titlePending`, which nothing read since #3100, is replaced by `threadHeading` in thread/messages.js. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
A token scan of the runtime and bundled packages for object keys and methods no other file in the tree names found readings whose last reader is gone. #3100 removed the classic chrome's card summary and margin card but left what they read: the thread card's `unreadCount` and `statusFolded`, and its `incomingTail` and `messageTail` geometry. The goal reading's `openInterventions` and the design mode handle's `legendElement` are read nowhere either. No behavior changes. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
leaf-agent
reviewed
Oct 21, 2026
The placeholder replaced the Threads row's and the thread view head's accessible name too, so two pending threads with the same status read the same to a screen reader. The opening words now follow the placeholder in a visually hidden span. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
leaf-agent
previously approved these changes
Oct 21, 2026
# Conflicts: # skills/leaf/kernel/kernel.json
leaf-agent
approved these changes
Oct 21, 2026
max-sixty
added a commit
that referenced
this pull request
Oct 21, 2026
…#3430) #3422 drew "Generating thread name…" in Threads' row and the thread's view while a title is on its way, but Page Map's row and the agent's On card still named the thread with its opening words: they drew `threadName`, the thread's name in words, where a drawn name belongs to `threadHeading`. Both now draw `threadHeading`, so every surface that draws a thread's name shows the placeholder in the same dim, shimmering face, with the opening words kept for screen readers. Search, accessible names, menus and prose such as `lf-activity`'s keep the name in words, and the comments on both functions and `module-annotations.md` say which is which. `tests/browser/threads/test_panel_list.py::test_a_title_on_its_way_reads_as_one` now checks Page Map and On Codex too; it fails on `main` at Page Map's row. > _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.
Before an untitled thread's title lands, the panel's thread view and its Threads row headed the thread with the opening words of the user's first message, in a title's bold face, so the question read as the thread's name. While a title is on its way they now say "Generating thread name…" in the working message's dim face, its sheen included, as the classic chrome's rows did until #3100.
A title is on its way while a session holds the page's claim and the thread waits on the agent's work (
attentionwaiting on a workflow): Leaf asks the claimant's harness for one as the user's words are admitted, and the agent for one with its reply. Elsewhere, such as a page nobody has claimed or a turn that ended, stalled or was never picked up, the thread keeps its opening words. The opening words follow the placeholder in a visually hidden span, so a screen reader still tells pending threads apart; search, the margin and Page Map keep the opening words. The rule lives inthreadHeading(thread/messages.js);tests/browser/threads/test_panel_list.pycovers both sides of it and the title landing.A second commit deletes runtime readings nothing reads, which #3100 left behind when it removed their readers: the thread card's
titlePending,unreadCount,statusFolded,incomingTailandmessageTail, the goal reading'sopenInterventions, and the design-mode handle'slegendElement. No behavior changes there.