Skip to content

feat(editor): preset-system polish — paint panel, slim action bar, icon rail#354

Merged
wass08 merged 2 commits into
mainfrom
preset-system-polish
Jun 1, 2026
Merged

feat(editor): preset-system polish — paint panel, slim action bar, icon rail#354
wass08 merged 2 commits into
mainfrom
preset-system-polish

Conversation

@wass08
Copy link
Copy Markdown
Collaborator

@wass08 wass08 commented Jun 1, 2026

Editor-side changes backing the community preset-system polish round. Consumed by the matching apps/community PR into community/preset-system (which bumps this submodule SHA).

What changed

  • MaterialPaintPanel (new, exported) — embedders host the paint material picker in their own panel. The community editor docks it in the Build sidebar; removed from the bottom action bar.
  • ActionMenu slimmed — dropped the build / material-paint / furnish mode buttons and the structure-tools palette row + paint tray. The host's Build sidebar owns building now. structure-tools is reduced to the shared tools lookup (still used by cursor/floorplan indicators); the orphaned useContextualTools hook is removed.
  • MaterialPicker — swatches wrap into a fluid auto-fill, minmax grid that fills the panel width and scales the cells.
  • IconRail (tab-bar) — bigger icons, grayscale-when-idle (color on hover/active), Radix tooltip on the right, w-14 rail; RAIL_WIDTH synced to 56.
  • Inspector footerInspectorFooterContext hands the host footer down to kind-owned custom panels so the "Save to my catalog" button renders without per-kind wiring.

Notes

  • No node schemas or viewer/core boundaries touched; all changes are in packages/editor.
  • Wall remains presettable (reverted an earlier opt-out).

🤖 Generated with Claude Code

wass08 and others added 2 commits June 1, 2026 13:10
…on rail

- Export `MaterialPaintPanel` so embedders host the paint material picker in
  their own panel (community docks it in the Build sidebar) instead of the
  bottom action bar.
- ActionMenu: drop the build / material-paint / furnish modes and the
  structure-tools palette row + paint tray (the host's Build sidebar owns
  building now). Reduce `structure-tools` to the shared `tools` lookup still
  used by cursor/floorplan indicators; remove the orphaned `useContextualTools`.
- MaterialPicker: swatches wrap into a fluid `auto-fill` grid that fills width.
- IconRail (tab-bar): bigger icons, grayscale-when-idle, Radix tooltip, w-14
  rail; sync `RAIL_WIDTH` to 56.
- Inspector footer: hand the host `footer` to kind-owned custom panels via
  `InspectorFooterContext` so the save button renders without per-kind wiring.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Whole-repo formatter normalization (line wrap/unwrap only, no logic changes)
surfaced by the format-on-edit hook against prior drift. Kept separate from the
feature commit so the preset-system diff stays reviewable.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@wass08 wass08 merged commit 8abfc94 into main Jun 1, 2026
1 of 2 checks passed
@mintlify
Copy link
Copy Markdown

mintlify Bot commented Jun 1, 2026

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

Project Status Preview Updated (UTC)
pascal 🔴 Failed Jun 1, 2026, 5:23 PM

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

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