Repository navigation
Hold a progress step without a notice, and centre the notice's words - #4378
Merged
Merged
Conversation
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]>
leaf-agent
approved these changes
Oct 27, 2026
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.
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 inheld-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 > spanset its line toblock-size: 1lhwith half a line of padding below for the hover underline's clip, assumingcontent-box; the chrome'sborder-boxreset 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 now1.5lhunder 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 stillsgainsplan-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.