Skip to content

Show nesting in the target picker's hints again, from outside the targets - #2718

Merged
max-sixty merged 2 commits into
mainfrom
nested-hint-indent
Oct 13, 2026
Merged

max-sixty merged 2 commits into
mainfrom
nested-hint-indent

Conversation

@max-sixty

Copy link
Copy Markdown
Owner

The target picker's chips once stepped right inside each target, one step per enclosing member (db2dd20), so a group's chip and its members' chips read as an outline. #2159 moved every chip outside its target to stop it covering the member's icon and first words, and the step went with it: nested targets sharing a left edge, such as an lf-options group and its options, put their chips in one flush column.

A before seat now steps out once per level of nesting it has below the deepest before seat in its own tree, the targets its outermost enclosing target holds (nestOutsets, hints.js). The deepest chips stand where they did, each container's chip stands a step left of its members', no chip crosses into its own target, and a target in no nest keeps its chip beside it. The step is 10px and narrows to fit the outermost chips in the gutter, down to 4px; a chip the window already clamps does not narrow it. Only the target picker seats chips before their targets, so the Go-to map is unchanged.

Where the gutter is narrower than about 24px, the window edge still clamps every level together, as before. Seating stays a pure fold over rectangles already read; on a synthetic 300-hint map the whole fold runs in 3 ms against 9 ms before, because stepped chips collide less.

The containment test now asserts the child's chip stands right of its container's, which it never did while its name claimed it.

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

max-sixty and others added 2 commits October 12, 2026 17:47
…gets

The target picker's chips once stepped right inside each target, one step
per enclosing member (db2dd20), so a group's chip and its members' chips
read as an outline. #2159 moved every chip outside its target to stop it
covering the member's icon and first words, and the step went with it:
nested targets sharing a left edge, such as an lf-options group and its
options, now put their chips in one flush column.

A before seat now steps out once per level of nesting it has below the
deepest before seat in its own tree, the targets its outermost enclosing
target holds (`nestOutsets`, hints.js). The deepest chips stand where they
did, each container's chip stands a step left of its members', no chip
crosses into its own target, and a target in no nest keeps its chip
beside it. The step is 10px and narrows to fit the outermost chips in the
gutter, down to 4px; a chip the window already clamps does not narrow it.

The containment test now asserts the child's chip stands right of its
container's, which it never did while its name claimed it.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
@max-sixty
max-sixty merged commit 30f5b25 into main Oct 13, 2026
3 checks passed
@max-sixty
max-sixty deleted the nested-hint-indent branch October 13, 2026 02:53
max-sixty added a commit that referenced this pull request Oct 13, 2026
No conflicts, and no new non-glossary "standing"; apply.py has nothing left to
apply on the merged tree.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
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