fix(backlog): rehberde gerçek 404, sıra tek kaynaktan, dokunma alanı ve kontrast (→ 2.9.13)
All checks were successful
Deploy / deploy (push) Successful in 8m55s

Karar beklemeyen backlog maddeleri:

- #65 /rehber/<olmayan> artık 404: slug listesi derlemede pakete gömülür
  (next.config.ts env), proxy adres denetimi bu listeyle karar verir.
- #55 localStorage boşsa profil çerezden geri yüklenir; üst çubuk ile
  /sonuc aynı sırayı gösterir.
- #53 sırası kayıtlı kullanıcıda ana sayfa düğmesi "Listeni gör".
- #51 kt-dokunma sınıfı: üst çubuk hapları, menü, sosyal ikonlar, seçim
  hapları, kırıntı yolu ve kapatma çarpısı dokunmatikte 44 px alan alır.
- #18 okunan 34 yazı text-slate-400'den text-slate-500'e; kural DESIGN.md §2.
- #56 görünen metinlerde "yapay zekâ"; "~85.040." sonundaki nokta kalktı.
- #61 yurtdisiIlKonum ülke ekli il değerini (ÜSKÜP-MAKEDONYA) çözer.
- #58 refresh.ts ham çekimi depo dışındaki arşive kopyalar, yolu veri_meta'da.
- #60 Manas/Yesevi parantezli satırlarının türü ve Kıbrıs Amerikan ili
  KURUM_DUZELT'e yazıldı; veritabanına henüz uygulanmadı.

#52 (çift H1) ve #41 (Rybbit'te sira=) kanıtla kapandı; BACKLOG güncellendi.

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
bilalgursen
2026-11-10 19:42:07 +03:00
parent 703a47553a
commit 88fa8627c5
55 changed files with 267 additions and 112 deletions

View File

@@ -1,3 +1,5 @@
import fs from "node:fs";
import path from "node:path";
import type { NextConfig } from "next";
import { HTML_LIMITED_BOT_UA_RE } from "next/dist/shared/lib/router/utils/html-bots";
// Bağımlılıksız veri dosyası; config uygulama paketinden önce yüklendiği için
@@ -18,7 +20,21 @@ const kaynakKisitli = process.env.BUILD_KAYNAK_KISITLI === "1";
const AI_BOTLARI =
"GPTBot|OAI-SearchBot|ChatGPT-User|ClaudeBot|Claude-User|Claude-SearchBot|PerplexityBot|Perplexity-User|meta-externalagent|meta-externalfetcher|meta-webindexer|Amazonbot|Amzn-SearchBot|Amzn-User|DuckAssistBot|MistralAI-User|CCBot|Bytespider";
// Rehber slug listesi derleme anında content/rehber'den okunur ve pakete
// gömülür (sitemap ile aynı kaynak: dosya adları). Çalışma imajında content/
// yoktur; src/proxy.ts bilinmeyen /rehber/<slug> adresine gerçek 404'ü bu
// listeyle verir (BACKLOG #65, src/features/katalog/adres-denetimi.ts).
const rehberDizin = path.join(process.cwd(), "content", "rehber");
const rehberSluglari = fs.existsSync(rehberDizin)
? fs
.readdirSync(rehberDizin)
.filter((f) => f.endsWith(".md"))
.map((f) => f.replace(/\.md$/, ""))
.sort()
: [];
const nextConfig: NextConfig = {
env: { REHBER_SLUGLARI: rehberSluglari.join(",") },
htmlLimitedBots: new RegExp(
`${HTML_LIMITED_BOT_UA_RE.source}|${AI_BOTLARI}`,
"i",