Commits
Commits on
dcf123a8823bd55f0a656ce94de6b865f41dc08aFiltered to src/components/layout/notification-center.tsxClear filter2026-09-19
fix: 🧪 restore deploy test gateBurak Boduroğlu · 38b2f34
fix: 🧪 restore deploy test gate - align insight report and course-detail tests with the refined inline and panel flows - wait for podcast capabilities before interacting with the Suspense-backed form - bring the notification count badge back within the minimum text-size rule
fix: 🔔 refine messages and notificationsBurak Boduroğlu · 81b2656
fix: 🔔 refine messages and notifications - reorganize the messages page header and notification grouping - add unread states, notification previews, and localized page navigation - remove the redundant topbar back action and improve spacing
2026-09-18
style: 🔎 no text below 11px except avatar initials - 75 uses of 8, 9 and 10px text (nav 'soon' chips, calendar month chips, chart ticks, heatmap labels, message badges, kbd hints) move to 11px - the 16px and 24px initial circles keep 10px so two letters still fit - 12px stays the aim; dense chips and calendar cells need a visual pass before going furtherBurak Boduroğlu · 41a3aba
style: 🔎 no text below 11px except avatar initials - 75 uses of 8, 9 and 10px text (nav 'soon' chips, calendar month chips, chart ticks, heatmap labels, message badges, kbd hints) move to 11px - the 16px and 24px initial circles keep 10px so two letters still fit - 12px stays the aim; dense chips and calendar cells need a visual pass before going further
fix: 🎨 colored text reaches WCAG AA contrast - measured in light mode on the #F7F7F7 page: brand as text 2.5:1, warning 2.0:1, success 3.1:1, destructive 4.2:1 (AA needs 4.5:1) - new text tokens primary/success/warning/info/destructive-text: darker in light mode, equal to the fills in dark mode; fills stay as they are - light primary text is --brand-ink, or for a custom palette color the darkest-needed step of its hue (accentTextLightness, tested across hues) - every text-{primary,success,warning,info,destructive} utility moves to its -text token (253 uses); opacity variants stay decorative - token doc records the ruleBurak Boduroğlu · 9f9eebf
fix: 🎨 colored text reaches WCAG AA contrast
- measured in light mode on the #F7F7F7 page: brand as text 2.5:1,
warning 2.0:1, success 3.1:1, destructive 4.2:1 (AA needs 4.5:1)
- new text tokens primary/success/warning/info/destructive-text: darker in
light mode, equal to the fills in dark mode; fills stay as they are
- light primary text is --brand-ink, or for a custom palette color the
darkest-needed step of its hue (accentTextLightness, tested across hues)
- every text-{primary,success,warning,info,destructive} utility moves to
its -text token (253 uses); opacity variants stay decorative
- token doc records the rule2026-09-12
feat: 🎨 recompose the screens onto the Figma design, and name what is missingBurak Boduroğlu · 777e8b5
feat: 🎨 recompose the screens onto the Figma design, and name what is missing - the earlier migration recolored the app but left every layout alone, so the pages still read as the old product wearing new tokens; the screens are now built to the shape their Figma frame actually shows - classes, courses and staff work move from tables and link lists to the designed card grids; exams, homework, the question bank and the user roster gain the tab rows the design puts above them, every one computed from data already fetched rather than a new round trip - the admin home becomes the designed hero: a centered heading, a live student search and quick-link columns over an Analitik section - teacher, student and parent homes gain what real data supports — a deduped student count and the pending appointment requests addressed to a teacher, a week of focus minutes for a student, and for a parent a child selector, an attendance card and a fee-plan card - the marks report splits into Genel and Derslere göre, attendance leads with the four rates the design names, and the calendar's week view is a real timetable instead of a strip of coloured dots - notification panel, a branded 404, a 403 and a 500 card, and a banner driven by the browser's own online/offline events - where no endpoint can fill a value, the element is drawn and marked "yakında" rather than dropped, so a reader can tell a missing number from an unbuilt feature; controls that would do nothing are disabled beside the badge instead of sitting there inert - a delta arrow with no baseline and a progress bar with no ratio carry no information, so they are left out rather than badged; settings keeps its three working tabs instead of growing four empty ones - two recurring bugs fixed again where the new layouts met them: name cells with no truncate overlapping the column beside them, and two raw rose badges that had escaped the token sweep Every screen was walked in a browser at 1440px and 393px against its Figma frame, as each role it belongs to. Nothing here invents a value the API cannot serve.
2026-08-02
fix: 🌍 locale-aware notification dates and a real pomodoro countdown - notification-center: date/time formatting used toLocaleString([], …), which ignores the app's language toggle and follows the browser's own locale instead — now threaded through the user's actual preference - notification-center: hardcoded Turkish strings (title, empty state, clear-all, dismiss) moved to i18n so English mode renders correctly too - exam-detail-page: results tab's DataTable used PageSpinner as its Suspense fallback instead of DataTableSkeleton, same size-mismatch jump as the earlier course-detail panels - pomodoro-page: the clock now counts down from a configurable target (15/25/45/60 min presets or a custom value, persisted locally) instead of counting up forever; flips to a highlighted "+overtime" readout and fires one flash once the target is crossed, matching the technique's fixed work interval — the backend session itself is still an open-ended start/finish stopwatch, this only changes the displayBurak Boduroğlu · 6cb863c
fix: 🌍 locale-aware notification dates and a real pomodoro countdown - notification-center: date/time formatting used toLocaleString([], …), which ignores the app's language toggle and follows the browser's own locale instead — now threaded through the user's actual preference - notification-center: hardcoded Turkish strings (title, empty state, clear-all, dismiss) moved to i18n so English mode renders correctly too - exam-detail-page: results tab's DataTable used PageSpinner as its Suspense fallback instead of DataTableSkeleton, same size-mismatch jump as the earlier course-detail panels - pomodoro-page: the clock now counts down from a configurable target (15/25/45/60 min presets or a custom value, persisted locally) instead of counting up forever; flips to a highlighted "+overtime" readout and fires one flash once the target is crossed, matching the technique's fixed work interval — the backend session itself is still an open-ended start/finish stopwatch, this only changes the display
2026-07-30
feat: ✨ align UI and table workflowsBurak Boduroğlu · 23adf31
feat: ✨ align UI and table workflows - apply bDash tokens across shared controls and application shell - add compact persistent tables, pagination, and sticky actions - add durable detail routes and operational side panels
2026-07-28
feat(nav): 🧭 rebuild role navigationBurak Boduroğlu · 53173ce
feat(nav): 🧭 rebuild role navigation - add role-specific primary links and grouped sidebar sections - expose student, school, meal, appointment, and legacy redirects - move message and notification controls into the header
feat: 🎨 Knowvio-style role-based dashboard, sidebar, and theme - rebuild dashboard-page as a role-scoped board: Highlights stat cards with real-data sparklines, Progress overview (course averages / class sizes), attendance & workload split donuts, and an Upcoming Deadlines DataTable merging exams/events/homework/appointments - restore chart-area-trend/bar/progress-ring, i18n their empty states, drop unused chart-metric-cards - add role-aware fetches (admin/manager reach exams+homework), a bottom-center Refresh that refetches all resources, and a Soru Havuzu (question bank) quick panel - simplify sidebar to the curated primary items + Messages unread badge; drop the guide card and in-sidebar theme toggle - add a header back button; unify top-bar action buttons as bordered - rebrand accent to Knowvio orange and adopt Space Grotesk + Inter fonts - update dashboard-design skill + ui tokens to allow real-data chartsBurak Boduroğlu · f9872a0
feat: 🎨 Knowvio-style role-based dashboard, sidebar, and theme - rebuild dashboard-page as a role-scoped board: Highlights stat cards with real-data sparklines, Progress overview (course averages / class sizes), attendance & workload split donuts, and an Upcoming Deadlines DataTable merging exams/events/homework/appointments - restore chart-area-trend/bar/progress-ring, i18n their empty states, drop unused chart-metric-cards - add role-aware fetches (admin/manager reach exams+homework), a bottom-center Refresh that refetches all resources, and a Soru Havuzu (question bank) quick panel - simplify sidebar to the curated primary items + Messages unread badge; drop the guide card and in-sidebar theme toggle - add a header back button; unify top-bar action buttons as bordered - rebrand accent to Knowvio orange and adopt Space Grotesk + Inter fonts - update dashboard-design skill + ui tokens to allow real-data charts
2026-07-25
fix: 🔍 correct 21 defects the last 24h of commits shipped greenAhmet Kaan Gümüş · f9efbbc
fix: 🔍 correct 21 defects the last 24h of commits shipped green Adversarial audit of 49f9928..ffb1d47: four verifiers found 15 defects the 317-test suite passed over, and a two-lens panel found 6 more in the fixes themselves. Three of those commits claimed fixes they did not deliver. - exam room: "saved" was still a lie. Acks were keyed on question_id alone, so a timed-out send's late frame settled the retry and the badge claimed Saved for a payload the server never took. Replaced with per-send FIFO plus an integer debt count per question: superseded/timed-out sends are disowned and their frames paid off before any live send settles. failAll now takes a required cause — an unattributed error frame keeps the debt (the socket stays open), only a real close clears it - shell feed leaked across accounts: the provider outlived logout, so user B saw user A's inbox, badge and appointments until the refetch landed. The feed is now built inside a memo keyed on the user id, so a switch disposes it rather than relying on a mutate call - appointments offered actions the backend rejects: book on in-progress slots (list filter used where the book guard applies), and a teacher lost reschedule permanently because the backend never clears proposed_* — action availability now derives from a standing proposal, in a tested pure gate - every 403 and 404 message was dead: formatApiError returned the per-status generic before consulting the table, so entries added for the question bank never rendered. Table now wins; 8 appointment 409s and the refresh-from-bank 400 localized against the backend's exact strings - request deadline escaped as a raw DOMException because the body read sat outside its try, showing Turkish users an English abort message - unread badge under-counted from a capped inbox page, the two shell badges disagreed, and dismiss-all could not clear a count above ten - students and parents saw their own name on every calendar appointment - question bank stranded the user on an empty page after deleting the last row - tests: 317 -> 336, all new ones watched failing before they passed. One existing test asserted the ack bug as intended behaviour and was rewritten - comments in create-ack-waiter claimed safety properties the code lacked; rewritten to describe actual behaviour Known and accepted: shell events/exams fetch unpaged (~3.37MB/poll at 5000 rows) because the backend cannot express a schedule window. Follow-ups for the backend: starts_after on /events and /exams, and a client seq echoed in the exam ws saved/error frames to replace the debt heuristic with exact identity.
2026-07-24
perf: ⚡ visibility-aware polling and deduped shell feed - add src/lib/create-live-poll.ts: interval runs only while the tab is visible, refetches on tab-back (visibilitychange + focus, 1s dedupe), pauses when hidden; colocated test - appointments-page: 30s raw poll → createLivePoll at 10s, so a cross-actor status change (approve/reject/cancel by the other party) is instant on tab-back instead of up to 30s stale - add src/stores/shell-feed-context.tsx: one ShellFeedProvider holding a single poll for messages/events/exams/appointments/homework, fetched once and read via resource.latest; fetch gated on auth.user() - right-nav + notification-center: drop their duplicate per-component resources and local timers, read from useShellFeed instead — shell goes from ~8 GETs/min across two pollers to ~5 from one - notification-center derives unread by filtering the shared inbox instead of a separate read:false fetchAhmet Kaan Gümüş · e70073f
perf: ⚡ visibility-aware polling and deduped shell feed - add src/lib/create-live-poll.ts: interval runs only while the tab is visible, refetches on tab-back (visibilitychange + focus, 1s dedupe), pauses when hidden; colocated test - appointments-page: 30s raw poll → createLivePoll at 10s, so a cross-actor status change (approve/reject/cancel by the other party) is instant on tab-back instead of up to 30s stale - add src/stores/shell-feed-context.tsx: one ShellFeedProvider holding a single poll for messages/events/exams/appointments/homework, fetched once and read via resource.latest; fetch gated on auth.user() - right-nav + notification-center: drop their duplicate per-component resources and local timers, read from useShellFeed instead — shell goes from ~8 GETs/min across two pollers to ~5 from one - notification-center derives unread by filtering the shared inbox instead of a separate read:false fetch
chore: ⬆️ update all dependencies; migrate Tailwind v3 → v4 - bump within-range: @tanstack/solid-router 1.170.18, @kobalte/core 0.13.12, solid-js 1.9.14, tailwind-merge 3.6.0, autoprefixer/postcss/ vite-plugin-solid patches - @types/node 24 → 26 (types only) - vite 6 → 8: no config change needed; build/proxy/alias intact, vitest 4 stays compatible (246 tests green) - tailwindcss 3 → 4 via official @tailwindcss/upgrade codemod: - CSS-first config: theme moved into @theme in src/index.css, tailwind.config.js deleted, dark selector kept via @custom-variant - postcss plugin tailwindcss → @tailwindcss/postcss; autoprefixer removed (v4 built-in) - 81 files auto-migrated: shadow-sm→shadow-xs, min-w-[7.5rem]→min-w-30, /[0.08]→/8 opacity shorthand, data-[expanded]:→data-expanded: - fix codemod false-positive: it rewrote the cva variant="outline" prop string to "outline-solid" in role-badge, course-sessions-panel, my-students-page — reverted to "outline" - verified emitted CSS carries the renamed utilities (data-expanded, color-mix opacity, var(--color-*), shadow-xs)Ahmet Kaan Gümüş · b085a74
chore: ⬆️ update all dependencies; migrate Tailwind v3 → v4
- bump within-range: @tanstack/solid-router 1.170.18, @kobalte/core
0.13.12, solid-js 1.9.14, tailwind-merge 3.6.0, autoprefixer/postcss/
vite-plugin-solid patches
- @types/node 24 → 26 (types only)
- vite 6 → 8: no config change needed; build/proxy/alias intact,
vitest 4 stays compatible (246 tests green)
- tailwindcss 3 → 4 via official @tailwindcss/upgrade codemod:
- CSS-first config: theme moved into @theme in src/index.css,
tailwind.config.js deleted, dark selector kept via @custom-variant
- postcss plugin tailwindcss → @tailwindcss/postcss; autoprefixer
removed (v4 built-in)
- 81 files auto-migrated: shadow-sm→shadow-xs, min-w-[7.5rem]→min-w-30,
/[0.08]→/8 opacity shorthand, data-[expanded]:→data-expanded:
- fix codemod false-positive: it rewrote the cva variant="outline"
prop string to "outline-solid" in role-badge, course-sessions-panel,
my-students-page — reverted to "outline"
- verified emitted CSS carries the renamed utilities (data-expanded,
color-mix opacity, var(--color-*), shadow-xs)fix: 🐛 stop shell notifiers from blanking the whole page on refetch - NotificationCenter and RightNav sit beside <Outlet> in AppShell and feed always-rendered unread/today badges from createResource reads - those badges read the resources OUTSIDE any <Suspense>, so a bare resource() re-suspends on every 60s refreshAll() refetch (initialValue does not prevent this) and blanks the entire page for the whole fetch duration — a visible multi-second reload/blank on a real backend, recurring on the clock tick, panel opens, and HMR remounts - read resource.latest in the badge computeds: returns the last value without triggering Suspense, so refetch no longer suspends the page - seed NotificationCenter's four resources with initialValue to match RightNavAhmet Kaan Gümüş · 2114375
fix: 🐛 stop shell notifiers from blanking the whole page on refetch - NotificationCenter and RightNav sit beside <Outlet> in AppShell and feed always-rendered unread/today badges from createResource reads - those badges read the resources OUTSIDE any <Suspense>, so a bare resource() re-suspends on every 60s refreshAll() refetch (initialValue does not prevent this) and blanks the entire page for the whole fetch duration — a visible multi-second reload/blank on a real backend, recurring on the clock tick, panel opens, and HMR remounts - read resource.latest in the badge computeds: returns the last value without triggering Suspense, so refetch no longer suspends the page - seed NotificationCenter's four resources with initialValue to match RightNav
2026-07-23
fix: 🐛 drop deleted items from calendar/message notifiers - notification-center and right-nav loaded events/exams/homework/messages once via createResource and never revalidated, so an item deleted or moved on another page lingered in the notification list and badge - capture each resource's refetch and add a refreshAll() that runs on the existing 60s clock tick (badge self-heals) and whenever the panel/drawer opens (list is fresh on interaction)Ahmet Kaan Gümüş · f0738f4
fix: 🐛 drop deleted items from calendar/message notifiers - notification-center and right-nav loaded events/exams/homework/messages once via createResource and never revalidated, so an item deleted or moved on another page lingered in the notification list and badge - capture each resource's refetch and add a refreshAll() that runs on the existing 60s clock tick (badge self-heals) and whenever the panel/drawer opens (list is fresh on interaction)
fix: 🐛 hide calendar/notification badge for passed events - notifier predicate now excludes ended items: (ends_at ?? starts_at) >= now, instead of >= start-of-today which kept same-day passed events flagged - homework notification drops after its due_at passes - add a 60s reactive clock in right-nav and notification-center so badges clear without a remount; clear interval on cleanupAhmet Kaan Gümüş · e5e4774
fix: 🐛 hide calendar/notification badge for passed events - notifier predicate now excludes ended items: (ends_at ?? starts_at) >= now, instead of >= start-of-today which kept same-day passed events flagged - homework notification drops after its due_at passes - add a 60s reactive clock in right-nav and notification-center so badges clear without a remount; clear interval on cleanup
feat: ✨ solid notification badge indicator without pulsing animationBurak Boduroğlu · 70d6011
feat: ✨ solid notification badge indicator without pulsing animation - remove animate-pulse class from notification badges in NotificationCenter and RightNav - display a clean, solid badge with fixed number display on header and right rail icons