From 2fca421bfffcf485a01c6fc4394c1c40e272ceb4 Mon Sep 17 00:00:00 2001 From: huangmin <2927933426@qq.com> Date: Mon, 1 Jun 2026 14:56:55 +0800 Subject: [PATCH 1/2] =?UTF-8?q?fix:=20=E9=9A=90=E8=97=8F=E5=BF=AB=E9=80=9F?= =?UTF-8?q?=E5=BC=80=E5=A7=8B=E6=95=99=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/onboarding/FTUXModal.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/onboarding/FTUXModal.tsx b/src/components/onboarding/FTUXModal.tsx index 480be996..a6b830d2 100644 --- a/src/components/onboarding/FTUXModal.tsx +++ b/src/components/onboarding/FTUXModal.tsx @@ -15,10 +15,11 @@ export function FTUXModal({ onComplete, onStartTutorial }: FTUXModalProps) { const [showSkipConfirm, setShowSkipConfirm] = useState(false); const handleNext = () => { - if (currentStep === 4) { + if (currentStep === 3) { // Last step - user chose "Skip Tutorial" setFTUXCompleted(true); onComplete(); + console.log("User completed FTUX"); } else { setCurrentStep((currentStep + 1) as FTUXStep); } From 2e3ccf6497c974128ffff56c3cea40a6b760fa78 Mon Sep 17 00:00:00 2001 From: huangmin <2927933426@qq.com> Date: Mon, 1 Jun 2026 14:58:35 +0800 Subject: [PATCH 2/2] =?UTF-8?q?fix:=20=E9=9A=90=E8=97=8F=E5=BF=AB=E9=80=9F?= =?UTF-8?q?=E5=BC=80=E5=A7=8B=E6=95=99=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 2 +- src/components/onboarding/FTUXModal.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 18f7d4ef..1b2fde21 100644 --- a/.gitignore +++ b/.gitignore @@ -3,7 +3,7 @@ /.pnp .pnp.js .yarn/install-state.gz - +.codegraph # testing /coverage diff --git a/src/components/onboarding/FTUXModal.tsx b/src/components/onboarding/FTUXModal.tsx index a6b830d2..05faf5f9 100644 --- a/src/components/onboarding/FTUXModal.tsx +++ b/src/components/onboarding/FTUXModal.tsx @@ -101,7 +101,7 @@ export function FTUXModal({ onComplete, onStartTutorial }: FTUXModalProps) { {/* Step indicators */}