Repository navigation
Have the On Me mark press Next On Me with its m, and say Working until the agent's line - #6230
Merged
Merged
Conversation
…l the agent's line
Two changes to the floating panel's row, both from the user's comments on the
panel on 16 November 2026.
## The On Me mark presses Next On Me and shows `m`
While On Me lists anything, the mark at the row's end now presses Next On Me,
the command `m` runs, and wears `m` beside its count, so the row's end offers
the shortcut the way the field's end offers Comment and `c`. The key shows only
while `m` would walk now: it goes while the caret is in a box that takes
letters, such as a card's reply, and a finger is shown none. The mark keeps the
key's room at all times on a fine pointer, so the key coming and going moves
nothing. With nothing On Me the mark is unchanged: it opens Threads where a
reply waits unread or a draft was put away, else the empty On Me list.
Until now the mark opened the On Me list. Across the user's pages since 1
November, `m` ran Next On Me about 1,070 times and the mark was clicked 8 times. The
list stays one tab away: the leaf opens the On view, whose tabs are the menu,
On Me, On <agent> and Threads, and `g M` opens it directly.
The field's end no longer offers Next On Me and `m` after an answer
(`offerNextOnMe`, with `offerPress` and `offeredPress` in notifications.js).
That offer stood from 6 November until the user's next input; the mark now
offers the same press at all times, so the two would stand side by side.
## The working row says Working until the agent writes its line
While the agent worked but had written no status line, the row's empty field
said nothing and its end showed `c` alone, so the panel read as blank. It now
says Working, in Leaf's italic voice with the work sheen, followed by Comment
and `c` where `c` enters the field, and the agent's line replaces it. A row
of All pages and the leaf's name say Working in the same state. The step
a harness observes, such as Codex's Thinking or Using a tool, stays in the
leaf's menu, so the row doesn't flicker between steps.
The blank was the user's choice of 28 October 2026, over Leaf's guesses in
the agent's voice ("Got your comment", "Working on it"). Working is Leaf's own
reading of the harness, in Leaf's voice, so it puts no words in the agent's
mouth. Across 406 deliveries to the user's pages in November that arrived
with no line standing, the blank lasted a median 30 s until the agent's first
line or reply, and over 3.5 minutes for one in ten.
## Tests
Browser tests and stills states that pressed the mark to open the On Me list
now open it through the leaf and the On Me tab (`open_on_me`, `on_view_tab`
in `leaf_dev.browser`). The test of the after-answer offer is replaced by one
of the mark's press and its key.
Two floating-panel tests passed the reply's markup as a fourth positional argument, which post_reply stopped taking, so both failed in setup on main.
# Conflicts: # tests/browser/test_render_floating_panel.py
leaf-agent
approved these changes
Nov 17, 2026
leaf-agent
left a comment
Collaborator
There was a problem hiding this comment.
tests/browser/test_render_floating_panel.py::test_an_arrival_the_opening_view_will_cover_puts_it_away fails here because the field's placeholder and kbd.lf-key-badge move without input by -77px. It fails the same way on the base (e44302f), where they move by -54px, so the failure is inherited; the PR only widens the mark the shift carries. The other focused checks pass: test:runtime, the new mark test, tests/browser/widgets/test_on_panel.py, the rest of test_render_floating_panel.py, and the key-scopes layer test.
max-sixty
pushed a commit
that referenced
this pull request
Nov 17, 2026
… line (#6244) The On view's tab strip (`.lf-fp-filters`) is meant to scroll when its tabs don't fit, but the crumb around it keeps the strip's min-content width. So a tab longer than the line, such as On ‹agent› when the agent's name is a long description, widened the strip past the panel, and the panel's card clipped it. The strip never overflowed itself, so it never scrolled, and the tabs after the long one, Threads included, couldn't be reached by pointer or touch. At 360 px the strip measured 667 px wide inside a 340 px panel. `.lf-fp-controls` now gives its width as a container's, and the strip is at most that wide (`max-width: calc(100cqi + …)`, the extra covering its focus-ring margins). The strip now scrolls, as its comment already says it should. Tabs that fit lay out as before: `leaf-dev stills --state on-me --state on-agent --state panel-leaf` changed 0 px between base and head at 1440×900. This turned up through #6230, which made every test helper reach Threads through the leaf's menu. `test_a_message_reaction_trigger_meets_its_header_and_covers_no_words[360-True]` and `[1440-False]` use an agent with a long name. Both time out on the Threads tab at main `a64b8ce2f` and pass with this change. The 18 browser tests that read the panel's tabs or controls also pass. **Not fixed here:** the third failure in #6239, the `test_a_close_request_takes_one_step_at_a_time` subtest "Escape takes the view and leaves the selection to back". The leaf's menu opens on its search field, and that field takes the page's selection; this was already true before #6230. Reaching Threads by `g T` instead keeps the selection, but the subtest then fails about half the time when it runs alongside other tests. In those runs a comment composer for the selection is open, and its `composer.close` takes Escape ahead of the focused Threads view. My diagnosis is on the issue. Refs #6239 — automated triage Co-authored-by: leaf-agent <[email protected]>
leaf-agent
added a commit
that referenced
this pull request
Nov 17, 2026
…hers (#6260) The leaf's menu drew its rows as an unkeyed array (`rootTemplate` in `browser/runtime/floating-panel.js`). When the menu gained or lost a row while it was drawn, Lit wrote each later row into its neighbour's old position. It removed and recreated equal buttons and the `<hr>` rule, and moved the copy shortcut's persistent `wa-copy-button` out and back. The write watch reports that churn as `unchanged write: children of div.lf-fp-menu`. The rows are now keyed by their seat key through `repeat`, so a row that comes or goes moves the rows around it and leaves them otherwise untouched. A user hits the same path whenever the menu's rows change while it is open, so the fix is in the menu's render, not in the test. Since #6230, `open_threads`/`open_panel_thread` reach Threads through the leaf, which opens this menu. That is why `test_a_reply_notice_survives_a_failed_state_and_keeps_its_agent` began failing at teardown. It failed in both throttled runs (`--cpu-throttle 4`) on main and passed in 3 of 3 throttled runs with this change. A single paint (`paintNow` → Lit) made the whole write, which I confirmed by recording the stacks of the menu's DOM writes during a failing run. Twelve menu tests in `test_render_floating_panel.py`, `pnpm run test:runtime` and `pnpm run check:browser` pass. Closes #6259 — automated triage Co-authored-by: leaf-agent <[email protected]>
max-sixty
added a commit
that referenced
this pull request
Nov 17, 2026
Reverts the On Me mark half of #6230, which Max called a mistake on seeing it: "don't put the `m` there", and the count "seems worse". The mark opens On Me again, wears no key, and its count stands right after the inbox symbol, as before #6230 (at the end of its room, a single digit stood a digit's width off the symbol). After an answer that leaves more On Me, the field's end offers Next On Me and `m` again until the next input, Max's choice of 6 November, which #6230 had removed only because the mark offered the same press. The other half of #6230, "Working" in the empty field until the agent's line arrives, stays. The floating-panel header and the count's CSS comment record the rejected design. To weigh: the after-answer "Next On Me `m`" coming back is an `m` at the row's end too, though only in the moment after an answer, at the field's end rather than on the mark. Tests: the 42 browser tests the revert touches, by node id; `test:runtime`; `check:browser`. `leaf-dev stills` in Firefox shows the answered row pixel-identical to before #6230. > _This was written by Claude Code on behalf of max-sixty_
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.
Two changes to the floating panel's row, from Max's comments on the panel today.
The On Me mark presses Next On Me and shows
m. While On Me lists anything, the mark at the row's end runs the commandmruns and wearsmbeside its count, the way the field's end shows Comment andc. The key shows only whilemwould walk now (not while the caret is in a card's reply, never to a finger), and the seat keeps its room so nothing moves. With nothing On Me the mark is unchanged. The mark used to open the On Me list; on Max's pages since 1 Novembermran about 1,070 times against 8 clicks on the mark. The list is now the On view's tab (the leaf, then On Me) org M. The after-answer "Next On Me m" at the field's end is removed, since the mark beside it now offers the same press.The working row says Working until the agent's line arrives. It used to show nothing (and an orphan
c) for a median 30 s after each delivery, over 3.5 min for one in ten. "Working" is in Leaf's italic voice, so it puts no words in the agent's mouth, which was the reason for the blank chosen on 28 October. All pages and the leaf's name say it too.To weigh: the mark no longer opens the list in one press.
Tests:
pnpm run test:runtime,check:browser, and each browser test the change touched, by node id (~80, all passing).