Merge branch 'feat/new-onboarding' of github.com:langflow-ai/openrag into feat/onboarding-user-ingest

This commit is contained in:
Mike Fortman 2025-10-22 12:54:32 -05:00
commit 8bab38a742

View file

@ -205,25 +205,6 @@ export function OnboardingContent({
isVisible={currentStep >= 2} isVisible={currentStep >= 2}
isCompleted={currentStep > 2} isCompleted={currentStep > 2}
text="Step 2: Connect your model" text="Step 2: Connect your model"
>
<div className="space-y-4">
<p className="text-muted-foreground">
Choose and connect your preferred AI model provider.
</p>
<button
type="button"
onClick={handleStepComplete}
className="px-4 py-2 bg-primary text-primary-foreground rounded-lg hover:bg-primary/90"
>
Continue
</button>
</div>
</OnboardingStep>
<OnboardingStep
isVisible={currentStep >= 3}
isCompleted={currentStep > 3}
text="Step 3: You're all set!"
> >
<div className="space-y-4"> <div className="space-y-4">
<p className="text-muted-foreground"> <p className="text-muted-foreground">
@ -239,14 +220,6 @@ export function OnboardingContent({
> >
{isUploading ? "Uploading..." : "Upload a Document"} {isUploading ? "Uploading..." : "Upload a Document"}
</button> </button>
<button
type="button"
onClick={handleStepComplete}
className="px-4 py-2 bg-primary text-primary-foreground rounded-lg hover:bg-primary/90"
>
Go to Chat
</button>
</div>
<input <input
ref={fileInputRef} ref={fileInputRef}
type="file" type="file"
@ -255,6 +228,23 @@ export function OnboardingContent({
accept=".pdf,.doc,.docx,.txt,.md,.rtf,.odt" accept=".pdf,.doc,.docx,.txt,.md,.rtf,.odt"
/> />
</div> </div>
</div>
</OnboardingStep>
<OnboardingStep
isVisible={currentStep >= 3}
isCompleted={currentStep > 3}
text="Step 3: You're all set!"
>
<div className="space-y-4">
<button
type="button"
onClick={handleStepComplete}
className="px-4 py-2 bg-primary text-primary-foreground rounded-lg hover:bg-primary/90"
>
Go to Chat
</button>
</div>
</OnboardingStep> </OnboardingStep>
</div> </div>
<DuplicateHandlingDialog <DuplicateHandlingDialog