Repository navigation
Show On Me's first question in the Claude Code band, and drop its Threads count - #7560
Merged
Merged
Conversation
…eads count The band above Claude Code's prompt said "On Me 1 · Threads 1, 1 new": a count of what waits on the user, then every open thread. The user asked for a small preview of On Me instead, ranked On Me over the agent's status and both over threads, which On Me should already cover. It already does: the Leaf panel makes no Threads mark, since On Me lists each thread message that waits on the user, and marks only an unread reply, with a dot. So the band now makes the panel's marks, in the user's order, and a line cut short keeps them in that order: Leaf Release triage · On Me 1: Adding ids to the eyebrow and heading · 1 unread The page's row (`rows/<key>@64.json`) gains `on_user_first`, the words naming On Me's first row: its obligation's prompt (a question asked in words, or the name a widget's group declares), else its thread's title, on one line. The row's shape changed, so its `since` moves to 64. Tests: the journey test's band expectations follow the new line (an open thread alone no longer shows); a model test covers the row's words for a widget question, a question in words and a widget in a titled and an untitled thread.
leaf-agent
previously approved these changes
Nov 28, 2026
A question asked in words carries its message's whole Markdown as its prompt, so the band showed source such as "Use **5s** or `30s`? - a - b". The panel's card heads a row in a thread by the thread's title, so the row now does too, and names any other row by its prompt, the name a widget's group declares; both are fitted as a thread's title is, which also keeps the row bounded. An untitled thread names nothing, and the band shows On Me's count alone until the thread's title arrives. Tests: the model test asks for the title over a Markdown question; the journey test titles its thread before expecting its name in the band.
leaf-agent
approved these changes
Nov 28, 2026
max-sixty
added a commit
that referenced
this pull request
Nov 28, 2026
…ss button (#7566) While anything is On the user, each page's line in the Claude Code band now has a `more` button beside `open`. Pressing it lists every named On Me row under the line, one per row, and leaves the line to the agent's status and unread threads. `less` folds the list back into the one-line form from #7560. The user can press it with a click in the fullscreen terminal, or with ctrl+x tab, then shift+tab and Enter. ``` Leaf Release triage · 3 unread less open On Me 3: Adding ids to the eyebrow line and heading Migration fix before the cut CSV export timing ``` To weigh: - The page's row now carries `on_user_names`, the names of every On Me row that has one, in place of the first row's name. The row's `since` already named protocol 64, so the page protocol moves to 65. - The choice lives only in the module instance, per page, so a reload or a new session starts folded. - The button shows whenever On Me holds anything, even where the line already fits. Asked for by Max, who wanted a button rather than a view that follows the band's focus. I tried it in a real Claude Code session (`leaf-dev journey session`) at 140 and 72 columns: focus stays on the toggle across the redraw, and the buttons stay whole while the line is cut. Tests: the row-names model test, and a process test that presses the toggle both ways on both surfaces. > _This was written by Claude Code on behalf of max-sixty_
max-sixty
pushed a commit
that referenced
this pull request
Nov 29, 2026
#7602) Tonight's nightly review of the last day's commits and a survey of existing files turned up text that now describes code that has moved or changed, plus two exports nothing imports. This PR corrects them. Nothing it touches changes behavior. `pnpm run check` and pre-commit pass on the branch. - **README:** the Claude Code band line now lists how much waits on the user with the first item's name, the agent's status and the unread threads, with a `more` button for On Me. #7560 dropped the open-threads count the README still described, and #7566 added the button. - **`docs/website.html`:** #7582 runs the plugin's hooks in the hosted Codex, so a message sent during a turn now reaches that turn, as the header of `worker/leaf_website/__init__.py` says. The page still said it waits for the turn to end. - **`packages/detail/defaults.css`, `browser/runtime/readings/user-place.ts`:** these now point at `dial.js`. Since #7591, `dial.js` holds the dial's layout, motion and `holdPlace`, and `lf-dial.js` only registers the widget. - **`lf-toc`:** it no longer exports `Toc` and `TocMessage`. Their only importer outside the module was the story test that #7542 deleted. - **Eval headers and `notes/agent-usability-evals.md`:** `needs_browser` is now cited at `source/browser_judged.py` (#7253), not `render_gate/page_code.py`. authoring-evidence.md's chart line is now named by its subject, since that line no longer names `lf-chart`. - **Small cleanups:** - `src/leaf/commands/hooks.py` had the same `TYPE_CHECKING` import twice in a row; one is removed. - The docstring of `tests/browser/test_render_drafts.py` now says what its one test protects. - The header of `render-checks/scrollbars.js` no longer carries a timing, which belongs in a commit message. Co-authored-by: leaf-agent <[email protected]>
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.
The band above Claude Code's prompt now previews On Me and drops its Threads count. It used to read
Leaf Go-to's page jumps · On Me 1 · Threads 1, 1 new; it now readsLeaf Go-to's page jumps · On Me 1: Show every control's own key in Go-to? · 1 unread, with the agent's status between the two while it works. A line cut short keeps what waits on the user longest, then the status, then unread replies, the order Max asked for.The Threads count goes because the Leaf panel already makes no Threads mark: On Me lists each thread message that waits on the user, and the panel marks only an unread reply. The band now makes the same marks.
To weigh: the page's row gains
on_user_first, the name the panel's card heads the row with (its thread's title for a row in a thread, else its prompt, the name a widget's group declares), fitted to a title's length; an untitled thread names nothing. "First" is the server's order, which can differ from the panel's page order. The row's shape changed, so itssincemoves to 64, and pages served by a Leaf from before this change drop out of the band until their server restarts.Asked for by Max; tried in a real Claude Code session (
leaf-dev journey session) at 200 and 72 columns. Tests: a model test for the row's words, and the band journey test updated.