Repository navigation
Show a to-do's Done as one ticked circle wherever Leaf offers it - #4560
Merged
Merged
Conversation
Done had three faces: the word on a thread's to-do line and on its On me card, and ✓ in the panel row's way out of a to-do. The thread line was worded because ✓ is the thread head's Resolve, and the row's end takes only a symbol. Done now names its own symbol, a ticked circle as task apps draw a finished task, so it is one symbol on the thread line, the On me card and the row's end, and never reads as Resolve. `ACTIONS.done` points at the new `checked` icon; browser/AGENTS.md's example of ✓ now names resolve. Behavior: the Done buttons on a thread's to-do and on an On me card show the symbol with "Done" as tooltip and accessible name, rather than the word.
leaf-agent
approved these changes
Oct 28, 2026
max-sixty
added a commit
that referenced
this pull request
Oct 28, 2026
…4571) Several controls and marks drew a look of their own where Leaf already has one, so two controls of one kind stood side by side drawn differently, as a message's Edit did beside the thread's own controls. This moves each duplicate that has a canonical face onto it. **Symbols wear the symbol face** (`.lf-icon-action`), sized to their surface through `--lf-icon-action-face` where they need it: - The floating panel's Show, Undo, Find, Show on page, Resolve/Reopen and More room were `.lf-fp-icon-btn` presses in the panel's 72% ink with a 5% grey wash. They now rest in the muted ink and take the chip under the pointer, as the open thread's controls beside them do. Resolve and Reopen take the thread card's face, which the panel's copy had drifted from. - A recording's Play and Full screen, a heading's Copy link, and About this page's Copy. A symbol on Web Awesome's copy button draws its face on the host, and its inner button fills it, as a mark's already does; the host stretches Web Awesome's unparted wrapper so the button, its focus ring and its reach fill the face rather than shrinking to the 16px icon. A Copy symbol is 28px, so About this page's copy rows stand a few pixels taller. - lf-motion's Play draws Leaf's play and pause symbols (`showAction`) instead of an SVG it built and stroked itself. A toggled symbol, such as Find while it searches or More room while it widens, wears the toggle's selected face (the accent frame a word toggle wears) instead of only turning full ink. **Counts wear `.tag`**: lf-tally's count (`.tag.ok` once answered), and a tab's and a settled decision's count of changed passages, which share `.tag.lf-change-count`. They look as before; three hand copies of the chip are gone. **The unread dot is one class**, `.lf-unread-dot`, on a reply, a row of Threads, the On me mark and the folded leaf. Smaller moves: an activity row's link takes the page's link underline, the tab strip's edge presses draw the previous and next symbols rather than ‹ and › glyphs, and lf-file-editor's icons take Leaf's stroke. The comment in `controls.css` that exempted whole surfaces ("the floating panel keeps its own family") now exempts only the families that differ by task: the panel's rows, answers and row end, margin entries, reaction chips and the response bar. A to-do's Done on the On me card, which #4560 drew with `.lf-fp-icon-btn`, is a framed answer whose symbol the answer family now centres; it looks as it did on main. ### Overlap with other branches - `message-copy-markdown` moves the message controls (Edit, Copy, Add reaction, Discard) onto the symbol face. The generic Copy-symbol rule here makes that branch's `.lf-msg-copy` part rules redundant; whichever lands second drops them. - #4573 (`threads-panel-fixes`) changed the panel's Resolve/Reopen too; the panel's settle now wears the card's face, which carries #4573's tinted Reopen and neutral Resolve hover. ### Checked `pnpm run test:runtime`, `pnpm run check:browser`, `tests/browser/test_interact_layer.py`, about 25 focused browser tests on the panel, video controls, heading links, tabs, tally and the to-do's Done, and before/after hover captures of each moved control. > _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.
Done, the press that ends a to-do, had three faces: the word on a thread's to-do line and on its On me card, and ✓ at the end of the panel's row while the user stands on a to-do. The thread line was worded because ✓ there is the thread's Resolve, and the row's end takes only a symbol.
Done now names its own symbol, a ticked circle as task apps draw a finished task, so it shows one symbol on all three and never reads as Resolve's bare check.
ACTIONS.donepoints at the newcheckedicon inbrowser/runtime/icon-paths.js; the thread line (thread-card.js) and the On me card (floating-panel.js) draw it, andbrowser/AGENTS.md's example of ✓ now names resolve. Tooltip and accessible name still say Done.Checked:
pnpm run check,pnpm run test:runtime(694 pass), and the focused browser tests for the thread's to-do Done and the On me /xDone.