Skip to content

Panel polish: folder collapse, keyboard a11y, spacing, and shadow#45

Merged
ryankiley merged 3 commits into
mainfrom
claude/awesome-ardinghelli-b55750
Jun 21, 2026
Merged

Panel polish: folder collapse, keyboard a11y, spacing, and shadow#45
ryankiley merged 3 commits into
mainfrom
claude/awesome-ardinghelli-b55750

Conversation

@ryankiley

@ryankiley ryankiley commented Jun 21, 2026

Copy link
Copy Markdown
Owner

A few small improvements to the panel.

Smoother folder collapse. Opening and closing a folder fades its controls in and out cleanly, instead of squashing and stretching as the folder resizes. The caret turns in step with the fade.

Keyboard accessibility. A collapsed folder (or a collapsed panel) no longer keeps its hidden controls in the tab order, so keyboard and screen-reader users don't land on things they can't see.

Bottom spacing. Removed extra empty space at the bottom of a panel whose last item is a folder.

Subtler shadow. The panel's drop shadow is softer and more subdued, and no longer draws a lit highlight along its top edge.

Also recycled a couple of hardcoded easing curves into shared motion tokens (no behavior change). All CSS plus a few lines of TS; no new dependencies; tests pass.

Folders now fade and clip away together when collapsing instead of squashing
and stretching, with the caret turning in step. Collapsed folders and panels
drop their hidden controls from the tab order, and a panel ending in a folder
no longer carries extra space at the bottom.
Add --tw-ease-inout for the symmetric ease that was hardcoded five times
(panel-body collapse, toolbar icon swap, reset spin settle), and replace an
inline copy of --tw-ease-spring with the token. No behavior change — the
resolved curves are identical, the values just live in one place now.
Drop the inset lit top edge from the dark panel shadows and replace the heavy
three-layer drop shadow with a softer, more subdued pool. The light theme already
had neither, so it is unchanged.
@ryankiley ryankiley changed the title Smoother folder collapse, with keyboard a11y and spacing fixes Panel polish: folder collapse, keyboard a11y, spacing, and shadow Jun 21, 2026
@ryankiley ryankiley merged commit ab9bd10 into main Jun 21, 2026
2 checks passed
@ryankiley ryankiley deleted the claude/awesome-ardinghelli-b55750 branch June 21, 2026 05:53
ryankiley added a commit that referenced this pull request Jun 21, 2026
0.2.0 isn't released yet (no tag, npm has only 0.1.0), so #45's and #46's
entries belong in 0.2.0 rather than a separate Unreleased section above it.
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