Skip to content

Set the user's turn, the Page Map's edge, About's report and On me's Done as the rest of Leaf sets them - #4855

Merged
max-sixty merged 21 commits into
mainfrom
list-ui-fixes
Oct 31, 2026
Merged

max-sixty merged 21 commits into
mainfrom
list-ui-fixes

Conversation

@max-sixty

@max-sixty max-sixty commented Oct 31, 2026 •

Copy link
Copy Markdown
Owner

A fresh reviewer, given only screenshots of 40 interface states on main and none of the code, listed what looked inconsistent. This change fixes the findings on Leaf's own surfaces that were defects. It leaves alone the ones the code records as the user's choice: the muted word presses (25 October) and the red italic for news (28 October). The packages' findings wait for their own change.

What changes on screen

  • The user's turn is green in Threads too. Threads said "Your turn" in the accent blue, while the margin and the Page Map paint the user's turn green, as browser/AGENTS.md ("Visual grammar") requires of every surface. Threads rows now carry the same data-lf-turn the margin entries and Page Map rows do, and one rule in base.css sets the row's closing word in --turn-ink. The Page Map's "Your turn" was grey on its green row and takes the same rule.
  • The Page Map has one left edge. The title and search stood at 15px and the group headings and row icons at 23px. The list now reaches into the sheet's padding by the rows' inset, as the command reference's does, so headings and icons start under the title and row ends stop at the search's edge.
  • About reads in order.
    • The version box loses the blank line under its text. It was the scrollbar room every pre keeps, and this text wraps instead of scrolling.
    • The unlabelled second copy of the fingerprint is gone. It was the menu's short form of the same text.
    • The notes on what the counts cover stand above the counts.
    • "Page sources and locations" shows only when the page has sources.
  • On me draws Done as the commit it is. A group's Done drew as one more option card ("Done / Finish choosing options"). It now wears the commit face beside Another option, with its description as its tooltip. A command row declares this with commits: true (module-input.md, "Command rows"), and lf-options and the playground declare it.
  • "recommended" has one face. On me's tag wore an outlined pill. It now wears the chip face and tint the option's tag wears on the page.
  • Smaller ones:
    • Threads' news line starts at the rows' dots.
    • Page search says "1 of 3", as every other walk does, and its count is widened to hold "99 of 99". The margin card's thread stepper keeps "1/3": it stands among the card's actions, and on a 311px phone " of " pushed them past the card's start (test_progress_disclosure_keeps_its_words_visible_beside_margin_paging on Linux).
    • In the leaf's menu, the status line is coloured only when the status asks the user to act, as the panel's row is. "Away" no longer stands amber over the row's grey "Away", and one rule replaces four.
    • The reaction marker in the margin wears the comments' single ring. Its own thicker border and shadow (Reveal reaction removal before undoing #542) kept a face a reaction no longer has.
    • On me keeps an option's description to two lines and shows the whole of it on hover.
    • A version row says its name and note as two words to a screen reader ("v2 Earlier draft", not "v2Earlier draft"), and its note once.

Checks

  • leaf-dev stills main over the 17 states these touch, each pair read.
  • A second fresh reviewer read the before/after pairs cold. It found that an earlier version of this change split About's fingerprint mid-hash; the value now moves whole to its own line, as it did on main. The violet Done it flagged is the corpus page's own accent.
  • A column lining up the Versions notes was tried and dropped: it opened a wide gap after "v2" and "v1" to make room for "v3 (latest version)".
  • The focused browser tests: About, page search, Versions, the margin's status and opening, Threads summaries, and On me with a new test for Done. Also pnpm run test:runtime, pnpm run check:browser, and the fonts and interact-layer model tests.

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

- Threads says "Your turn" in the turn's green, as the margin entry and
  Page Map paint the user's turn.
- Page Map's list reaches into the sheet's padding by its rows' inset,
  so group headings and row marks start under the title and search.
- Threads' news line starts where the rows' marks do, as a list heading.
- About: a copyable text fills its lines (no stranded "fingerprint:")
  and keeps no scrollbar room under them; the menu's terse value no
  longer repeats under each text, while the link's caveat moves to its
  `title`; what the CSS counts cover stands over the counts; "Page
  sources and locations" shows only when the page has sources.
