Skip to content

Collapse plot axes only, with the disclosure leftmost on every head - #561

Draft
thebhef wants to merge 1 commit into
fix-logger-now-per-filefrom
task166-axis-collapse
Draft

thebhef wants to merge 1 commit into
fix-logger-now-per-filefrom
task166-axis-collapse

Conversation

@thebhef

@thebhef thebhef commented Oct 15, 2026

Copy link
Copy Markdown
Owner

Collapse now exists at the axis level and nowhere else. The plot-area
collapsed flag, its toggle, the "only the first axis of a collapsed
area renders" filter and the area-only chips are gone; a project that
still carries collapsed: true on an area drops the key on read and
opens the area expanded (no migration, no legacy path).

Every derived axis head, unified mode's single axis included, now has
exactly one .plot-axis-collapse DisclosureToggle writing
axisCollapsed[axisId], as the first element of the head bar. On the
parent head the grip follows it, then the area label, separator and
axis label; the mode combobox, patterns button and remove button stay
at the right. The all-hidden / solo-masked automatic collapse is kept
per axis with its inert toggle and reason text. The collapsed-run drag
handle stays: a collapsed non-parent axis has no grip of its own.

The per-area derived-config memo is now keyed by that area's own
collapsed axis ids rather than the whole axisCollapsed map, so
collapsing one axis re-renders only its area (the render-scoping test
that used to cover the area flag now covers this).

ADR 0026 is amended to one collapse (per axis), CONTEXT.md's Collapse
entry loses its plot-area half, the README collapse section and the
ADR 0045 payload list drop the area flag.

Co-Authored-By: Claude Sonnet 5.5 noreply@anthropic.com

This was referenced Oct 15, 2026
This was referenced Oct 15, 2026
Collapse now exists at the axis level and nowhere else. The plot-area
`collapsed` flag, its toggle, the "only the first axis of a collapsed
area renders" filter and the area-only chips are gone; a project that
still carries `collapsed: true` on an area drops the key on read and
opens the area expanded (no migration, no legacy path).

Every derived axis head, unified mode's single axis included, now has
exactly one `.plot-axis-collapse` DisclosureToggle writing
`axisCollapsed[axisId]`, as the first element of the head bar. On the
parent head the grip follows it, then the area label, separator and
axis label; the mode combobox, patterns button and remove button stay
at the right. The all-hidden / solo-masked automatic collapse is kept
per axis with its inert toggle and reason text. The collapsed-run drag
handle stays: a collapsed non-parent axis has no grip of its own.

The per-area derived-config memo is now keyed by that area's own
collapsed axis ids rather than the whole `axisCollapsed` map, so
collapsing one axis re-renders only its area (the render-scoping test
that used to cover the area flag now covers this).

ADR 0026 is amended to one collapse (per axis), CONTEXT.md's Collapse
entry loses its plot-area half, the README collapse section and the
ADR 0045 payload list drop the area flag.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@thebhef
thebhef force-pushed the fix-logger-now-per-file branch from 32fdbd9 to 989268e Compare October 26, 2026 22:42
@thebhef
thebhef force-pushed the task166-axis-collapse branch from 33b8a80 to 813e924 Compare October 26, 2026 22:42
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.

1 participant