From 0dd463bdc9bb539d82cf4b5fc74a67a6d58d7b20 Mon Sep 17 00:00:00 2001 From: insome Date: Thu, 18 Jun 2026 11:57:23 +0800 Subject: [PATCH] feat(build-tab): show tool names under icons in the Build palette MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The standalone editor's Build palette (structure tools, Roof features, and MEP) showed icons only, surfacing the name on hover. The furniture/Items panel already shows a name under each thumbnail, so the two catalogs felt inconsistent and the build tools were harder to scan at a glance. Render each tile as icon + label (matching the Items panel), widen the grid columns (56→72px) to fit the names, and keep the tooltip as-is. Co-Authored-By: Claude Opus 4.8 --- apps/editor/components/build-tab.tsx | 27 ++++++++++++++++++--------- 1 file changed, 18 insertions(+), 9 deletions(-) diff --git a/apps/editor/components/build-tab.tsx b/apps/editor/components/build-tab.tsx index 99fb55d98..84f2a6aae 100644 --- a/apps/editor/components/build-tab.tsx +++ b/apps/editor/components/build-tab.tsx @@ -231,7 +231,7 @@ export function BuildTab() {
{BUILD_TYPES.map((type) => { const active = isTypeActive(type) @@ -240,7 +240,7 @@ export function BuildTab() { @@ -280,7 +283,7 @@ export function BuildTab() {
{roofFeatures.map((feature) => { const active = mode === 'build' && activeTool === feature.kind @@ -289,7 +292,7 @@ export function BuildTab() { @@ -325,7 +331,7 @@ export function BuildTab() {
{MEP_ITEMS.map((item) => { const active = isMepItemActive(item) @@ -334,7 +340,7 @@ export function BuildTab() {