From a4ae51baffbc71d44bb9df1fcd6927d38aceb2c3 Mon Sep 17 00:00:00 2001 From: Alessandro Pogliaghi Date: Wed, 29 Jul 2026 10:31:31 +0100 Subject: [PATCH] chore(desktop): spaces dragging fix + dev flag --- packages/ui/src/features/canvas/hooks/useChannelsLayout.ts | 5 ++++- packages/ui/src/features/command/CommandSearchBar.tsx | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/packages/ui/src/features/canvas/hooks/useChannelsLayout.ts b/packages/ui/src/features/canvas/hooks/useChannelsLayout.ts index 2d891f42be..23a0e28ffa 100644 --- a/packages/ui/src/features/canvas/hooks/useChannelsLayout.ts +++ b/packages/ui/src/features/canvas/hooks/useChannelsLayout.ts @@ -10,6 +10,9 @@ export function useChannelsLayout(): boolean { PROJECT_BLUEBIRD_FLAG, import.meta.env.DEV, ); - const layoutEnabled = useFeatureFlag(CHANNELS_LAYOUT_FLAG, false); + const layoutEnabled = useFeatureFlag( + CHANNELS_LAYOUT_FLAG, + import.meta.env.DEV, + ); return layoutEnabled && bluebirdEnabled; } diff --git a/packages/ui/src/features/command/CommandSearchBar.tsx b/packages/ui/src/features/command/CommandSearchBar.tsx index 9b905e4b62..5906f830e6 100644 --- a/packages/ui/src/features/command/CommandSearchBar.tsx +++ b/packages/ui/src/features/command/CommandSearchBar.tsx @@ -18,12 +18,12 @@ export function CommandSearchBar({ onClick }: { onClick: () => void }) { return ( // The row is a window-drag region; the field has to opt out of it or the // press that should open the menu drags the window instead. -
+