From 22c139ad22e46984405988f55b7cb94cabfa98c4 Mon Sep 17 00:00:00 2001 From: bilalgursen Date: Tue, 22 Sep 2026 01:17:24 +0300 Subject: [PATCH] =?UTF-8?q?fix(funnel):=20=EF=BC=8B=20kap=C4=B1s=C4=B1n?= =?UTF-8?q?=C4=B1=20tamamlayan=20kullan=C4=B1c=C4=B1=20listeye/sonuca=20?= =?UTF-8?q?=C3=A7=C4=B1kar?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Profilsiz + eklemesinin toast aksiyonu ve çekmecedeki "Sıralamamı gir" butonu kapıyı hedefsiz açıyordu: üç adımı dolduran kullanıcı profilTamamlandi'den null alıp "Tercihlerin kaydedildi." toast'ıyla yerinde kalıyordu. İki çağrı yerinde hedef "sihirbaz" oldu — akış /sonuc'ta devam ediyor (girişliyse üretim, girişsizse ücretsiz tablo). tetik "arti_toast" olarak korundu; kapi_acildi serisi kırılmıyor. Co-Authored-By: Claude Opus 5 --- src/features/liste/components/liste-cekmecesi.tsx | 5 ++++- src/features/liste/components/program-ekle-butonu.tsx | 6 ++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/features/liste/components/liste-cekmecesi.tsx b/src/features/liste/components/liste-cekmecesi.tsx index e571b16..cba655f 100644 --- a/src/features/liste/components/liste-cekmecesi.tsx +++ b/src/features/liste/components/liste-cekmecesi.tsx @@ -290,7 +290,10 @@ export function ListeCekmecesi() { className="shrink-0 cursor-pointer bg-orange-500 text-white transition-colors duration-200 hover:bg-orange-600" onClick={() => { cekmeceKapat(); - profilToplamaAc(null, true, "arti_toast"); + // Hedef "sihirbaz": kapı kapanınca akış /sonuc'ta devam + // etsin (girişliyse üretim, girişsizse ücretsiz tablo) — + // kullanıcı çekmecenin kapandığı boşlukta kalmasın. + profilToplamaAc("sihirbaz", true, "arti_toast"); }} > Sıralamamı gir diff --git a/src/features/liste/components/program-ekle-butonu.tsx b/src/features/liste/components/program-ekle-butonu.tsx index 7cf0bd1..fa2b229 100644 --- a/src/features/liste/components/program-ekle-butonu.tsx +++ b/src/features/liste/components/program-ekle-butonu.tsx @@ -78,8 +78,10 @@ export function ProgramEkleButonu({ ), - // Tanıtım ekranını atla, doğrudan sıralama adımı - onClick: () => profilToplamaAc(null, true, "arti_toast"), + // Tanıtım ekranını atla, doğrudan sıralama adımı. Hedef + // "sihirbaz": kapı kapanınca kullanıcı yerinde kalmasın, akış + // /sonuc'ta devam etsin (girişliyse üretim, girişsizse tablo). + onClick: () => profilToplamaAc("sihirbaz", true, "arti_toast"), }, }); }