diff --git a/.changeset/remove-quick-add-plan-icon.md b/.changeset/remove-quick-add-plan-icon.md new file mode 100644 index 0000000000..9fa7a523bb --- /dev/null +++ b/.changeset/remove-quick-add-plan-icon.md @@ -0,0 +1,7 @@ +--- +"@runfusion/fusion": patch +--- + +summary: Remove the icon from the Quick Add Plan action while preserving the text button behavior. +category: fix +dev: Updates QuickEntryBox and regression coverage for the text-only Plan action. diff --git a/packages/dashboard/app/components/QuickEntryBox.tsx b/packages/dashboard/app/components/QuickEntryBox.tsx index bd3c58757f..7b1e77deab 100644 --- a/packages/dashboard/app/components/QuickEntryBox.tsx +++ b/packages/dashboard/app/components/QuickEntryBox.tsx @@ -1857,6 +1857,7 @@ export function QuickEntryBox({ onCreate, addToast, tasks = [], availableModels, triggerTestId="quick-entry-optional-steps-trigger" /> + {/* FNXC:QuickEntry 2026-06-30-00:00: Quick Add Plan stays a normal text action without a Lightbulb icon so the action row preserves behavior while removing the extra visual affordance and icon spacing shell. */} {/* FNXC:QuickAddSubtaskFlag 2026-06-21-00:00: Render no Subtask button or click target unless App wires the default-off `subtaskBreakdown` experiment callback. */} diff --git a/packages/dashboard/app/components/__tests__/QuickEntryBox.test.tsx b/packages/dashboard/app/components/__tests__/QuickEntryBox.test.tsx index 4839601afc..1a0689af0f 100644 --- a/packages/dashboard/app/components/__tests__/QuickEntryBox.test.tsx +++ b/packages/dashboard/app/components/__tests__/QuickEntryBox.test.tsx @@ -2795,14 +2795,18 @@ describe("QuickEntryBox", () => { }); }); - it("calls onPlanningMode and preserves input draft when Plan clicked", async () => { + it("renders Plan as text-only and preserves planning handoff", async () => { const onPlanningMode = vi.fn(); renderQuickEntryBox({ onPlanningMode }); expandQuickEntry(); const textarea = screen.getByTestId("quick-entry-input") as HTMLTextAreaElement; + const planButton = screen.getByTestId("plan-button"); + + expect(planButton).toHaveTextContent("Plan"); + expect(planButton.querySelector("svg")).toBeNull(); fireEvent.change(textarea, { target: { value: " Plan this task " } }); - fireEvent.click(screen.getByTestId("plan-button")); + fireEvent.click(planButton); await waitFor(() => { expect(onPlanningMode).toHaveBeenCalledWith("Plan this task");