Skip to content

Close the tally's small gaps: a sticky phone header, named undos, m's scope, the open mark's words - #3271

Merged
max-sixty merged 5 commits into
mainfrom
agent-a547f5c239e2f1230
Oct 20, 2026
Merged

max-sixty merged 5 commits into
mainfrom
agent-a547f5c239e2f1230

Conversation

@max-sixty

Copy link
Copy Markdown
Owner

Closes the four gaps TODO.md's "Close the tally's small gaps" listed for a queue workspace, each where it is owned.

  • Phone header. On a phone the workspace flows and the page scrolls, so after the tally's Next on me the header, tally included, scrolled away and the next press needed a scroll back. Where the window is too small to be the screen (under 720px wide or 480px tall), the workspace header now sticks at the window's top (layouts.css). What it stands over adds its height to the sticky-header slot --lf-top, passed down as --lf-workspace-top. Prepaint's residency measures the height and writes it as --lf-layout-head-h, as it already does for a page of parts' title, and content-layout.js re-reads it when the header resizes. A landing therefore clears the header, a tab set's strip in the body sticks under it, and the Next control stays under the pointer that pressed it.
  • Undo's name. Undo announced "Undid the latest update". A widget's dispatch now takes says, the gesture's name in the widget's words. Leaf acknowledges the gesture by it ("Chose “Fast” — sent") and announces its undo by the same name ("Undid: Chose “Fast” — sent"); z's description in the command reference says it too. The options, board, draft, visual-review and playground widgets pass says in place of posting their own notice. Adding an option now acknowledges the add and the pick separately, since each is undone separately. The name lives with the tab that made the gesture, as an undo's reversal already does: after a reload the undo is announced by its kind, as before.
  • m's help text. m read "Next on me", the same name as a tally's Next on me, which walks only its region. Its routes now say they go to the next or previous of everything waiting on me, anywhere on the page.
  • The ○ legend. A queue row's ○ had no legend. The row now says "To answer" beside it, the tally's words, as an answered row says its answer beside the check; the tab's description says the same in place of "Unanswered".

