Skip to content

Offer Next On Me at the panel field's end while anything waits on the user - #6304

Merged
max-sixty merged 2 commits into
mainfrom
on-me-mark-without-m
Nov 17, 2026
Merged

max-sixty merged 2 commits into
mainfrom
on-me-mark-without-m

Conversation

@max-sixty

Copy link
Copy Markdown
Owner

At rest, the panel's comment field now ends in Next On Me m whenever On Me lists anything, and in Comment… c once nothing waits. Open latest still wins on an older version. A notice's press (Next thread after a Resolve) and a stance's Close still take the field's end while they stand.

Max asked for m in this slot rather than on the On Me mark (#6265 took it off the mark), and picked this rule on a review page. Over his keys on 176 pages since 1 November, after reading the slot press he made next was m 31%, c 20%, t 11% (376 presses), and after backing out with Escape m 22%, c 17%, t 17% (648 presses).

Because the press stands whenever On Me lists anything, it already covers the moment after an answer. So the after-answer offer goes: offerNextOnMe in application.js (which waited for the server's reading of each gesture) and offerPress in notifications.js.

At rest with 1 On Me, before After
Away … Comment… c · inbox 1 Away … Next On Me m · inbox 1

To weigh: while something waits, the row no longer says where c goes. The box beside a target still shows it, and c still enters the field.

Tests: the field-end, commenting and press tests touched (19, by node id), test:runtime, check:browser.

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

… user

At rest, the comment field's end now offers Next On Me and m whenever On Me
lists anything, and Comment… c once nothing waits; Open latest still comes
first on an older version, and a notice's press (Next thread after a
Resolve) and a stance's Close still take the end while they stand.

Max chose this on the field-end-press page on 17 November 2026, after
asking for m in this slot rather than on the On Me mark. Over his keys on
176 pages since 1 November, the slot press he made next was m 31%, c 20%,
t 11% after reading (376 presses), and m 22%, c 17%, t 17% after backing
out with Escape (648).

The press standing whenever On Me lists anything covers the moment after
an answer, so the after-answer offer goes: application.js no longer waits
for the server's reading of each gesture to offer Next On Me, and
notifications.js loses offerPress. While the ask waits, the panel's row no
longer says Comment… c, so where c goes shows only in the box beside a
target; c still enters the field.

The floating-panel header now gives the user's reason for rejecting m on
the mark: a second place for a press and its key, where the field's end
already offers the moment's.

Tests: the field-end, commenting and press tests by node id (19),
test:runtime, check:browser.
@max-sixty
max-sixty merged commit 40cefba into main Nov 17, 2026
5 checks passed
@max-sixty
max-sixty deleted the on-me-mark-without-m branch November 17, 2026 17:38
leaf-agent added a commit that referenced this pull request Nov 17, 2026
…left stale (#6319)

#6304 made the panel field's end offer **Next On Me** `m` while On Me
lists anything, in place of **Comment…** `c`. Four browser tests on
`main` still expected the old press and failed in push run
[44143887916](https://github.com/max-sixty/leaf/actions/runs/44143887916).
This PR updates the tests and leaves #6304's behavior as it is.

- `test_a_coarse_pointer_keeps_useful_status_without_keyboard_hints`
expects the placeholder `Saved · Next On Me`. The protected behavior
still holds: a phone names the press but not its key.
- `test_c_lands_where_its_badge_is_and_in_the_card_on_screen`: after a
card closes, its two routes no longer expect the page comment to wear
`c`, which matches #6304's own "To weigh" note. They still check that
`c` enters the page comment.
- `test_playground_contributor_needs_no_field` and
`test_authored_playground_copies_and_sends_its_instruction_blocks` look
for "Instruction copied" inside the Leaf panel. The field's placeholder
now draws the notice's words while the press stands, so an unscoped
`get_by_text` matched both that text and the live region and hit strict
mode.

On this branch's base, all four tests fail locally with the CI
diagnostics (6 failures, counting subtests). With the change, all four
pass.

The same run's fifth failure,
`test_a_root_summary_keeps_thread_actions_outside_its_fold[1440-False-2]`,
is #6139 and is untouched here.

Refs #3985 — automated triage

Co-authored-by: leaf-agent <[email protected]>
max-sixty added a commit that referenced this pull request Nov 18, 2026
…g waits on you

Since #6304 the floating panel's field offers Next On Me at rest while On Me
lists anything, not only after an answer, so the judge's truth for the action
now says so.
leaf-agent pushed a commit that referenced this pull request Nov 18, 2026
…in the news sweep (#6398)

The panel-stays-put sweep (`displaced(..., news=True)`) lets a control
whose own words changed grow into free room as long as one edge holds
still. It compared the right edge as rounded `left + width`, but left
and width are each rounded alone, so the edge can read a pixel off where
it stands.

That is what failed `test_the_poll_leaves_the_panel_where_it_was` in
#6392 once #6304 put **Next On Me** at the field's end: publishing v2
swaps it for **Open latest**, which grows leftward with its right edge
exactly at 804.375 px before and after (left 705.578 and width 98.797
round to 706 and 99, giving 805; left 667.484 and width 136.891 round to
667 and 137, giving 804). So the lead that the label overflows its slot
on macOS metrics was wrong: nothing moves, and the test fails at full
speed on a Mac, deterministically. It passes at #6304's parent and fails
at #6304.

The boxes now carry the edge rounded from the box's own right edge, and
`held` compares that. On a Mac the test fails before and passes after (2
of 2 at full speed, 5 of 5 under six busy loops).

Refs #6392

> _This was written by Claude Code on behalf of max-sixty_
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