Commits
Commits on
dcf123a8823bd55f0a656ce94de6b865f41dc08aFiltered to src/stores/auth-context.tsxClear filter2026-09-19
chore: 🔑 optional auto sign-in for local development - with VITE_DEV_AUTOLOGIN_USERNAME / _PASSWORD (optional _SCHOOL) in .env.local, bun run dev signs in on the first /auth/me 401, picking the named or first school when the account has several - logout turns it off for the rest of the tab, so the login page stays - behind import.meta.env.DEV: checked that a vite build with .env.local present carries neither the code nor the credentials - .env.local is covered by the existing *.local ignore; README notes itBurak Boduroğlu · 13b80a2
chore: 🔑 optional auto sign-in for local development - with VITE_DEV_AUTOLOGIN_USERNAME / _PASSWORD (optional _SCHOOL) in .env.local, bun run dev signs in on the first /auth/me 401, picking the named or first school when the account has several - logout turns it off for the rest of the tab, so the login page stays - behind import.meta.env.DEV: checked that a vite build with .env.local present carries neither the code nor the credentials - .env.local is covered by the existing *.local ignore; README notes it
2026-09-15
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 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-23
fix: 🐛 keep the app alive when /users/me failsAhmet Kaan Gümüş · e4045cc
fix: 🐛 keep the app alive when /users/me fails A non-401 failure on the bootstrap /users/me (e.g. a 429 once the API rate limit trips) threw out of an unguarded resource and blanked the whole tab with no way back but a fresh tab. Now the resource swallows every non-401 error into an error signal and resolves immediately, so it never re-throws during render nor suspends the shell. RouteGuard shows a translated alert with a Try-again button, a root ErrorBoundary backstops anything else, and a non-blocking background timer auto-retries after the server's Retry-After so the tab self-heals once the window rolls over.
2026-07-22
refactor: 🔐 remove setUser, use refresh() for login - remove setUser from auth context; login uses refresh() (GET /me) - eliminates two paths for user stateBurak Boduroğlu · b6bbea6
refactor: 🔐 remove setUser, use refresh() for login - remove setUser from auth context; login uses refresh() (GET /me) - eliminates two paths for user state
2026-07-21
refactor: 🗃️ restructure API layer into domain folders and add vitest coverage - move 110+ flat API endpoints into domain-specific subdirectories (e.g., auth, courses, exams, notes, etc.) - add index.ts exports to each domain folder for clean namespace imports - update 70+ components and pages to use the new domain-based API import paths - add comprehensive vitest unit tests (~150 tests) for all API endpoints using fetch mocking - update AGENTS.md rulebook to mandate domain-based folder structure for future API additions - migrate existing bun:test test files in src/lib/ to vitest for consistencyBurak Boduroğlu · 6452b17
refactor: 🗃️ restructure API layer into domain folders and add vitest coverage - move 110+ flat API endpoints into domain-specific subdirectories (e.g., auth, courses, exams, notes, etc.) - add index.ts exports to each domain folder for clean namespace imports - update 70+ components and pages to use the new domain-based API import paths - add comprehensive vitest unit tests (~150 tests) for all API endpoints using fetch mocking - update AGENTS.md rulebook to mandate domain-based folder structure for future API additions - migrate existing bun:test test files in src/lib/ to vitest for consistency
2026-07-16
feat: ✨ persist user preferencesBurak Boduroğlu · 60e7901
feat: ✨ persist user preferences - add theme and language fields to the user API type - wire PATCH /users/me/preferences for self-managed preferences - save theme and language changes from the preference store to the backend - hydrate local preferences from the authenticated user response
2026-07-12
feat: ✨ rebuild Hezarfen frontend for the full campus backendBurak Boduroğlu · 4deb240
feat: ✨ rebuild Hezarfen frontend for the full campus backend - SolidJS + Vite + TanStack Router + Tailwind/shadcn-solid (Kobalte) - Session cookie auth, role guards, TR/EN i18n, light/dark theme - Notes, events + attendance status chips, admin users search/filter - Courses with roster enrollment; exams created under a course with weight - Report card (/marks) with weighted course averages and overall average - Dashboard KPIs (notes/events/exams/average), wide list panels, guide - Sidebar guide pinned above centered @Hezarfen - 2026 footer - Vite proxy for /auth /users /notes /events /exams /courses /marks