Merge pull request #485 from langflow-ai/onboarding-completion-trigger

Update step count fixing the end of onboarding animation
This commit is contained in:
Sebastián Estévez 2025-11-23 19:45:53 -05:00 committed by GitHub
commit 5a297665a1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View file

@ -171,7 +171,7 @@ export function OnboardingContent({
/>
</OnboardingStep>
{/* Step 2 */}
{/* Step 3 */}
<OnboardingStep
isVisible={currentStep >= 2}
isCompleted={currentStep > 2 || !!selectedNudge}
@ -209,7 +209,7 @@ export function OnboardingContent({
/>
)}
{/* Step 3 */}
{/* Step 4 */}
<OnboardingStep
isVisible={currentStep >= 3 && !isLoading && !!displayMessage}
isCompleted={currentStep > 3}

View file

@ -28,7 +28,7 @@ export const UI_CONSTANTS = {
export const ANIMATION_DURATION = 0.4;
export const SIDEBAR_WIDTH = 280;
export const HEADER_HEIGHT = 54;
export const TOTAL_ONBOARDING_STEPS = 5;
export const TOTAL_ONBOARDING_STEPS = 4;
/**
* Local Storage Keys