Repository navigation
Show a control's symbol only where a standard one exists, and its word otherwise - #4335
Merged
Merged
Conversation
Max's rule, as he restated it on 2026-10-25: "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 that the rule was meant to stop. The same evening 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, just not for answering. The rule in `browser/AGENTS.md`, "Visual grammar", now says a symbol is used where a standard one exists for the action, meaning one readers know for it from other software, and the word is used 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 has no hover. The few-controls half is unchanged. What Max said, from Claude Code and Codex transcripts: - 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, 2026-10-22, 2026-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. > _This was written by Claude Code on behalf of max-sixty_ Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…survey # Conflicts: # browser/AGENTS.md
leaf-agent
approved these changes
Oct 27, 2026
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'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.What Max said, from Claude Code and Codex transcripts