From 1364f8cb43e16db0d5140ec758b56bc54881b605 Mon Sep 17 00:00:00 2001 From: bilalgursen Date: Tue, 22 Sep 2026 01:33:01 +0300 Subject: [PATCH] =?UTF-8?q?feat(olcum):=20/listem=20bo=C5=9F=20ekran=C4=B1?= =?UTF-8?q?ndan=20a=C3=A7=C4=B1lan=20kap=C4=B1=20ayr=C4=B1=20tetikle=20say?= =?UTF-8?q?=C4=B1l=C4=B1r?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bu kapı huninin en sonunda açılıyor (giriş yaptı, listesi yok, profili de yok). "diger" ile sayılınca arama kartı gibi genel yüzeylerle aynı kovaya düşüyordu; ayrı değer bu dilimi görünür kılar. Co-Authored-By: Claude Opus 5 --- src/features/liste/hooks/use-tercih-profili.ts | 4 ++++ src/features/rapor/components/listem-bos-cta.tsx | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/features/liste/hooks/use-tercih-profili.ts b/src/features/liste/hooks/use-tercih-profili.ts index 3771ac7..1e77c03 100644 --- a/src/features/liste/hooks/use-tercih-profili.ts +++ b/src/features/liste/hooks/use-tercih-profili.ts @@ -52,6 +52,10 @@ export type KapiTetik = | "arti_toast" | "sonuc" | "sihirbaz" + // Girişli ama listesiz kullanıcının /listem boş ekranındaki CTA'sı. Ayrı + // değer, çünkü bu kapı huninin en sonunda açılıyor: "giriş yaptı ama profili + // yok" dilimini arama kartı gibi genel yüzeylerden ayırt edebilmek gerek. + | "listem_bos" | "duzenle" | "diger"; diff --git a/src/features/rapor/components/listem-bos-cta.tsx b/src/features/rapor/components/listem-bos-cta.tsx index b97e70d..06a1966 100644 --- a/src/features/rapor/components/listem-bos-cta.tsx +++ b/src/features/rapor/components/listem-bos-cta.tsx @@ -42,7 +42,7 @@ export function ListemBosCta() { type="button" size="lg" className={CTA_SINIF} - onClick={() => profilToplamaAc("sihirbaz", true, "diger")} + onClick={() => profilToplamaAc("sihirbaz", true, "listem_bos")} > Sıralamanı gir, Yapay Zeka listeni kur