From ee44ba537a4bf113ebceb0e25a2530f43dd2b855 Mon Sep 17 00:00:00 2001 From: Nikhil-Doye Date: Wed, 22 Oct 2025 18:49:28 -0400 Subject: [PATCH] Remove onboarding features from WorkflowToolbar component - Eliminated onboarding-related state and UI elements from the WorkflowToolbar, including the tutorial button and modal. - Cleaned up unused imports related to onboarding, streamlining the component's code structure. --- src/components/WorkflowToolbar.tsx | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/src/components/WorkflowToolbar.tsx b/src/components/WorkflowToolbar.tsx index 219e7fc..71a7c38 100644 --- a/src/components/WorkflowToolbar.tsx +++ b/src/components/WorkflowToolbar.tsx @@ -13,7 +13,6 @@ import { Clock, Activity, GitBranch, - HelpCircle, } from "lucide-react"; import { downloadWorkflow, @@ -22,8 +21,6 @@ import { import { ApiKeysSettings } from "./ApiKeysSettings"; import { DatabaseConnectionManager } from "./DatabaseConnectionManager"; import { WorkflowScheduler } from "./WorkflowScheduler"; -import { OnboardingModal } from "./OnboardingModal"; -import { OnboardingManager } from "../utils/onboardingManager"; import { Button } from "./ui/button"; export const WorkflowToolbar: React.FC = () => { @@ -42,7 +39,6 @@ export const WorkflowToolbar: React.FC = () => { const [showDatabaseManager, setShowDatabaseManager] = useState(false); const [showScheduler, setShowScheduler] = useState(false); const [showSaveSuccess, setShowSaveSuccess] = useState(false); - const [showOnboarding, setShowOnboarding] = useState(false); const handleSave = () => { if (currentWorkflow) { @@ -162,19 +158,6 @@ export const WorkflowToolbar: React.FC = () => { Schedule - -
{/* Execution Mode Selector */} @@ -279,15 +262,6 @@ export const WorkflowToolbar: React.FC = () => { workflowId={currentWorkflow?.id} /> )} - - {/* Onboarding Modal */} - {showOnboarding && ( - setShowOnboarding(false)} - onComplete={() => setShowOnboarding(false)} - /> - )}
); };