Skip to content

feat(editor): vertical icon rail + headless inspector footer slot (v2)#350

Merged
wass08 merged 1 commit into
mainfrom
community/icon-rail-headless-inspector
May 29, 2026
Merged

feat(editor): vertical icon rail + headless inspector footer slot (v2)#350
wass08 merged 1 commit into
mainfrom
community/icon-rail-headless-inspector

Conversation

@wass08

@wass08 wass08 commented May 29, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Replace the v2 left column's horizontal tab bar with an always-visible vertical icon rail (IconRail in tab-bar.tsx, icon? field added to SidebarTab).
  • Rail behavior: clicking the active icon collapses the panel (rail stays); clicking any icon while collapsed reopens it at the persisted width (clamped to the min). Resizer-drag collapse preserved; the resize math is offset by the 48px rail.
  • Add an inspectorFooter slot to <Editor> (v2), threaded PanelManager → ParametricInspector → PanelWrapper, so embedders can dock an affordance (e.g. community's "save as preset") below the node inspector.

Why

Foundation for the community app's final preset-system polish: a left icon rail with popover panels and a save-as-preset button docked below the inspector. Both changes are additive and v2-only.

Test plan

  • v2 editor: rail renders icons; clicking switches tabs.
  • Click active icon → panel collapses, rail remains.
  • Click any icon while collapsed → panel reopens at usable width.
  • Drag resizer to the left edge → collapses; drag back → restores.
  • inspectorFooter content appears pinned below the inspector body when a node is selected.

🤖 Generated with Claude Code

Replace the v2 left column's horizontal tab bar with an always-visible
vertical icon rail. Clicking the active icon collapses the panel (rail
stays); clicking any icon while collapsed reopens it at the persisted
width (clamped to the minimum). Resizer-drag collapse is preserved.

Add an `inspectorFooter` slot to <Editor> (v2), threaded through
PanelManager → ParametricInspector → PanelWrapper, so embedders can dock
an affordance (e.g. "save as preset") below the node inspector.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@mintlify

mintlify Bot commented May 29, 2026

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
pascal 🔴 Failed May 29, 2026, 7:36 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@wass08 wass08 merged commit 891e578 into main May 29, 2026
1 check failed
@wass08 wass08 deleted the community/icon-rail-headless-inspector branch May 29, 2026 19:37
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