feat: update app.db and BACKLOG.md with new decisions and adjustments
All checks were successful
Deploy / deploy (push) Successful in 7m45s
All checks were successful
Deploy / deploy (push) Successful in 7m45s
- Updated the app.db file to reflect recent changes in the application state. - Modified BACKLOG.md to include new entries regarding the removal of certain wizard steps, adjustments to priority chips, and the introduction of special quota conditions for candidates. - Added details on the decision to link priority chips to data sources and clarified the implications for user experience and data handling.
This commit is contained in:
@@ -2,8 +2,10 @@ import type { Metadata } from "next";
|
||||
import Link from "next/link";
|
||||
import { notFound } from "next/navigation";
|
||||
import {
|
||||
Armchair,
|
||||
ArrowRight,
|
||||
Building2,
|
||||
ChartLine,
|
||||
ChevronRight,
|
||||
Landmark,
|
||||
LayoutList,
|
||||
@@ -54,7 +56,9 @@ import { UniLogo } from "@/components/uni-logo";
|
||||
import { UrapLogo } from "./urap-logo";
|
||||
import { AkademikAyrinti } from "./akademik-ayrinti";
|
||||
import { NavBaslik } from "./nav-baslik";
|
||||
import { OzetKart } from "@/components/ozet-kart";
|
||||
import { OzetKart, kartSayisi } from "@/components/ozet-kart";
|
||||
import { KartBaglantisi, ortaTabanAciklamasi } from "./taban-karti";
|
||||
import { bolumBazAdi } from "@/lib/slug";
|
||||
import { uniLogoYolu } from "@/lib/uni-logolar";
|
||||
import { Skeleton } from "@/components/ui/skeleton";
|
||||
import type { Program } from "@/types/yokatlas";
|
||||
@@ -468,6 +472,7 @@ export function UniversiteIcerik({
|
||||
}
|
||||
|
||||
const ilkSayfa = sayfa === 1;
|
||||
const { taban } = uni;
|
||||
// Tür iki yerde geçer ve bu bilinçli: H1'in altındaki çip taranmak,
|
||||
// özet paragrafın ilk virgülündeki öbek okunmak içindir. Izgarada "Tür"
|
||||
// kartı yok (şablon 4 hücre, bkz. aşağıdaki ızgara yorumu). Haritada
|
||||
@@ -671,39 +676,75 @@ export function UniversiteIcerik({
|
||||
<div className="relative isolate mt-8 grid grid-cols-2 gap-4 lg:grid-cols-[1fr_1fr_1.35fr] lg:grid-rows-2">
|
||||
<UniversiteKonumHaritasi universite={uni.ad} il={uni.il} />
|
||||
{/* Şablon tam 4 hücre bırakıyor: masaüstünde harita 3. sütunu
|
||||
iki satır boyunca kaplıyor, 5. kart ızgarayı bozar. Fakülte
|
||||
sayısı Program kartının alt satırında; boşalan hücrede
|
||||
Türkiye sırası. Geri kalan akademik ayrıntı alttaki
|
||||
"Akademik göstergeler ›" penceresinde. */}
|
||||
iki satır boyunca kaplıyor, 5. kart ızgarayı bozar. Dört
|
||||
kart öğrencinin sorusuna cevap verir (Bilal, 6 Eki 2026:
|
||||
program/kontenjan adedi ilgi çekmiyor): en seçici bölüm
|
||||
adıyla, orta tabanın yıllar içindeki seyri, doluluk ve
|
||||
Türkiye sırası. Program, birim ve kontenjan sayıları özet
|
||||
paragrafta. Hesap lib/taban-ozeti.ts. */}
|
||||
<dl className="contents">
|
||||
<OzetKart
|
||||
ikon={LayoutList}
|
||||
etiket="Program"
|
||||
deger={sayi(uni.programSayisi)}
|
||||
alt={`${sayi(uni.fakulteSayisi)} birimde`}
|
||||
/>
|
||||
<OzetKart
|
||||
ikon={Users}
|
||||
etiket="Kontenjan"
|
||||
deger={sayi(uni.stats.toplamKontenjan)}
|
||||
alt={`${SON_YIL} toplamı`}
|
||||
/>
|
||||
<OzetKart
|
||||
ikon={Target}
|
||||
etiket="En iyi sıralama"
|
||||
deger={
|
||||
uni.stats.minSira != null ? sayi(uni.stats.minSira) : "—"
|
||||
etiket="En seçici bölüm"
|
||||
{...(taban.enSecici
|
||||
? kartSayisi(taban.enSecici.sira)
|
||||
: { deger: "—" })}
|
||||
alt={
|
||||
taban.enSecici ? (
|
||||
<>
|
||||
<KartBaglantisi
|
||||
href={(() => {
|
||||
const s = bolumSlugFromIsim(taban.enSecici.isim);
|
||||
return s ? `/bolum/${s}` : null;
|
||||
})()}
|
||||
>
|
||||
{bolumBazAdi(taban.enSecici.isim)}
|
||||
</KartBaglantisi>{" "}
|
||||
· {SON_YIL} taban sırası
|
||||
</>
|
||||
) : (
|
||||
"henüz taban oluşmadı"
|
||||
)
|
||||
}
|
||||
alt={`${SON_YIL} taban sırası`}
|
||||
/>
|
||||
<OzetKart
|
||||
ikon={ChartLine}
|
||||
etiket="Orta taban"
|
||||
{...(() => {
|
||||
const son = [...taban.ortaTaban]
|
||||
.reverse()
|
||||
.find((v) => v != null);
|
||||
return son != null ? kartSayisi(son) : { deger: "—" };
|
||||
})()}
|
||||
alt={ortaTabanAciklamasi(taban)}
|
||||
/>
|
||||
{taban.doluluk ? (
|
||||
<OzetKart
|
||||
ikon={Armchair}
|
||||
etiket="Doluluk"
|
||||
deger={`%${taban.doluluk.yuzde}`}
|
||||
alt={
|
||||
taban.doluluk.bosKoltuk > 0
|
||||
? `${sayi(taban.doluluk.kontenjan)} kontenjandan ${sayi(taban.doluluk.bosKoltuk)} koltuk boş kaldı · ${SON_YIL}`
|
||||
: `${sayi(taban.doluluk.kontenjan)} kontenjanın tamamı doldu · ${SON_YIL}`
|
||||
}
|
||||
/>
|
||||
) : (
|
||||
<OzetKart
|
||||
ikon={LayoutList}
|
||||
etiket="Program"
|
||||
deger={sayi(uni.programSayisi)}
|
||||
alt={`${sayi(uni.fakulteSayisi)} birimde`}
|
||||
/>
|
||||
)}
|
||||
{uni.urap ? (
|
||||
<TurkiyeSirasiKarti sira={uni.urap.sira} />
|
||||
) : (
|
||||
<OzetKart
|
||||
ikon={Building2}
|
||||
etiket="Fakülte / birim"
|
||||
deger={sayi(uni.fakulteSayisi)}
|
||||
alt="programların dağıldığı"
|
||||
ikon={Users}
|
||||
etiket="Kontenjan"
|
||||
deger={sayi(uni.stats.toplamKontenjan)}
|
||||
alt={`${SON_YIL} toplamı`}
|
||||
/>
|
||||
)}
|
||||
</dl>
|
||||
|
||||
Reference in New Issue
Block a user