Repository navigation
Conversation
#6417 added `savedAt` reading placement through `placement()` and `reads`, which #6413 replaced with placement's version as the two landed together, so on main a collection of the margin with a saved draft threw a ReferenceError and the type check failed. It now settles placement and reads its version as `placedAt` does.
max-sixty
added a commit
that referenced
this pull request
Nov 18, 2026
…6424) A picked option now stands on a neutral grey, the card mixed 18% toward the settled colour, instead of the chips' beige ground it took after #6098. On the reading theme that beige has three times the paper's chroma (OKLCH 0.937 / 0.017 against the card's 0.997 / 0.005), so across a whole card it reads as khaki, and as olive under the pointer right after the click. It also sat level with the pointer's grey wash, so a picked card differed from a hovered one only in hue, and a plain chip on the picked card lost its ground. Just picked, pointer still on the card, before → after (light, then dark): <img src="https://gist.githubusercontent.com/max-sixty/d9a0a9cafabfb36461ed5e4de524ecdc/raw/1cb714e936ce0b393496951be6aa04fa1a9e785b/picked-light-before.png" width="380"> <img src="https://gist.githubusercontent.com/max-sixty/d9a0a9cafabfb36461ed5e4de524ecdc/raw/1cb714e936ce0b393496951be6aa04fa1a9e785b/picked-light-after.png" width="380"> <img src="https://gist.githubusercontent.com/max-sixty/d9a0a9cafabfb36461ed5e4de524ecdc/raw/1cb714e936ce0b393496951be6aa04fa1a9e785b/picked-dark-before.png" width="380"> <img src="https://gist.githubusercontent.com/max-sixty/d9a0a9cafabfb36461ed5e4de524ecdc/raw/1cb714e936ce0b393496951be6aa04fa1a9e785b/picked-dark-after.png" width="380"> Worth weighing: the fill stays, rather than a ring alone, because with the keyboard on a group the blue focus ring covers the pick's ring and a digit replaces its check, so the fill is the only thing left saying which card is picked. The grey is a step deeper than the pointer's wash for that reason, which makes the picked card under the pointer the heaviest block on the page. An opened settled group now washes a hovered option in the same grey as a live one, and a picked card standing alone takes the picked ground too, so the pick is never the one card without a fill. The settled tint stays on answers, Done and the thread summary region (#6379). Max asked whether the brownish pick was intended; it came from reusing the chip token. The grey follows his lean away from it and is his to reverse. Tests: the picked-cell ring test now measures the ring against the cell's own ground, and still fails with the ring removed; `leaf-dev stills` shows only option picks and the settled hover changing. The `test` job's browser type check fails on the undefined `placement` and `reads` in `browser/runtime/anchor-placement.js`, inherited from main, which #6420 and #6422 fix. > _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.
Main is broken: #6417 added
savedAtinanchor-placement.jsreading placement throughplacement()andreads, which #6413 replaced with placement's version, and the two landed one after the other. On main, collecting the margin with a saved comment draft throwsReferenceError: placement is not defined, andpnpm run check:browserfails. This reads placement asplacedAtdoes: settle, the version signal for a drawing view, then the version.Tests:
pnpm run check:browserpasses again;tests/runtime/anchor-placement.test.mjsandannotation-inventory.test.mjspass (neither drivessavedAtagainst a real placement, which is why both passed on main too).