Skip to content

Show a margin label only when the user points at its entry, not after m - #5113

Merged
max-sixty merged 3 commits into
mainfrom
stray-hover-after-m
Nov 3, 2026
Merged

max-sixty merged 3 commits into
mainfrom
stray-hover-after-m

Conversation

@max-sixty

@max-sixty max-sixty commented Nov 3, 2026 •

Copy link
Copy Markdown
Owner

Since #4786, an On me marker whose target the user stood on showed its label as though hovered. After m reached an lf-ask, a tooltip repeating the ask's heading sat beside it, over the first option's 1 badge, with no pointer or focus on the marker. It reproduced in Firefox and Chromium on main, every time m arrived at an ask or a to-do.

Before After
After m on main: a dark label repeating the ask's heading sits under the ? marker, over option 1's badge After m on this branch: no label

#4786 was written for a to-do on the user, whose subject doesn't say its title (#4785). #4866 had already covered that case a day earlier: m on a to-do opens On me on its card, which shows the whole title over its Done. So this removes the selected-marker reveal entirely: its CSS, its term in revealsLabel, and the label placement that selection scheduled. A margin label again shows only on hover, keyboard focus on the entry, or a held press. The user chose to keep a to-do's title in On me only, and to leave the browser's own hover alone when a scroll brings a marker under a resting pointer.

Tests: the m-arrival test on two asks now asserts the label stays hidden after the walk paints its selection, and that hovering the marker still shows it; it fails on main. The to-do tests no longer expect the label after m or Show. The on-me-todo-dark still goes, since it existed for the label in dark; on-me-todo stays for On me opened on a to-do's card. The focused browser tests, pnpm run test:runtime and pnpm run check:browser pass.

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

… `m`

Since #4786, an On me marker whose target the user stood on showed its label
as though hovered. After `m` reached an `lf-ask`, a tooltip repeating the
ask's heading sat beside it, over the first option's key badge, until the
user moved on. In Firefox and Chromium, `m` on a page with an open ask left
that label visible with no pointer or focus on the marker.

#4786 was written for a to-do on the user, whose subject doesn't say its
title. #4866 already covers that case: `m` on a to-do opens On me on its card,
which shows the whole title over its Done. So this removes the selected-marker
reveal entirely: its CSS, its term in `revealsLabel`, and the label placement
that selection scheduled. A margin label again shows only on hover, keyboard
focus on the entry, or a held press.

Tests: the `m`-arrival test on two asks now asserts the label stays hidden
after the walk paints its selection, and that hovering the marker still shows
it (it fails on main). The to-do tests no longer expect the label after `m`
or Show. The `on-me-todo-dark` still goes, since it existed for the label in
dark; `on-me-todo` stays for On me opened on a to-do's card.
leaf-agent
leaf-agent previously approved these changes Nov 3, 2026
@max-sixty
max-sixty merged commit baedb6f into main Nov 3, 2026
4 checks passed
@max-sixty
max-sixty deleted the stray-hover-after-m branch November 3, 2026 04:32
max-sixty added a commit that referenced this pull request Nov 3, 2026
Main's changes kept, with the branch's intent applied on top:

- #5116 draws the location ring as a mark over the decision and states where a
  box's marks stand in `--lf-ring-at`. The proxy ring stands on the same model:
  both are the focus ring drawn as a mark over what it rings, sharing one CSS
  rule for their box, their whole band and a drawn part's contour ink, and both
  stand where the ringed thing's `--lf-ring-at` says, through `standOver`. The
  location painter joins the trace painters in target-paint.js, and a layout
  change or scroll relocates it before moving the traces. On me's cards state
  their inset ring as `--lf-ring-at`; the ring sweep counts the proxy ring as
  the focus cue it carries.
- #5113's narrower margin-label rule is kept on the margin face's class.
max-sixty added a commit that referenced this pull request Nov 3, 2026
…ng (#5224)

Corrects the reason a comment gives for raising the margin marker of the
decision the user stands in above the location ring. No behaviour
changes.

#5116 raised that marker because its label showed at rest beside the
ring, and the ring ran through the label's words. #5113, which landed
just before #5116, stopped showing that label at rest, so the comment in
`annotation-chrome.css` gave a reason that no longer holds. The raise
still matters for the marker itself: where a decision reaches the margin
column, the marker stands across the ring. After `m` on `pr-walkthrough`
at 1280x800, the approval decision's ring runs at x 1218–1220 and its
marker spans 1216–1242. The comment now says that, and the note on the
raised z-index level in `tokens.css` names this case too.

> _This was written by Claude Code on behalf of max-sixty_
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