From 28bcd6796d07e720309af73c13e428a362283bfd Mon Sep 17 00:00:00 2001 From: mohiit1502 Date: Fri, 21 Aug 2026 18:27:46 +0530 Subject: [PATCH] =?UTF-8?q?fix(workflows):=20UI=20revamp=20=E2=80=94=20nod?= =?UTF-8?q?e=20palette,=20schedule=20modal,=20typeahead=20fields?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Fix NodePalette: body was invisible due to flex height issue in ReactFlow Panel. Replaced hover-to-expand UX with simple pinned toggle (per WORKFLOW_BUILDER_REVAMP.md). Panel now uses maxHeight instead of flex, shows/hides body via pinned state. - Add ScheduleModal: Outlook-style visual schedule editor with frequency presets (minutes, hourly, daily, weekly, monthly), day-of-week picker, time picker, timezone selector. Generates cron expression automatically. Shows human-readable summary. - Add TypeaheadSelect: reusable typeahead search/select component used for agent selection, workflow template selection, and event type selection. Supports lazy loading, search filtering, clear button. - WorkflowInspector rewrite: - Template section moved above trigger (was below) - Template uses TypeaheadSelect searching real workflows by name/ID - Removed template name field — shows selected ID + name label - Added separator between template and trigger sections - Agent fields (webhook, schedule) now use TypeaheadSelect with real API data - Event trigger uses TypeaheadSelect with multi-select chips for Agos event types - Schedule trigger replaced cron text field with modal opener button - NodeInspector: all input/textarea fields now use nbl-input--sm / nbl-textarea--sm CSS classes for compact form layout (32 inputs + 14 textareas updated) Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- .../components/inspector/NodeInspector.tsx | 92 ++--- .../components/inspector/ScheduleModal.tsx | 301 ++++++++++++++++ .../components/inspector/TypeaheadSelect.tsx | 189 +++++++++++ .../inspector/WorkflowInspector.tsx | 320 ++++++++++++++---- .../components/palette/NodePalette.tsx | 209 ++++++------ 5 files changed, 890 insertions(+), 221 deletions(-) create mode 100644 src/pages/workflows/components/inspector/ScheduleModal.tsx create mode 100644 src/pages/workflows/components/inspector/TypeaheadSelect.tsx diff --git a/src/pages/workflows/components/inspector/NodeInspector.tsx b/src/pages/workflows/components/inspector/NodeInspector.tsx index 5037bfa..1096698 100644 --- a/src/pages/workflows/components/inspector/NodeInspector.tsx +++ b/src/pages/workflows/components/inspector/NodeInspector.tsx @@ -89,7 +89,7 @@ function NotifyChannelsEditor({
{ @@ -248,7 +248,7 @@ export function NodeInspector({