From 45b27aa755d0ace04edbf82ce3df666a958580d8 Mon Sep 17 00:00:00 2001 From: Taylor Ho Date: Fri, 14 Aug 2026 15:39:38 -0700 Subject: [PATCH] Polish workflow condition editor UX Signed-off-by: Taylor Ho --- .../workflows/ui/AuthorGridPicker.tsx | 19 ++-- .../features/workflows/ui/MessageIdPicker.tsx | 8 +- .../workflows/ui/WorkflowConditionBuilder.tsx | 90 +++++++++++++++++-- .../features/workflows/ui/WorkflowDialog.tsx | 44 ++++----- .../workflows/ui/WorkflowFormBuilder.tsx | 13 +-- 5 files changed, 129 insertions(+), 45 deletions(-) diff --git a/desktop/src/features/workflows/ui/AuthorGridPicker.tsx b/desktop/src/features/workflows/ui/AuthorGridPicker.tsx index 2ccbcbf91..b4af177a4 100644 --- a/desktop/src/features/workflows/ui/AuthorGridPicker.tsx +++ b/desktop/src/features/workflows/ui/AuthorGridPicker.tsx @@ -12,6 +12,7 @@ import type { UserProfileSummary, UserSearchResult } from "@/shared/api/types"; import { cn } from "@/shared/lib/cn"; import { parsePubkeyInput } from "@/shared/lib/nostrUtils"; import { truncatePubkey } from "@/shared/lib/pubkey"; +import { Input } from "@/shared/ui/input"; import { PortalledScrollArea } from "@/shared/ui/PortalledScrollArea"; const AUTHOR_PAGE_SIZE = 50; @@ -193,17 +194,23 @@ export function AuthorGridPicker({ return (
-
- - +
diff --git a/desktop/src/features/workflows/ui/MessageIdPicker.tsx b/desktop/src/features/workflows/ui/MessageIdPicker.tsx index 3ddae77b5..671fc7a77 100644 --- a/desktop/src/features/workflows/ui/MessageIdPicker.tsx +++ b/desktop/src/features/workflows/ui/MessageIdPicker.tsx @@ -189,8 +189,8 @@ export function MessageIdPicker({ !pastedCandidate; return ( -
-
+
+