From 5b8e6edb05b7ab7dd76e331b3c50601b96853c22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Burak=20Boduro=C4=9Flu?= <80620802+burakboduroglu@users.noreply.github.com> Date: Wed, 22 Jul 2026 09:44:32 +0300 Subject: [PATCH] =?UTF-8?q?feat:=20=F0=9F=97=93=EF=B8=8F=20calendar=20mont?= =?UTF-8?q?h=20cells=20with=20event/exam=20pills=20-=20replace=20colored?= =?UTF-8?q?=20dots=20with=20compact=20pill=20badges=20showing=20event/exam?= =?UTF-8?q?=20titles=20-=20add=20+N=20overflow=20count=20when=20multiple?= =?UTF-8?q?=20events=20or=20exams=20fall=20on=20the=20same=20day=20-=20fix?= =?UTF-8?q?=20stale=20reactivity:=20items=20and=20cellSelected=20were=20pl?= =?UTF-8?q?ain=20values=20instead=20of=20signals?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/calendar-page.tsx | 40 +++++++++++++++++++++++++++---------- 1 file changed, 29 insertions(+), 11 deletions(-) diff --git a/src/pages/calendar-page.tsx b/src/pages/calendar-page.tsx index 890be7f..d5bd626 100644 --- a/src/pages/calendar-page.tsx +++ b/src/pages/calendar-page.tsx @@ -142,16 +142,16 @@ function CalendarContent() { {(cell) => { const key = cell.other ? "" : dateKey(new Date(viewYear(), viewMonth(), cell.day)); - const items = cell.other ? null : itemsByDay().get(key); + const items = () => cell.other ? null : itemsByDay().get(key); const cellToday = !cell.other && isToday(cell.day); - const cellSelected = !cell.other && key === selectedKey(); + const cellSelected = () => !cell.other && key === selectedKey(); return ( );