- On me's `recommended` tag wears the chip face it wears on the page.
- A decision row may declare `commits: true`; On me draws such a press
  (a group's Done, a playground's submit) in the commit face, with its
  description as tooltip, instead of as one more described choice.
- The quick seat's Close keeps the whole seat as its reach, but its face,
  and so its wash, is the symbol's square at the seat's end.
- Page search and a margin preview say where the user stands as
  "1 of 3", as every walk does, rather than "1/3".
- Versions set their names in one column, so every note starts on one
  edge, the latest version's included.
Threads rows carry the margin's and Page Map's own data-lf-turn, and one
rule in base.css inks the word ending a Threads or Page Map row in the
turn's green, so the Page Map's "Your turn" no longer stands muted while
Threads says it green.
…nswers

The versions' label is a subgrid of the name and note columns rather than
display: contents, so it keeps a box a press can land on. On me's commit
takes the answers' press height inside its contour.
A column as wide as "v3 (latest version)" parted v2's and v1's names
from their notes by that width, which read worse than notes that form no
column. The versions list is back to main's layout.
# Conflicts:
#	dist/kernel/kernel.json
The leaf's menu painted its status line in its tone's ink whatever the
status said, so "Away" stood amber over the row's grey "Away". The line
now takes the row's rule: its tone's ink where the status asks the user
to act, the danger's where it reports a server the page can't reach, and
ink where it only reports. One rule on the panel's own `--lf-fp-asks`
replaces the four tone rules, and the menu head drops the `data-tone`
nothing reads now. The colour stood in for a tone word, a premise that
lapsed once each line named its state ("Codex away"); the header says so.

The menu-head test now expects a working status that only reports to read
in ink rather than the accent.
A reaction's margin mark opens to reveal its Remove, so it is a
disclosure, but it wore an action's face: a 2px beige ring and a lift,
apart from the comment and question marks beside it. #542 kept that face
when the mark stopped being an immediate eraser, so the face users knew
would not change under them. That premise has lapsed, and the margin's
grammar beside it gives a disclosure one firmer ring and no lift. Deleting
the override gives the mark that face; opening it still takes the shared
disclosure accent, so its face is the same open as under the pointer.
On me keeps a described choice to two lines of what it gives, which can
cut the agent's reason mid-sentence. The description's words now carry
their whole text as a tooltip, as a version's note in Versions does.
The title stands on the words rather than the press: the press's
accessible name already holds them, and Chromium reads a title there as
the press's description, so a screen reader heard the words twice. On
the words it changes neither the name nor the description; the test
holds both.
A version row's press read its name and note run together ("v2Earlier
draft"), and its title repeated the note as the press's description. A
word space now stands before the note, which the margin's gap absorbs,
and the note carries its own title, so hovering the cut words still shows
them whole.
…er its name

Breaking anywhere kept "fingerprint:" on its hash's line by splitting the
hash. The value now moves whole to the next line, as before, and every
line a wrap continues stands 2ch in (text-indent: hanging each-line), so a
wrapped fingerprint reads as the value of the name above it.
…ast digit onto a line of its own

The 2ch the indent takes is more than a 71-character fingerprint has to
spare, so the value moves whole to the next line unindented, as it did.
# Conflicts:
#	browser/styles/floating-panel.css
#	dist/kernel/kernel.json
leaf-agent
leaf-agent previously approved these changes Oct 31, 2026
# Conflicts:
#	dist/kernel/kernel.json
leaf-agent
leaf-agent previously approved these changes Oct 31, 2026
The stepper stands on the card's actions line. On a 311px phone that line already
leaves the message heads no room, and " of " made the stepper 12px wider. Under
Linux's fonts that pushed the actions 0.7px past the start of the card's heads, and
test_progress_disclosure_keeps_its_words_visible_beside_margin_paging[311-True]
failed in CI. Page search keeps "1 of 3".
# Conflicts:
#	dist/kernel/kernel.json
# Conflicts:
#	dist/kernel/kernel.json
@max-sixty
max-sixty merged commit aee55af into main Oct 31, 2026
4 checks passed
@max-sixty
max-sixty deleted the list-ui-fixes branch October 31, 2026 22:54
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