Repository navigation
Say "Nothing waiting on me" when m finds nothing on the user - #5594
Merged
Merged
Conversation
Once every On me item was answered, `m` and Shift+`m` were unavailable and the press did nothing, so the user couldn't tell a finished list from a key that missed. The press now shows "Nothing waiting on me" in the panel's seat for passing words, the On me view's own empty wording, and the live region hears it. The user asked for words only for now, rather than a flash of the panel's colour. The walk's `when` gated it on a non-empty list, a reading the bottom key line once showed and that now reaches only the command reference and aria-keyshortcuts. Dropping it makes the walk live on every page, as On me is, and takes away the watcher that repainted the keys as the list emptied or filled, with its Node test (tests/runtime/queue-walk.test.mjs), which protected only that repaint.
leaf-agent
approved these changes
Nov 6, 2026
max-sixty
added a commit
that referenced
this pull request
Nov 6, 2026
…mpties (#5597) Follows #5594, which made `m` over an empty On me list say "Nothing waiting on me" in the panel. This extends the same behavior to the other page walks, and has the panel say it unasked when On me empties. **Page walks over an empty list say so.** `t` says "No open threads", `h` "No changes marked" and `n` "No search to repeat", where each used to do nothing. The rule is stated once in `browser/runtime/keyboard/AGENTS.md`, "Page grammar". Their `when` gates go, along with change-walk's watcher that repainted the keys as a comparison's marks came and went, so the command reference lists these walks on every page. **Emptiness is claimed only once the list is known.** While the server is offline, `t` and `m` say their list can't be had, as the Threads view already did. The On me and On <agent> views now say that too, or that they're loading, where before the first reading they said "Nothing waiting on …" (`queues.js`, `emptyOnList`). `h` isn't taken while a comparison that `v` started is still loading, rather than saying nothing is marked. **A reading that empties On me is news.** `semantic-news.js` counts On me the way the badge does. When a reading after the first takes it from some to none, the panel says "Nothing waiting on me" with no press. That happens whatever emptied the list: the user's last answer, another tab, or a revision that removed the last obligation. Like other news, it waits behind the user's own command's words, and it's dropped if the list fills again before it shows. Known gaps: - Holding an empty walk key repeats its notice on every auto-repeat. - A news notice already on screen isn't rechecked, so "Nothing waiting on me" can stand for up to 4 s after a new obligation arrives, before "New on me" follows. Tests: a new key-scopes test presses each walk on a page with nothing to walk, and another presses `t` and `m` with the state read refused. The On me panel test now expects the words after the answer with no press, and `test_a_key_on_screen_is_a_key_that_works` now expects the thread walk to run and say so with no threads, where it asserted the old gate. A runtime test covers the news, including that it's dropped when the list refills. > _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.
Once every On me item was answered,
mand Shift+mdid nothing, so a finished list looked the same as a key that missed. The press now says "Nothing waiting on me" in the floating panel, where passing words already go (notifications.js,notice): it holds for four seconds, the status comes back, and the live region announces it. The wording is the On me view's own empty text. Words only for now, rather than a colour flash.The walk's
whengatedmon a non-empty list. That gate was there for the old bottom key line, and today it reaches only the command reference andaria-keyshortcuts. Dropping it makesmlive on every page, as On me is, and takes away the watcher that repainted the keys whenever the list emptied or filled, along with its Node test (tests/runtime/queue-walk.test.mjs), which covered only that repaint. One visible result: the command reference lists Next on me as available on every page.test_a_completed_obligation_stays_reachable_through_on_me(1200 and 390 px wide) now answers the page's one decision, pressesm, and expects the words in the panel; without the notice it fails with "the panel says 'Away'".docs/ui.htmlgets one sentence describing the empty press.