From a2f4bb14c0640ffe5a756bc37220d17463937fea Mon Sep 17 00:00:00 2001 From: gsxdsm Date: Tue, 9 Jun 2026 08:14:16 -0700 Subject: [PATCH] FN-6080: remove workflow selector collapse controls Always render the workflow selector expanded across the dashboard. - remove collapsible workflow selector props, state, icons, and toggle styles - stop InlineCreateCard from passing collapse persistence options - delete project storage support and tests for collapsed workflow selector state - add a patch changeset for the published CLI package Files changed: .changeset/fn-6080-removal.md | 5 ++ .../dashboard/app/components/InlineCreateCard.tsx | 3 - .../dashboard/app/components/WorkflowSelector.css | 14 +---- .../dashboard/app/components/WorkflowSelector.tsx | 65 +-------------------- .../components/__tests__/InlineCreateCard.test.tsx | 50 ---------------- .../components/__tests__/WorkflowSelector.test.tsx | 68 ---------------------- .../app/utils/__tests__/projectStorage.test.ts | 3 +- packages/dashboard/app/utils/projectStorage.ts | 1 - 8 files changed, 8 insertions(+), 201 deletions(-) Fusion-Task-Id: FN-6080 Fusion-Task-Lineage: cca26111-9e20-47d0-8473-d18a3b488ae1 --- .changeset/fn-6080-removal.md | 5 ++ .../app/components/InlineCreateCard.tsx | 3 - .../app/components/WorkflowSelector.css | 14 +--- .../app/components/WorkflowSelector.tsx | 65 +----------------- .../__tests__/InlineCreateCard.test.tsx | 50 -------------- .../__tests__/WorkflowSelector.test.tsx | 68 ------------------- .../utils/__tests__/projectStorage.test.ts | 3 +- .../dashboard/app/utils/projectStorage.ts | 1 - 8 files changed, 8 insertions(+), 201 deletions(-) create mode 100644 .changeset/fn-6080-removal.md diff --git a/.changeset/fn-6080-removal.md b/.changeset/fn-6080-removal.md new file mode 100644 index 0000000000..395dcd24aa --- /dev/null +++ b/.changeset/fn-6080-removal.md @@ -0,0 +1,5 @@ +--- +"@runfusion/fusion": patch +--- + +Removed the `collapsible`, `collapseStorageKey`, and `collapsedLabel` props from `WorkflowSelector`. Callers should stop passing these props; workflow selectors now always render expanded. diff --git a/packages/dashboard/app/components/InlineCreateCard.tsx b/packages/dashboard/app/components/InlineCreateCard.tsx index d6365c6e3a..c37923066c 100644 --- a/packages/dashboard/app/components/InlineCreateCard.tsx +++ b/packages/dashboard/app/components/InlineCreateCard.tsx @@ -18,7 +18,6 @@ import { WorkflowSelector } from "./WorkflowSelector"; const ALLOWED_IMAGE_TYPES = ["image/png", "image/jpeg", "image/gif", "image/webp"]; const STORAGE_KEY = "kb-inline-create-text"; -const WORKFLOW_SELECTOR_COLLAPSE_STORAGE_KEY = "kb-board-workflow-selector-collapsed"; interface PendingImage { file: File; @@ -1037,8 +1036,6 @@ export function InlineCreateCard({ addToast={addToast} label="Workflow" disabled={submitting} - collapsible - collapseStorageKey={WORKFLOW_SELECTOR_COLLAPSE_STORAGE_KEY} />