Repository navigation
State the rule that Leaf's controls prefer symbols to words - #3914
Merged
Merged
Conversation
Max has asked for symbols over words on controls several times, and agents kept adding labelled buttons because nothing written said so. The rule joins "Visual grammar" in browser/AGENTS.md, the list of design rules for everything Leaf draws, which packages/AGENTS.md and /ui-sweep already point at. developing-leaf's pointer to the glossary, read before writing any label, now points at it too. The rule's wording follows what Max said: - 2026-10-09 (Codex goal edit): "The main issue with the proposals is they look like a cockpit — there are so many symbols." Hence: symbols don't license more controls. - 2026-10-20 (Claude, resolve-tick): "We prefer symbols than words generally because they're smaller; a bit more elegant, it draws focus to the words of the page rather than the words of the UI." He then had "✓ Resolve" become a bare tick (#3488). - 2026-10-22 (Codex): "a single button that is play / pause; without words. I generally dislike our inclination to add lots of buttons and refuse to use symbols..." - 2026-10-24 (Claude, message-editor-header-cover): "possibly use symbols rather than words, for conciseness". Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
leaf-agent
approved these changes
Oct 25, 2026
max-sixty
added a commit
that referenced
this pull request
Oct 26, 2026
Max chose (2026-10-25) a symbol for On me's grouping and On <agent>'s layout chooser, as Leaf's controls prefer symbols to words (#3914). Each is now an `arrange` icon, three shortening lines, over the platform's own select, which stands unseen on it and takes the press: a key, a pointer and a finger open its list of words as before, and the tooltip names the choice. He also chose that a resolved thread's unread message says nothing new: Threads writes New, and draws the news dot, only on an open thread (`isNews`), as the On me mark's dot counts. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
max-sixty
added a commit
that referenced
this pull request
Oct 27, 2026
…d otherwise (#4335) Max's rule, as he restated it on 2026-10-25, is "don't add lots of buttons, prefer standard symbols iff they exist". #3914 wrote the second half as "a symbol rather than a word where a familiar symbol says what it does", and that wording let a control through. The Catch up deck's Reply control, for a question answered in words, was drawn as a bare speech bubble with "Reply" in its tooltip. Max couldn't tell it was how to answer ("this must be the 3rd or 4th time that I've said that it's unclear what the user should do here"), and the session that drew it said it "took 'prefer symbols' too literally, on the one control that most needed words". A speech bubble is familiar, but not as a symbol for answering. The rule in `browser/AGENTS.md`, "Visual grammar", now says a control shows a symbol where a standard one exists for its action, meaning one readers already know for it from other software, and its word where none does. It names the speech-bubble case, and says why a tooltip doesn't make a merely related symbol clear: the reader has to suspect the control before hovering it, and touch screens have no hover. The few-controls half is unchanged. The package authors' reference (`module-authoring.md`) already uses the same "standard symbol" condition on main. <details><summary>What Max said, from Claude Code and Codex transcripts</summary> - 2026-08-28 (Codex): reactions are "too much, too many buttons". - 2026-08-30 (Codex): show an external link "with a standard external symbol". - 2026-09-02 (Codex): "it should be more symbolic, not a word". - 2026-09-06 (Codex): replace action buttons "with symbols like this, rather than text"; a Resolve symbol "looks complicated; try and find something simpler (even the tick)". - 2026-09-21 (Codex): "I liked the original comment box, with the symbol rather than 'Send'… the tick for resolve & cross for close; those should be *simpler* and smaller than the words". - 2026-10-09 (Codex): proposals "look like a cockpit — there are so many symbols". - 2026-10-20, 10-22, 10-24: as quoted in #3914. - 2026-10-25: "should we reduce the surface area of Leaf's UI so we don't have so many choices?"; "we should always be using the standard copy symbol"; "a reset button (as a symbol, as should be standard in leaf)"; "prefer standard symbols iff they exist". - 2026-10-26: the Reply speech bubble, above. </details> > _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 27, 2026
…ymbols Max asked for a symbol in place of the thread view's "Show on page", and a survey of the worded controls whose action has a standard symbol. Show on page (and Show in message) now draws a map's locate mark, a ring with a centre dot and four ticks, which readers know as "show me where this is"; its name stays the tooltip and accessible name. The same symbol replaces the word on the two controls that do the same thing: the On me card's Show and About this page's observation rows. The survey also turned these into the symbols the rule names or Leaf already used: On me's Undo (the undo arrow), lf-timeline's Previous and Next (the chevrons), Retry in lf-diff, lf-file-editor and About's source inspection (the retry arrow lf-draft already drew), lf-trace's typed "−" and "+" and lf-shot's typed "…" (Leaf's subtract, add and more icons). A message rewrite and lf-draft now share Save and Discard: the save mark and the cross. The rewrite drew Discard as the undo arrow, which is only related to discarding, and lf-draft drew Save as the check, which is Resolve and Done elsewhere in Leaf. `browser/AGENTS.md`, "Visual grammar", already held the rule (#3914, #4335). What the survey kept finding was one action with a symbol in one place and a word in another, so the rule now says an action shows one symbol, or one word, wherever Leaf offers it. Behavior changes: the thread view's Show on page carries the class `lf-fp-on-page` (the On me card keeps `lf-fp-show`), and tests find these controls by accessible name rather than by their text. The timeline's controls row is about 6 px shorter. The timeline's and lf-shot's first-paint bundles now carry the icon table, as the playground's and motion's already do; lf-shot's build-time entry hands it to the view, since shot-view.js also loads at run time and can't import it there. > _This was written by Claude Code on behalf of max-sixty_ Co-Authored-By: Claude Opus 5.5 <[email protected]>
max-sixty
added a commit
that referenced
this pull request
Oct 27, 2026
…ymbols (#4514) The thread view's "Show on page" is now a symbol, and a survey of Leaf's worded controls turned the others whose action has a standard symbol into that symbol. Show on page (and Show in message) draws a map's locate mark, a ring with a centre dot and four ticks, which readers know as "show me where this is"; its name stays the tooltip and accessible name. The same symbol replaces the word on the two controls that do the same thing: the On me card's Show and About this page's observation rows. The survey also turned these into the symbols the rule names or Leaf already used: - On me's Undo: the undo arrow. - `lf-timeline`'s Previous and Next: the chevrons. - Retry in `lf-diff`, `lf-file-editor` and About's source inspection: the retry arrow `lf-draft` already drew. - `lf-trace`'s typed "−" and "+", and `lf-shot`'s typed "…": Leaf's subtract, add and more icons. A margin card's Reopen is now the done check, as a card's head and the floating panel already drew the Resolve/Reopen toggle; Reopen (or "✓ Resolved by <agent> · Reopen") stays its tooltip and accessible name, and `thread-card.js`'s `#settlement` loses the place parameter that chose between word and symbol. A message rewrite and `lf-draft` now share Save and Discard: the save mark and the cross. The rewrite drew Discard as the undo arrow, which is only related to discarding, and `lf-draft` drew Save as the check, which is Resolve and Done elsewhere in Leaf. `browser/AGENTS.md`, "Visual grammar", already held the rule (#3914, #4335). What the survey kept finding was one action with a symbol in one place and a word in another, so the rule now says an action shows one symbol, or one word, wherever Leaf offers it. Behavior changes: the thread view's Show on page carries the class `lf-fp-on-page` (the On me card keeps `lf-fp-show`), and tests find these controls by accessible name rather than by their text. The timeline's controls row is about 6 px shorter. The timeline's and `lf-shot`'s first-paint bundles now carry the icon table, as the playground's and motion's already do; `lf-shot`'s build-time entry hands it to the view, since `shot-view.js` also loads at run time and can't import it there. > _This was written by Claude Code on behalf of max-sixty_ --------- Co-authored-by: Claude Opus 5.5 <[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.
Max has asked several times for symbols rather than words on controls, but no written rule said so, and agents kept adding labelled buttons. The rule now sits under "Visual grammar" in
browser/AGENTS.md, the list of design rules for everything Leaf draws.packages/AGENTS.mdand/ui-sweepalready point there.developing-leafsends agents to the glossary before they write any label, and that pointer now links the new rule too.The rule's wording follows what Max said: