From 0b0021a3100e4a14363b8c7ca0cbf13e65ee2dba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miguel=20=C3=81ngel?= Date: Thu, 21 May 2026 19:57:22 -0400 Subject: [PATCH] feat(studio): improve Ask agent UX, add tooltips to tabs and buttons MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Ask agent button turns green with checkmark on copy - Add button shows tooltip "Add to composition at current time" - Ask agent shows tooltip "Copy a prompt to paste into your AI agent" - Tab tooltips: Code, Comps, Assets, Catalog each explain their purpose - Search placeholder updated to "Search by name, category, or tag…" --- .../src/components/sidebar/BlocksTab.tsx | 56 ++++++++++++++----- .../src/components/sidebar/LeftSidebar.tsx | 4 ++ 2 files changed, 45 insertions(+), 15 deletions(-) diff --git a/packages/studio/src/components/sidebar/BlocksTab.tsx b/packages/studio/src/components/sidebar/BlocksTab.tsx index 46a4a734c..e12b78a0b 100644 --- a/packages/studio/src/components/sidebar/BlocksTab.tsx +++ b/packages/studio/src/components/sidebar/BlocksTab.tsx @@ -63,7 +63,7 @@ export const BlocksTab = memo(function BlocksTab({ onAddBlock, onPreviewBlock }: type="text" value={search} onChange={(e) => setSearch(e.target.value)} - placeholder="Search blocks…" + placeholder="Search by name, category, or tag…" className="w-full bg-neutral-900 border border-neutral-800 rounded-md pl-7 pr-2 py-1.5 text-[11px] text-neutral-200 placeholder:text-neutral-600 focus:outline-none focus:border-neutral-700 transition-colors" /> @@ -400,6 +400,7 @@ function BlockCard({ )} diff --git a/packages/studio/src/components/sidebar/LeftSidebar.tsx b/packages/studio/src/components/sidebar/LeftSidebar.tsx index dcadab0b0..a7b9fe167 100644 --- a/packages/studio/src/components/sidebar/LeftSidebar.tsx +++ b/packages/studio/src/components/sidebar/LeftSidebar.tsx @@ -127,6 +127,7 @@ export const LeftSidebar = memo(