Skip to content

Read Untitled on a thread view's head line where no title is on its way - #7476

Merged
max-sixty merged 1 commit into
mainfrom
card-title
Nov 28, 2026
Merged

max-sixty merged 1 commit into
mainfrom
card-title

Conversation

@max-sixty

Copy link
Copy Markdown
Owner

A thread view's head line, on a margin card or in the floating panel, now reads "Untitled" where the thread has no title and none is on its way, instead of standing empty. That happens on a page no session holds (a checkout preview, a page whose session ended) until the agent's first reply names the thread, and rarely on a held page when the turn stops before a title lands. On a held page the line reads "Generating thread name…" from the first frame after Send, so the common path is unchanged.

The maintainer asked for this on a review page ("when do we have a blank header? it's bad when we do"), and had earlier removed the alternative, the opening words repeated over the first message (#4323). "Untitled" is in Leaf's italic voice (leafSays, as "Deleted" is) and --lf-quiet ink. viewHeading replaces titleShown; the panel's thread view is no longer quiet, so a screen reader hears "Untitled" as the heading, with the thread's group still named by its opening words.

To weigh: whether a title is coming is still inferred in the browser from the claim and the turn's state (titlePending) rather than declared by the server, so a held page whose title request failed shows the placeholder until the agent's reply, then "Untitled" if the turn blocks.

Tests: focused card, panel and title browser tests; panel tests now tell untitled threads apart by their first message; pnpm run test:runtime.

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

A margin card's head line, like the panel's thread view's, holds the thread's title, or
"Generating thread name…" while one is on its way. A thread with neither left the line
empty: the card drew nothing beside its buttons, and the panel's view hid the opening
words it would otherwise repeat over the first message. The maintainer judged the empty
line bad, as they had the repeated opening words (#4323), so the line now reads
"Untitled", in Leaf's italic, as "Deleted" is, and in the quiet ink of words that stand
in for what isn't there yet. `viewHeading` replaces `titleShown`; the card and the panel
draw it, and a thread's view in the panel is no longer `quiet`, so a screen reader hears
Untitled there, then the thread's group name and first message.

Where the line read empty: on a page no session holds, such as a checkout preview or a
page whose session has ended, every thread the user opens until the agent's first reply
names it; and, rarely, on a page a session holds, an untitled thread whose turn has
stopped or whose title request failed. On a page a session holds, the line reads the
placeholder from the first frame after Send, measured frame by frame.

Tests: the panel tests that told untitled threads apart by the view's title now read the
view's first message; focused card, panel and title browser tests, the feature-gallery
journey's expected heading, and `pnpm run test:runtime`.
@max-sixty
max-sixty merged commit 6d713a9 into main Nov 28, 2026
7 checks passed
@max-sixty
max-sixty deleted the card-title branch November 28, 2026 01:15
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