Skip to content

Hold a progress step without a notice, and centre the notice's words - #4378

Merged
max-sixty merged 2 commits into
mainfrom
thread-ephemeral-unread
Oct 27, 2026
Merged

max-sixty merged 2 commits into
mainfrom
thread-ephemeral-unread

Conversation

@max-sixty

Copy link
Copy Markdown
Owner

A held thread's notice no longer speaks for the working message. When the agent posted an ephemeral step into a thread the user was drafting in, the seat held the step (its growth would move the draft) and its notice said "1 new message" in the held-news red, or "Work in progress" / "Work changed" where the working message changed alone. Progress never counts as unread (threads.md), and the receipt on the user's message ("On it") already says the agent is working, so the notice announced news the user owes nothing. The step still waits while it would move the reader, and shows by every other route: a gesture in the thread, arriving at it, opening it, or its growth going out of sight. Held replies, the user's messages from elsewhere, edits, reactions, summaries and settlement keep their notice. This reverses the 2026-10-14 decision recorded in held-news.js, whose header now records the new one.

One case loses a signal: an idle margin card standing above its target, with no draft, also holds a step (it would grow upward and carry its head row), and now says nothing until the user reopens or leaves it.

The notice's words also hung 3.5px below the controls beside them in every placement, in Chromium and Firefox. .lf-thread-news > span set its line to block-size: 1lh with half a line of padding below for the hover underline's clip, assuming content-box; the chrome's border-box reset counted the padding inside that 1lh, so the notice button was 7px tall and its centred box started the words at its top. The line is now 1.5lh under that reset.

Tests: the held-step cases assert no notice and the draft or card standing still, then reveal the step by sending the draft or reopening the card. leaf-dev stills gains plan-card-held-step (light and dark). test_live_news_keeps_the_reading_draft_and_resting_target (nightly) fails at its later page-revision step on the base commit too.

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

max-sixty and others added 2 commits October 27, 2026 00:05
A held thread's notice no longer speaks for the working message. When the
agent posted an ephemeral step into a thread the user was drafting in, the
seat held the step (its growth would move the draft) and its notice said
"1 new message" in the held-news red, or "Work in progress" / "Work
changed" where the working message changed alone. Progress never counts as
unread, and the receipt on the user's message ("On it") already says the
agent is working, so the notice announced news the user owes nothing. The
step still waits while it would move the reader, and shows by every other
route: a gesture in the thread, arriving at it, opening it, or its growth
going out of sight. Held replies, the user's messages from elsewhere,
edits, reactions, summaries and settlement keep their notice as before. An
idle margin card standing above its target, whose growth would carry its
head row up, now holds a step with nothing said until the user reopens or
leaves it.

The notice's words also hung 3.5px below the controls beside them in every
placement. `.lf-thread-news > span` set its line to `block-size: 1lh` with
half a line of padding below for the hover underline's clip, assuming
`content-box`; the chrome's `border-box` reset counted the padding inside
that 1lh, so the notice button was 7px tall and its centred box started
the words at its top. The line is now 1.5lh under that reset.

Tests: the held-step cases now assert no notice and the draft or card
standing still, and reveal the step by sending the draft or reopening the
card. `leaf-dev stills` gains `plan-card-held-step` (light and dark).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@max-sixty
max-sixty merged commit df1becf into main Oct 27, 2026
3 of 4 checks passed
@max-sixty
max-sixty deleted the thread-ephemeral-unread branch October 27, 2026 07:20
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