leaf-dev stills gains alert-queue-tally-touch and its dark twin, the phone after Next on me, where the header now stays in view. Tests: a new phone workspace test (fails without the sticky header and without the slot's own name), row-word and undo-name assertions in test_tabs.py, the side-list journey's expected text, and pnpm run test:runtime.

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

max-sixty and others added 4 commits October 19, 2026 23:40
… scope, the open mark's words

A queue's workspace had four small gaps, each fixed where it is owned.

- On a phone the workspace flows and the page scrolls, so after the tally's
  Next on me the header, tally included, scrolled away and the next press
  needed a scroll back. Where the window is too small to be the screen, the
  workspace header now sticks at the window's top (layouts.css). What it
  stands over adds its height to the sticky-header slot `--lf-top`, which
  prepaint's residency writes as `--lf-layout-head-h`, since no CSS reads a
  box's height. A landing therefore clears the header, and the Next control
  stays under the pointer that pressed it. The page's tab strip and a part's
  title use the same slot.
- Undo announced "Undid the latest update". A widget's dispatch now takes
  `says`, the gesture's name in the widget's words. Leaf acknowledges the
  gesture by it ("Chose “Fast” — sent") and announces its undo by the same
  name ("Undid: Chose “Fast” — sent"); `z`'s description says it too. The
  options, board, draft, visual-review and playground widgets pass `says`
  in place of posting their own notice. Adding an option now acknowledges
  the add and the pick separately, since each is undone separately. After a
  reload the name is gone, and the undo is announced by its kind, as
  before.
- `m` read "Next on me", the same name as a tally's Next on me, which walks
  only its region. Its routes now say they go to the next or previous of
  everything waiting on me, anywhere on the page.
- A queue row's ○ had no legend. The row now says "To answer" beside it, the
  tally's words, as an answered row says its answer beside the check; the
  tab's description says the same in place of "Unanswered".

> _This was written by Claude Code on behalf of max-sixty_

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
A tab set standing in a phone workspace's body names its own slot
predecessor --lf-top-outer, so the workspace's use of the same name made
the two declarations a cycle and the set's strip stuck at 0, behind the
header. The workspace now passes its slot as --lf-workspace-top.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
leaf-agent
leaf-agent previously approved these changes Oct 20, 2026
@max-sixty
max-sixty merged commit ae7045c into main Oct 20, 2026
3 checks passed
@max-sixty
max-sixty deleted the agent-a547f5c239e2f1230 branch October 20, 2026 07:11
max-sixty added a commit that referenced this pull request Oct 20, 2026
… failures (#3305)

`test_page_fixture_renders` failed on main for ten corpus pages with
three kinds of finding. Each is fixed at its owner; all ten cases pass
here, run one at a time.

- **Workspace header past the column** (alert-review, data-explorer,
rust-sort, wt-merge, at 360-680px). Under 720px wide or 480px tall the
workspace header sticks at the window's top and covers the 12px gutters
beside it (#3271). It covered them by widening its box with
`margin-inline: -12px` and padding its content back in, so its box stood
12px past the column. #3300's width sweep reported it. The header now
paints its ground over the gutters as two shadows offset by the gutter's
width, which the workspace names once as `--lf-workspace-gutter` for
both its padding and the shadows. Screenshots of the stuck header at
360, 390, 540 and 680px in both schemes, at 800x400, and in Firefox at
390px are pixel-identical to main. A tap in a gutter beside the stuck
header now lands on the workspace's own padding rather than the header,
and neither does anything.
- **A thread opening that never answered** (feature-gallery, and the
corpus page that embeds it: 120 s, then a failure). The render gate
opens each thread whose messages carry markup with `travel: false`. The
gallery's workshop thread has its passage in the Threads tab, which the
page doesn't open on. The floating panel declines a thread about a
passage, so the margin card took it, and the card's placement waited for
a margin row the closed tab hid. `travel: false` promises to keep the
page where it is while revealing the destination; the card path was the
one path that skipped the reveal (`thread/destination.js`). It now
reveals a hidden passage first, unless the caller passes `scroll:
false`, since switching tabs scrolls the strip to the new tab's name.
Where the passage stays hidden, by a closed tab under `scroll: false` or
by the page itself (`hidden`, `visibility: hidden`), as the card reads
it (`visibleTargetParts`), the card has nothing to stand beside, so the
opening leaves the thread to the floating panel, as it does for any
thread nothing on the page shows. Such an opening had waited forever. A
passage already in view is not revealed, so an open tab's strip stays
where the user scrolled it.
- **Held scrollers** (code-comparison, root-parts, the feature gallery's
page-of-parts sample). A page of parts' list sticks under the title at
the window's height and scrolls its own names (#3198), as a sticking
block does, but didn't declare `--lf-holds-height: 1`. It now does.
Nothing it draws changes.

Tests: the phone workspace test now asserts nothing stands past the
column with the header stuck.
`test_opening_a_thread_reveals_its_closed_tab` covers both opening
routes, `test_a_thread_whose_passage_stays_hidden_opens_in_the_panel`
the closed tab under `scroll: false` and a passage the page hides, and
`test_a_thread_in_view_opens_beside_it_and_leaves_the_tab_strip` the
strip. Each fails with its part of the fix removed. `pnpm run
test:runtime` passes.

The card's placement itself still waits for a passage that is never
drawn when it is opened outside `openPageThread`, as when a revision
moves an open card's passage into a closed tab (`margin-projection.js`
calls `showPreview` directly there). Letting the card answer "can't
stand here" would end that wait at its owner, but a travelling opening
opens the card before its trip reveals the passage, so "not drawn now"
means "can't stand" only once the trip reveals first, which moves where
it captures its return place. That reordering isn't part of this change.

review-queue's and rust-sort's resize journeys each failed once under
load with a keyboard stop 1px off after a resize, and passed on every
other run (review-queue 4 of 5).

> _This was written by Claude Code on behalf of max-sixty_

---------

Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
max-sixty added a commit that referenced this pull request Oct 21, 2026
…side it (#3396)

A survey of `notes/` against the code and history at d91b67b. Where a
note's design has landed, its contract moves beside the code if it
wasn't already there, and the note or section goes; what is still
unresolved stays.

- **Deleted:** `floating-panel/GOAL.md` (every departure is now recorded
in `floating-panel.js` and `styles/floating-panel.css`; #3392 moved the
last one, the draft posture, beside `drafted`, and this adds the
no-key-hints decision to the header), `browser-reactivity.md` (its
design is in module headers; why paints that must land in the turn use
`render` moves to `assets/AGENTS.md`, and the margin's double draw
becomes a TODO implementation candidate) and `chrome-and-covers.md`
(`page-layout.md` holds the workspace decision; the `layouts.css`
Workspace comment now records the rejected main-region-scrolls design).
- **Trimmed:** `agent-usability-evals.md` drops the findings through
2026-10-12, which have landed. `comparisons.md` drops the phone-pin
finding (#2680), the 4 October follow-up proposals and two landed
lessons. `user-feedback-responsiveness.md` narrows delegated work to
Codex and Pi (#3370) and drops "Explicit stdin" (#3375). `threads.md`
drops request buttons (#1327), placement (#2134) and notification
transitions. `shared-decisions.md` points at the recorded owner
contract. `browser-support.md` drops two fixed entries and owners #3100
removed.
- **TODO.md** follows each: #28 points at the module header, #25 asks
for the board's write rather than an owner, the annotation-placement
item loses its landed phone half, and the delegated-work and
reply-budget items lose what #3370 and #3372 settled.
- Smaller corrections in `shift-watch-cost`, `undo-reach` (#3271),
`named-widget-interfaces`, `codex-integration` (`codex_tool.py`), the
long-read eval's provenance comment, and `motion.js`'s fold comment. The
runtime comment edits rebuild `kernel.json` only.

No behavior changes.

> _This was written by Claude Code on behalf of max-sixty_

---------

Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
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