Repository navigation
Show the next action in six places the survey found it hidden - #3814
Merged
Merged
Conversation
A `t` walk from a thread open in the floating panel opened the next
thread's margin card and left the panel's view standing, still saying
"Reply" and the walk's position ("Thread 2 of 3") under the thread the
user had left. A walk from a card into a thread the panel shows left the
card open. Two threads stood on screen, so `c` and the walk's position
could mean either.
Now a route that opens a thread shows only that thread:
- The panel, declining a thread the page draws beside its passage, puts
away its view of any thread, not only of that one, and closes rather
than going back to the list the view stood over (floating-panel.js,
`reveal`).
- The thread destination closes the page's card, through the route's
intent, once the primary reader takes a thread (destination.js).
Both run through `openPageThread`, so the `t` and `m` walks and every
other route that opens a thread by id share them. A press in the panel
(Threads, a row, Discuss) already put the card away as a press outside
it, and a press on the page already put the panel's view away.
Max chose this on 23 October 2026; the headers record it.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Hiding the annotation layer with `o` (or the leaf's menu) said so only in a passing notice. Once it faded, and after a reload, which keeps the hidden state with no notice, a commented page looked as if nobody had commented. While the layer is hidden, the floating panel's empty page field now leads the status with "Annotations hidden · ", and follows a stance's name with " · Annotations hidden". Notices, the selection offer, errors and thread replies read as before. The layer's hidden state becomes a signal in annotation-layer.js, which the panel reads through a reader leaf.js passes in, since core owners may not import the overlay. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Area capture opened over a preset rectangle with the field saying "In area capture". A press inside the rectangle did nothing, so the page looked like it was waiting for a click that never came; only Enter or a fresh drag confirmed it. Capture now opens with no rectangle: the whole window dims, and the field says "Drag an area to capture". A pointer or finger drag draws and attaches the area as before. The first arrow key draws the preset rectangle, after which arrows move it, Shift+arrows resize it and Enter attaches it; Enter before any area attaches nothing. There is still no separate Attach step. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
The quiet button beside ✓ at the foot of a thread's view in the floating panel said "On the page", which read as a fact about the thread rather than a press, while On me cards call the same trip "Show". It now says "Show on page", and "Show in message" (was "In its message") for a thread about a widget an agent sent in a message. Behaviour is unchanged; tests that find the button by name follow the new words. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
An lf-option with `for` showed a link to its block whose text was the raw
id ("§ off-t-resync"), with no tooltip. It now names the block as a
thread's § coordinate does, through the same `anchorLabel` (so
`sectionLabel`), e.g. "§ section · iOS reconnect stall", falling back to
the id only where no block answers to it, and carries a "Jump to § …"
title, the wording message references already use. The theme's record
that the link "reads as what it is — an id" is rewritten to the user's
choice of 23 October 2026.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
… words An option row's § reference read "§ section · iOS reconnect stall": the kind word a thread coordinate carries says nothing after § in a row. It now gives the block's name alone (`addressableLabel`, else its word, else the id where no block in the option's document answers), keeping the "Jump to § …" title. The reference stood in a zero-width, unwrappable table cell beside the words, so at 390px a named block squeezed the words into a column five lines tall. It now floats to the end of the words' last line where it fits there, and drops under them where it doesn't, so the words keep the row's width. Single-line rows look as before (same height, inset and centring on ship-review); a row whose words wrap now ends with the reference on its last line rather than centred on the row, and its words gain the column the cell took. options.css records the reversed choice. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Records what the prototype of design C found (branch on-me-card-prototype) and why it is parked: the gap it closes is rare. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
The leaf menu's Annotations listed the element picker, as "Select element", only where no keyboard was there to press `s`, so a mouse user who never learned `s` had no visible way to comment on a whole widget or picture (selecting words picks neither). The row is now "Comment on an element", with its `s` chip, and Annotations lists it for every pointer type, first in the list; the keyboard reference names the command the same way. Max chose this on 24 October 2026, over a row at the menu's top level. The target picker's header records the decision; the floating panel's rule hiding the row where a keyboard is present is gone, and the TODO line saying a finger can't reach it, already untrue, is dropped. Tests: Annotations now leads with this row, so → into the list lands on it rather than on Draw mode; the menu test asserts the row and its chip for a mouse; command-search and reference tests use the new words. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
# Conflicts: # dist/kernel/kernel.json
leaf-agent
approved these changes
Oct 24, 2026
max-sixty
added a commit
that referenced
this pull request
Oct 25, 2026
test_a_wait_takes_the_suites_deadline failed because two waits fixed their own deadline: the margin pins test's `timeout=8000` on the status notice (#3814) and the exhausted-watcher test's `changes.wait(mark, timeout=10)` (#3848). Each now takes the suite's deadline, SERVED_TIMEOUT_MS by default and STATED_TIMEOUT, so a slower host waits longer instead of failing. No product behavior changed. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
max-sixty
added a commit
that referenced
this pull request
Oct 31, 2026
… state fails (#4807) Fifteen `leaf-dev stills` catalogue states failed to capture on every run, base and head alike, so no stills comparison covered them, and nothing said so: the command printed a `failed` line per state and exited 0. They surfaced while comparing a cascade change across the full catalogue (#4805). ### The command now fails when a state does `leaf-dev stills` writes its whole report as before, `faces.txt` included, then exits 1 if any state failed. Its module header states the rule, and `test_stills.py`'s failed-driver and failed-analysis tests expect it. ### Thirteen drivers followed a UI that has since moved - **plan-option-picked, plan-option-card-picked:** an admitted pick is announced as "Chose “…”" since #4325, without the "— sent" the driver waited for. - **share-link, share-link-dark:** since #4291 a refused copy of the page's link opens About this page, where the link is read-only text, rather than a field under the menu's About group. The driver waits for the dialog's source reading, as page-about does, and the state frames the dialog's Page details. - **diff-filter, diff-filter-phone-dark:** #4323 dropped the file filter from a one-file diff, which `#pr-key-hunk` is; the states filter the walkthrough's 46-file `#pr-exact-patch`. - **worktree-summaries (three variants):** since #4724 `lf-worktree` slots its authored evidence into a shadow disclosure, and the evidence's own `<details>` also matched the driver's selector. It presses the widget's `.lf-worktree-summary`. - **plan-capture (four variants):** area capture opens with no rectangle until a drag draws one (#3814); `capture_menu` waits for the Capture area region, as the suite's `open_capture_area` does. ### The contents map has a page again #4724 moved the feature gallery's contents out of its sidebar into the reading flow, where it is a folded "On this page" disclosure, so no example drew the margin map: contents-over-reading failed, and contents-spine and four more states captured the disclosure instead. `tests/fixtures/pages/sidebar-contents.html` is a runbook laid out as the site's docs pages are (`.layout-sidebar` with the contents in `aside > .layout-track` beside a `.layout-column`), and all eight contents states read it. As a fixture page it also joins the corpus, which had no page drawing the map. The gallery's sentence about the map's rings goes, since its folded disclosure draws none. ### Checks - The 13 repaired states, the eight contents states and topic-contents captured on two consecutive runs; each new capture was read by eye (the filter at "0 of 46", the capture area mid-drag, the closed worktree row, the picked option, the focused link, the map at rest and revealed over the column). - `dev/tests/model/test_stills.py` passes, and fails with the new exit removed. The fixture passes `leaf page check --render` with no findings. The gallery's topic-contents sample still says its Full view draws the map, which it doesn't since #4724; that is left for its own change. > _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.
Six small fixes from a survey of places where Leaf hides the user's next action, each accepted by the maintainer on the survey page, plus a note parking a seventh.
tfrom a thread open in the panel opened the next thread's card but left the panel on the old thread, whose field then read "Thread 2 of 3"; walking into a panel thread left the previous card open. Every route that opens a thread by its id goes throughopenPageThread(thread/destination.js), so the fix is there and in the panel'sreveal: the panel closes its view of any thread when the page draws one, and closes the open card when it takes one.mis covered by the same path; touch routes never had the problem.ohides annotations, the empty page field leads with "Annotations hidden", including after a reload. The panel reads the overlay's hidden state through a readerleaf.jshands it (core can't import the overlay), and the flag became a signal so the field repaints.addressableLabel, with a "Jump to § …" tooltip; it drops under the words where both don't fit, so a phone row no longer squeezes the words into a column.notes/on-me-widget-cards.mdrecords a prototype of widgets drawing their own On me cards (branchon-me-card-prototype) and why it is parked.Behavior changed in each item above; tests that named the old words or asserted the old layout are updated, and new tests cover the walk, the hidden-annotations status and the option link's wrapping. Each change's header records the decision it reverses. Checked in Chromium and Firefox, desktop and phone width.