The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
feat(desktop): Skip setup ends the intro like main's skipIntro
alt-glitch8a55f7803c15
diff --git a/apps/desktop/src/components/onboarding/skip-setup.tsx b/apps/desktop/src/components/onboarding/skip-setup.tsxindex ea2fce1ac5d..01e6a7cca58 100644--- a/apps/desktop/src/components/onboarding/skip-setup.tsx+++ b/apps/desktop/src/components/onboarding/skip-setup.tsx@@ -1,11 +1,13 @@import { useStore } from '@nanostores/react'import { useGatewayRequest } from '@/app/gateway/hooks/use-gateway-request'+import { skipIntro } from '@/components/onboarding/first-run/intro'import { Tip } from '@/components/ui/tooltip'import { useI18n } from '@/i18n'import { $onboardingSession, skipOnboarding } from '@/store/onboarding-run'-/** Skip setup, shown in the composer of the onboarding chat only. */+/** Skip setup, shown in the composer of the onboarding chat only. Like main's: the intro ends on the+ * previous layout at normal size and the tutorial tips stop, then the backend ends the run. */export function OnboardingSkip({ sessionId }: { sessionId: null | string }) {const session = useStore($onboardingSession)@@ -25,7 +27,10 @@ function SkipButton({ runtimeId }: { runtimeId: string }) {<Tip label={t.firstRun.skipTip}><buttonclassName="ml-auto text-[11px] text-(--ui-text-quaternary) transition-colors hover:text-(--ui-text-secondary)"- onClick={() => void skipOnboarding(requestGateway, runtimeId)}+ onClick={() => {+ skipIntro()+ void skipOnboarding(requestGateway, runtimeId)+ }}type="button">{t.firstRun.skip}