diff --git a/frontend/src/app/new-onboarding/components/progress-bar.tsx b/frontend/src/app/new-onboarding/components/progress-bar.tsx
index 419a2ae4..ef16dc54 100644
--- a/frontend/src/app/new-onboarding/components/progress-bar.tsx
+++ b/frontend/src/app/new-onboarding/components/progress-bar.tsx
@@ -1,15 +1,20 @@
+import { ArrowRight } from 'lucide-react';
+import { Button } from '@/components/ui/button';
+
interface ProgressBarProps {
currentStep: number;
totalSteps: number;
+ onSkip?: () => void;
}
-export function ProgressBar({ currentStep, totalSteps }: ProgressBarProps) {
+export function ProgressBar({ currentStep, totalSteps, onSkip }: ProgressBarProps) {
const progressPercentage = ((currentStep + 1) / totalSteps) * 100;
return (
-
-
-
+
+
+
+
+
+ {currentStep > 0 && onSkip && (
+
+ )}
+
);
}
diff --git a/frontend/src/components/chat-renderer.tsx b/frontend/src/components/chat-renderer.tsx
index 9d6402e6..d20864a8 100644
--- a/frontend/src/components/chat-renderer.tsx
+++ b/frontend/src/components/chat-renderer.tsx
@@ -86,6 +86,14 @@ export function ChatRenderer({
}
};
+ const handleSkipOnboarding = () => {
+ // Skip onboarding by marking it as complete
+ if (typeof window !== "undefined") {
+ localStorage.removeItem(ONBOARDING_STEP_KEY);
+ }
+ setShowLayout(true);
+ };
+
// List of paths with smaller max-width
const smallWidthPaths = ["/settings/connector/new"];
const isSmallWidthPath = smallWidthPaths.includes(pathname);
@@ -196,6 +204,7 @@ export function ChatRenderer({