Skip to content

Say "Generating title" beside the dots while a thread awaits its title - #1330

Merged
max-sixty merged 2 commits into
mainfrom
title-placeholder
Sep 27, 2026
Merged

max-sixty merged 2 commits into
mainfrom
title-placeholder

Conversation

@max-sixty

Copy link
Copy Markdown
Owner

A thread the agent had not yet named showed only three pulsing dots in its panel row, which said something was loading but not what. The row now reads "Generating title" in muted italic at regular weight, followed by the same pulsing dots at 4px, so it can't be mistaken for a title and the dots read as an animated ellipsis.

The visible words are now the accessible name, so the "Title pending" aria-label and tooltip are gone. The dots are empty aria-hidden spans. Before, each was a zero-size "." whose text leaked into the topic's textContent.

Tests that asserted the old "..." text and aria-label now assert the placeholder text and the dots' count. The feature gallery's description of the pending state and the corpus are updated to match.

Alternatives considered: dots before the words (the motion leads and the words read as an afterthought), "Untitled" with dots (doesn't say a title is on its way), and an excerpt of the opening message with dots (repeats the message shown right below it and still looks like a title).

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

🤖 Generated with Claude Code

max-sixty and others added 2 commits September 27, 2026 11:49
A thread the agent had not yet named showed only three pulsing dots in its panel row, which said something was loading but not what. The row now reads "Generating title" in muted italic at regular weight, followed by the same pulsing dots at 4px, so it can't be mistaken for a title and the dots read as an animated ellipsis.

The visible words are now the accessible name, so the "Title pending" aria-label and tooltip are gone. The dots are empty aria-hidden spans. Before, each was a zero-size "." whose text leaked into the topic's textContent.

Tests that asserted the old "..." text and aria-label now assert the placeholder text and the dots' count. The feature gallery's description of the pending state and the corpus are updated to match.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
@max-sixty
max-sixty merged commit 7096c4e into main Sep 27, 2026
5 checks passed
@max-sixty
max-sixty deleted the title-placeholder branch September 27, 2026 19:09
max-sixty added a commit that referenced this pull request Sep 27, 2026
Agents proving a visible change wrote their own Playwright screenshot
script each time: 140 throwaway scripts across 43 Leaf sessions and
subagents in two weeks. The session behind #1303 took none, and a
padding change there covered the focus ring of a keyboard-opened margin
card until #1329 fixed it. `uv run scripts/stills.py [BASE_REF]`
replaces those scripts with one opt-in command, about three minutes
unattended. Nothing gates on it.

It screenshots a fixed catalogue of 15 states on the merge base's
runtime and HEAD's, each built by that arm's launcher from this
checkout's example source and served by that arm's `leaf server run
--temporary`. The catalogue covers states a user reaches by acting as
well as pages at rest: a margin card opened by pointer and by keyboard,
a reply being drafted, the Threads panel, a comment being composed, a
board card grabbed, a focused code block, with some repeated at 900px
and in dark mode. Each state that changed is cropped to a before/after
pair plus a diff under `.tmp/stills/`, with an `index.html` listing
changed and failed states first.

A state counts as changed when any pixel differs: with the same runtime
on both arms every state captures pixel-identically, so no noise
threshold is needed. Run against the commit before #1329, it flags
exactly the two ring regressions that PR fixed, plus the Threads panel's
"Generating title" placeholder from #1330.

- `scripts/stills.py`: the catalogue (`STATES`), the input that reaches
each state, and the pixel diff.
- `scripts/eval_harness.py`: `serving` (start an arm's temporary server
and yield its address) and `merge_base`, moved out of
`bench_page_latency.py` so both scripts share them.
- `/developing-leaf` "Prove and hand off a visible change" and
`skills/leaf/assets/AGENTS.md` "Render gates" name the script as the way
to get the before/after pair, and say to add a missing state to `STATES`
rather than drive it by hand.

> _This was written by Claude Code on behalf of max-sixty_

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
max-sixty added a commit that referenced this pull request Sep 27, 2026
…#1342)

A thread the agent has not yet named read "Generating title" in muted
italic followed by three pulsing dots (#1330). That stacked three
treatments, and the dots floated at mid-height beside baseline text, so
the row looked busier than a title slot should. The placeholder is now
just the words, upright at weight 500 and muted, with a highlight
sweeping through the letters: a linear gradient painted through the
glyphs with `background-clip: text` over a transparent fill. The pending
title's box shrinks to its words (`justify-self: start`), so the sweep
crosses the text for the whole cycle instead of spending most of it over
the empty row. Under reduced motion or forced colors the words stay
plain muted text.

The dots, their spans and the `title-pulse` keyframes are gone. The
threads test now asserts the sweep runs with the text clip and that
reduced motion leaves a visible fill; the gallery test asserts the
topic's animation rather than the dots. The feature gallery's
description of the pending state and the corpus are updated to match.

This was chosen from a sketch of alternatives that also included a
shimmering skeleton bar and the opening message standing in until the
title types over it.

> _This was written by Claude Code on behalf of max-sixty_

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
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