Commits
2026-09-25
feat: 🔎 send the new server filters from the list pagesAhmet Kaan Gümüş · 76f3534
feat: 🔎 send the new server filters from the list pages Events/exams windows, homework due tabs, meals slot, users roles, courses kind/q/taught, appointments teacher/status/window, pomodoro window, messages/boards search, sessions month window — the pages query the server instead of downloading a capped list and filtering in JS. Past/completed tabs read the recent tail (loadCappedTail) because a before-bound sorts ascending server-side.
2026-09-19
perf: ⚡ bound per-row fan-outs and fix capped list reads - mapConcurrent keeps at most 6 requests in flight for marks, member counts, balances and calendar sessions - student marks and class member counts say so when the school is past the fetch cap instead of silently blanking the column - calendar reads events/exams from the visible month onward with no row cap and refetches only when paging backwards; appointments, homework and sessions are no longer cut at 100 - shell notification poll reads 100 homework rows instead of the whole list - dashboard appointments/homework reads match the shell's so they coalesce - payments header resolves a student's name from the profile when the student is not on the loaded pageBurak Boduroğlu · 8e51fe0
perf: ⚡ bound per-row fan-outs and fix capped list reads - mapConcurrent keeps at most 6 requests in flight for marks, member counts, balances and calendar sessions - student marks and class member counts say so when the school is past the fetch cap instead of silently blanking the column - calendar reads events/exams from the visible month onward with no row cap and refetches only when paging backwards; appointments, homework and sessions are no longer cut at 100 - shell notification poll reads 100 homework rows instead of the whole list - dashboard appointments/homework reads match the shell's so they coalesce - payments header resolves a student's name from the profile when the student is not on the loaded page
2026-09-15
fix: 🧩 handle switched-off school modules without blank screens - client tags 403 {error, module} as a module refusal and notifies the modules context, which refetches so nav and gates catch up mid-session; the list is also re-read when a tab comes back after a minute - ModuleGate shows a switched-off card for pages of an off module (routeModule maps paths to modules) instead of a page that can only 403 - homepage and shell feed skip off modules and wait for the module list; refusals read as no data, off-module tiles and panels are left out - class nav entries now carry the classes moduleBurak Boduroğlu · be0d677
fix: 🧩 handle switched-off school modules without blank screens
- client tags 403 {error, module} as a module refusal and notifies the
modules context, which refetches so nav and gates catch up mid-session;
the list is also re-read when a tab comes back after a minute
- ModuleGate shows a switched-off card for pages of an off module
(routeModule maps paths to modules) instead of a page that can only 403
- homepage and shell feed skip off modules and wait for the module list;
refusals read as no data, off-module tiles and panels are left out
- class nav entries now carry the classes modulefix: 🔄 keep tables on screen while their data refreshes - add lib/create-resource: accessor reads .latest, so a resource suspends only on its first load instead of on every refetch or source change - switch every createResource import to it; a row delete or save no longer swaps the table card for its skeleton or resets its page and search - solidjs-pitfalls skill documents the import ruleBurak Boduroğlu · 61b19be
fix: 🔄 keep tables on screen while their data refreshes - add lib/create-resource: accessor reads .latest, so a resource suspends only on its first load instead of on every refetch or source change - switch every createResource import to it; a row delete or save no longer swaps the table card for its skeleton or resets its page and search - solidjs-pitfalls skill documents the import rule
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
2026-07-25
feat: 🔭 ask the shell feed for the next rows, not every rowAhmet Kaan Gümüş · 5d93c16
feat: 🔭 ask the shell feed for the next rows, not every row The feed polls events and exams for the upcoming badge and the calendar dot, and until now `limit` truncated the newest-created end — an event scheduled for tomorrow could sit behind a hundred rows created after it. So the feed asked for everything: ~3.37 MB a poll at 5000 rows apiece, re-fetched on every right-nav tab open. The backend now takes `ends_after`, which keeps the rows whose window has not finished and flips the order to soonest-first, so a limit finally cuts the right end. 50 per source is about the next month at a busy school and roughly 15 KB. Both consumers re-filter against the live clock and sort for themselves, so the order flip reaches neither of them.
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