Repository navigation
Mark a draft by colour, not a dashed line - #6144
Merged
Merged
Conversation
Max asked for drafts to read in a dim colour rather than a dotted line, which he didn't expect in Leaf's interface. - A draft's margin entry, in the rail and as a pin, keeps the solid contour every entry wears and draws its glyph in the muted grey the On Me mark's dot already wears for a draft, so it reads apart from a thread's entry in the thread's colour. It wore a dashed contour since #6091. - Unsent ink whose comment box is put away, or whose element a revision took away, keeps the accent at 60% stroke opacity instead of a dashed stroke. Grey ink was tried first and read as a strikethrough in the page's own text. - browser/AGENTS.md's "Contours are solid" no longer names a draft among the states a dashed line marks; the glossary no longer calls the entry dashed. Behavior change in tests: `test_a_draft_stands_in_the_margin_where_it_is_about` asserted the dashed contour; it now asserts a draft's glyph differs in colour from its thread's entry (fails with the draft given the thread's colour). > _This was written by Claude Code on behalf of max-sixty_
leaf-agent
approved these changes
Nov 16, 2026
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 asked for drafts to read in a dim colour rather than a dotted line, which he didn't expect in Leaf's interface. A draft's margin entry (rail and pin) now keeps the solid contour every entry wears and draws its glyph in the muted grey the On Me mark's dot already uses for a draft, so it reads apart from a thread's entry in the thread's colour. It had worn a dashed contour since #6091.
Unsent drawing ink with its comment box put away (or its element gone after a revision) was the other dashed draft; it now keeps the accent at 60% stroke opacity. Grey ink was tried first and read as a strikethrough in the page's text, so this one stays blue.
browser/AGENTS.md's "Contours are solid" no longer lists a draft among the states a dashed line marks.Before/after stills (light and dark rail, pin, ink) were checked, and a fresh-context reviewer read them; its finding on grey ink is what moved the ink to dimmed accent. Tests:
test_a_draft_stands_in_the_margin_where_it_is_aboutnow asserts a draft's glyph colour differs from its thread's (it fails when the draft takes the thread's colour), plus the drafts and parked-drawing selections and pre-commit.