Skip to content

Mark a draft by colour, not a dashed line - #6144

Merged
max-sixty merged 2 commits into
mainfrom
draft-marker-colour
Nov 16, 2026
Merged

max-sixty merged 2 commits into
mainfrom
draft-marker-colour

Conversation

@max-sixty

Copy link
Copy Markdown
Owner

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_about now 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.

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

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_
@max-sixty
max-sixty merged commit 149cb4d into main Nov 16, 2026
5 checks passed
@max-sixty
max-sixty deleted the draft-marker-colour branch November 16, 2026 08:30
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