Commits
2026-09-17
feat: 🏫 follow the backend split between a catalog course and a şube×ders instance - a course row is now the catalog (title, kind, subjects, notes, club/etüt members); attaching it to a class mints the instance that actually carries enrollments, exams, homework, lesson sessions, roll call, ders_saati and the karne flag - new src/api/instances: /instances/me, one instance with its policy PATCH, and the enrollment, exam, homework, session and teacher routes that moved off /courses/{id} - new src/api/academic-years: year CRUD plus archive and the rollover that carries a year's şubeler over with promoted grades - new src/api/rag: thread CRUD, turns, the 202 ask receipt and the SSE url an EventSource takes; plus /ai/capabilities and the course-note reindex - drop the routes the backend no longer serves (/courses/{id}/{enrollments, exams,homework,sessions,teachers}, /classes/{id}/courses) and add the club/etüt membership tier at /courses/{id}/members - rename course to class_course on exams, homework, sessions and roll call; a class links an academic year, a dönem lives inside one, and an exam names the dönem it is filed in - new /instances/$id page holds what left the course page: exams, homework, sessions, roster and staffing, with ders_saati and counts_toward_karne saved optimistically from local signals - new /management/academic-years: years, sınıf-geçme pairs, archiving, and a rollover that reports how many şubeler and students it carried - karne tab on /marks with a dönem picker, the ders_saati-weighted average and the verdict; devamsızlık day counts and their limits on the attendance report - exam and homework creation pick a şube instead of a catalog course, through one shared instance-option loader; the exam form asks for the dönem - settings gain branş, excuse kinds, the per-dönem absence day limits and the school timezone; limits gain the rag tier - contract fixtures build the whole chain now: year → dönem → şube → attached course → instance → examBurak Boduroğlu · 211d704
feat: 🏫 follow the backend split between a catalog course and a şube×ders instance
- a course row is now the catalog (title, kind, subjects, notes, club/etüt
members); attaching it to a class mints the instance that actually carries
enrollments, exams, homework, lesson sessions, roll call, ders_saati and the
karne flag
- new src/api/instances: /instances/me, one instance with its policy PATCH, and
the enrollment, exam, homework, session and teacher routes that moved off
/courses/{id}
- new src/api/academic-years: year CRUD plus archive and the rollover that
carries a year's şubeler over with promoted grades
- new src/api/rag: thread CRUD, turns, the 202 ask receipt and the SSE url an
EventSource takes; plus /ai/capabilities and the course-note reindex
- drop the routes the backend no longer serves (/courses/{id}/{enrollments,
exams,homework,sessions,teachers}, /classes/{id}/courses) and add the
club/etüt membership tier at /courses/{id}/members
- rename course to class_course on exams, homework, sessions and roll call;
a class links an academic year, a dönem lives inside one, and an exam names
the dönem it is filed in
- new /instances/$id page holds what left the course page: exams, homework,
sessions, roster and staffing, with ders_saati and counts_toward_karne
saved optimistically from local signals
- new /management/academic-years: years, sınıf-geçme pairs, archiving, and a
rollover that reports how many şubeler and students it carried
- karne tab on /marks with a dönem picker, the ders_saati-weighted average and
the verdict; devamsızlık day counts and their limits on the attendance report
- exam and homework creation pick a şube instead of a catalog course, through
one shared instance-option loader; the exam form asks for the dönem
- settings gain branş, excuse kinds, the per-dönem absence day limits and the
school timezone; limits gain the rag tier
- contract fixtures build the whole chain now: year → dönem → şube → attached
course → instance → exam2026-09-15
chore: 🔧 load live API contract skill in Claude Code - mirror .agents/skills/check-api-contract into .claude/skills so Claude Code picks it up alongside Codex - list check-api-contract in CLAUDE.md and AGENTS.md skill index, with a note to check the live OpenAPI before claiming an endpoint is missingBurak Boduroğlu · c830147
chore: 🔧 load live API contract skill in Claude Code - mirror .agents/skills/check-api-contract into .claude/skills so Claude Code picks it up alongside Codex - list check-api-contract in CLAUDE.md and AGENTS.md skill index, with a note to check the live OpenAPI before claiming an endpoint is missing
2026-09-13
2026-07-26
chore: 🔗 auto-mirror .claude/skills → .codex/skills, add docs map - add scripts/sync-skills.ts: mirror .claude/skills → .codex/skills, --check mode - add bun run sync-skills / check-skills scripts - add .githooks/pre-commit blocking skill drift; prepare wires core.hooksPath - CLAUDE.md/AGENTS.md: mark .claude/skills as source of truth, list docs/ areasBurak Boduroğlu · 4b79083
chore: 🔗 auto-mirror .claude/skills → .codex/skills, add docs map - add scripts/sync-skills.ts: mirror .claude/skills → .codex/skills, --check mode - add bun run sync-skills / check-skills scripts - add .githooks/pre-commit blocking skill drift; prepare wires core.hooksPath - CLAUDE.md/AGENTS.md: mark .claude/skills as source of truth, list docs/ areas
docs: 🔧 sync skill mirror and align rulebook skills path - sync .codex/skills/commit-workflow to current pre-approved-commit rules (was stale mandatory-approval version) - align AGENTS.md Skills section to mirror CLAUDE.md: .claude/skills primary, .codex/skills mirrorBurak Boduroğlu · 1905c94
docs: 🔧 sync skill mirror and align rulebook skills path - sync .codex/skills/commit-workflow to current pre-approved-commit rules (was stale mandatory-approval version) - align AGENTS.md Skills section to mirror CLAUDE.md: .claude/skills primary, .codex/skills mirror
docs: 🔧 bun-only rule and pre-approved commit gateBurak Boduroğlu · 3c43d12
docs: 🔧 bun-only rule and pre-approved commit gate - Codify bun/bunx-only (no npm/npx/yarn/pnpm) in CLAUDE.md + AGENTS.md - Loosen commit-workflow: commits no longer need a per-commit ask; approval now required only for risky git ops (force-push, history rewrite, branch deletion, destructive reset/clean)
refactor: 📚 docs restructure, CLAUDE.md/AGENTS.md refactor, Codex skill sync - reorganize docs/ into backend/, frontend/, ui/, auth/ subfolders - update all cross-references to match new doc paths - CLAUDE.md becomes lightweight rulebook (gotchas + skill pointers) - AGENTS.md mirrors CLAUDE.md for Codex/OpenCode - move detailed rules into domain skills (progressive disclosure) - add baseline SolidJS rules + performance to solidjs-pitfalls skill - add naming/file structure to ui-conventions skill - copy skills to .codex/skills/ for Codex CLIBurak Boduroğlu · 87fd37d
refactor: 📚 docs restructure, CLAUDE.md/AGENTS.md refactor, Codex skill sync - reorganize docs/ into backend/, frontend/, ui/, auth/ subfolders - update all cross-references to match new doc paths - CLAUDE.md becomes lightweight rulebook (gotchas + skill pointers) - AGENTS.md mirrors CLAUDE.md for Codex/OpenCode - move detailed rules into domain skills (progressive disclosure) - add baseline SolidJS rules + performance to solidjs-pitfalls skill - add naming/file structure to ui-conventions skill - copy skills to .codex/skills/ for Codex CLI
feat: 🌐 dashboard i18n (TR/EN) and agent approval scope in AGENTS.md - add copy(), countLabel(), percentLabel() helpers for bilingual text - localize all dashboard strings: labels, titles, tooltips, Aria labels, day names - server ping status stored in English, displayed via copy() - PortalCard move buttons respect locale - AGENTS.md: define pre-approved workspace edits, commit-only approval gateBurak Boduroğlu · c4b3ac8
feat: 🌐 dashboard i18n (TR/EN) and agent approval scope in AGENTS.md - add copy(), countLabel(), percentLabel() helpers for bilingual text - localize all dashboard strings: labels, titles, tooltips, Aria labels, day names - server ping status stored in English, displayed via copy() - PortalCard move buttons respect locale - AGENTS.md: define pre-approved workspace edits, commit-only approval gate
refactor: 🧹 split AGENTS.md monolith into loadable skill files - condense AGENTS.md to hard constraints + on-demand reference index - extract commit-workflow, api-layer, solidjs-pitfalls, ui-conventions, dashboard-design into .claude/skills/<name>/SKILL.md - add thin CLAUDE.md entry point delegating to AGENTS.mdBurak Boduroğlu · 1f9dcb1
refactor: 🧹 split AGENTS.md monolith into loadable skill files - condense AGENTS.md to hard constraints + on-demand reference index - extract commit-workflow, api-layer, solidjs-pitfalls, ui-conventions, dashboard-design into .claude/skills/<name>/SKILL.md - add thin CLAUDE.md entry point delegating to AGENTS.md
2026-07-24
feat: 📅 appointment booking, calendar sync, cancel/reject records - mirror the backend appointments contract: 12 endpoints under src/api/appointments (publish/list/delete slots, book, list, approve/reject/cancel, reschedule + accept/decline), types + LIMITS, full API tests - /appointments page, role-scoped: teachers publish one-off/weekly-repeat slots and manage requests; students/parents book, cancel, accept or decline a reschedule - publish/book/reschedule side panels; client-side 52-occurrence cap and future-time validation; errors surface inside the panel - calendar sync: appointments layered into the month calendar grid and the right-nav calendar panel (violet accent, .latest reads, 30s poll) - cancel + reject capture an optional reason; ConfirmDialog gains a reason prompt, a configurable icon, and opt-in backdrop dismiss - cancellation/rejection record (who + reason) shown in a Details dialog from the row's three-dot menu - appointment-status + datetime-input lib helpers; EN/TR i18n; nav item in the classes and parent groups; role-scope-matrix docAhmet Kaan Gümüş · d50ee5b
feat: 📅 appointment booking, calendar sync, cancel/reject records - mirror the backend appointments contract: 12 endpoints under src/api/appointments (publish/list/delete slots, book, list, approve/reject/cancel, reschedule + accept/decline), types + LIMITS, full API tests - /appointments page, role-scoped: teachers publish one-off/weekly-repeat slots and manage requests; students/parents book, cancel, accept or decline a reschedule - publish/book/reschedule side panels; client-side 52-occurrence cap and future-time validation; errors surface inside the panel - calendar sync: appointments layered into the month calendar grid and the right-nav calendar panel (violet accent, .latest reads, 30s poll) - cancel + reject capture an optional reason; ConfirmDialog gains a reason prompt, a configurable icon, and opt-in backdrop dismiss - cancellation/rejection record (who + reason) shown in a Details dialog from the row's three-dot menu - appointment-status + datetime-input lib helpers; EN/TR i18n; nav item in the classes and parent groups; role-scope-matrix doc
docs: 📝 local-signal pattern for live save-on-click togglesAhmet Kaan Gümüş · 494ba28
docs: 📝 local-signal pattern for live save-on-click toggles
Companion to the resource.latest rule (#6): the mutation side. An inline
switch that PATCHes one field must not refetch() the shared resource
(re-suspends → page spinner) nor mutate({...res, field}) it — mutating a
shared resource changes its identity, so every other createResource whose
source reads it re-runs and refetches, cascading the same spinner. Use a
local signal synced via createEffect, flipped optimistically, reverted on
failure. One PATCH, zero GETs, no success toast. Documented after the exam
finished-review toggle hit this.docs: 📝 warn agents about resource.latest vs Suspense-blankingAhmet Kaan Gümüş · 43b0ca1
docs: 📝 warn agents about resource.latest vs Suspense-blanking - add SolidJS rule 6: a bare resource() re-suspends on every refetch (initialValue does not stop it); when read outside a <Suspense> in an always-mounted shell/badge it blanks the whole page per poll - rule: shell/badge reads of a polled resource use resource.latest, page-body reads under the page <Suspense> use resource()
2026-07-23
fix: 🐛 clearer message read state and exam finish dialog - auto-mark opened received messages read (effect gated on message id so manual "mark as unread" is not undone) - add mark-as-read/unread toggle button to the mail detail action bar; widen detail onAction to accept read - add ConfirmDialog description prop (was hardcoded confirm.review) - exam finish dialog now says "Yes, finish exam" with a plain-words hint that answers are turned in, destructive variant - new i18n keys attempt.finishConfirm/finishHint, messages.markAsRead/markAsUnread (EN+TR) - code map: add messages, homework component dirsAhmet Kaan Gümüş · 11850f1
fix: 🐛 clearer message read state and exam finish dialog - auto-mark opened received messages read (effect gated on message id so manual "mark as unread" is not undone) - add mark-as-read/unread toggle button to the mail detail action bar; widen detail onAction to accept read - add ConfirmDialog description prop (was hardcoded confirm.review) - exam finish dialog now says "Yes, finish exam" with a plain-words hint that answers are turned in, destructive variant - new i18n keys attempt.finishConfirm/finishHint, messages.markAsRead/markAsUnread (EN+TR) - code map: add messages, homework component dirs
style: 🎨 align table pages and calendar densityBurak Boduroğlu · 3a94397
style: 🎨 align table pages and calendar density - move table page titles and actions into the shared DataTable header area - standardize table toolbar controls to h-9 rounded-lg - restyle shared table surfaces, headers, rows, search, and filters - align homework list actions and shell styling with courses and exams - compact the calendar layout so it fits a 15.6 inch screen - document the table header and toolbar sizing rule in AGENTS.md
2026-07-22
feat: ✨ add homework navigation and UIBurak Boduroğlu · 165e1dc
feat: ✨ add homework navigation and UI - add sidebar homework route with dedicated icon and route label - add course detail homework tab with list and create actions - add global homework page with create side panel and localized copy - document page header button sizing rules
feat: ✨ add homework API coverageBurak Boduroğlu · 6d0e29c
feat: ✨ add homework API coverage - add frontend homework endpoint wrappers and shared response types - expose course homework creation and listing helpers - add missing small parity wrappers for note, session, subject, term, and user endpoints - cover new and updated API helpers with targeted vitest tests - update build rule to skip repeat builds after a passing build or explicit user waiver
docs: 📚 update AGENTS.md, README.md, and design documentation files - record Note Import Assistant rules, noise removal, and side panel navigation standards in AGENTS.md - add Note Import Assistant, DrawCanvas freehand drawing, and dashboard card reordering to README.md - update docs/frontend-next-steps.md with recent completion state for Note Import Assistant, HIG dropdown elevation, and table actions header width - add HIG dropdown squircle tokens and table actions column width standards to docs/ui-redesign-tokens.md - record header import button positioning and side panel rules in docs/navigation-patterns.mdBurak Boduroğlu · 02f8667
docs: 📚 update AGENTS.md, README.md, and design documentation files - record Note Import Assistant rules, noise removal, and side panel navigation standards in AGENTS.md - add Note Import Assistant, DrawCanvas freehand drawing, and dashboard card reordering to README.md - update docs/frontend-next-steps.md with recent completion state for Note Import Assistant, HIG dropdown elevation, and table actions header width - add HIG dropdown squircle tokens and table actions column width standards to docs/ui-redesign-tokens.md - record header import button positioning and side panel rules in docs/navigation-patterns.md
2026-07-21
feat: 🎨 editable freehand drawings for notes and text examsAhmet Kaan Gümüş · 3758bf0
feat: 🎨 editable freehand drawings for notes and text exams - add a canvas drawing pad (pen, eraser, 5 colors, 3 widths, undo, clear) that saves a PNG with its stroke JSON embedded in a tEXt chunk, so a saved drawing displays as a normal image and reopens for editing - lib/png-meta embeds/extracts PNG text chunks (crc32); draw-stroke gains DrawScene + parseScene; drawing-file turns canvas+scene into a PNG File and parses stored bytes back to a scene (all pure, unit-tested) - reopened drawings rescale to the current pad (aspect preserved); when editing you can clear a drawing and save the blank to erase it - notes: draw new attachments and edit saved *.hzdraw.png ones in place (create-new-then-delete-old, no data loss); PNG/JPEG device export - teacher exam questions: draw or re-edit the question illustration - student text answers: draw the answer in the exam room, reopen to edit or remove; teacher sees it in the grading answer sheet - answer-image api wrappers + question-image blob fetch, answer_image on AttemptAnswer/StudentAnswer, EN/TR i18n keys - DrawCanvas is its own lazy chunk (~2.6KB gzip); main bundle unchanged
style: 🎨 move teacher assign button to section disclosure header and update AGENTS.md ruleBurak Boduroğlu · 0ee3858
style: 🎨 move teacher assign button to section disclosure header and update AGENTS.md rule - update CourseTeachersPanel and course-detail-page to place teacher assignment button in SectionDisclosure header actions - remove redundant section title block inside CourseTeachersPanel - update AGENTS.md rulebook with strict UI rule for disclosure header action placement
feat: 📜 update API testing guidelines and enforce mandatory tests for endpoint changesBurak Boduroğlu · 995410eBrowse files
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-19
feat: ✨ align backend features and unify data tablesBurak Boduroğlu · 1e2bd98
feat: ✨ align backend features and unify data tables - add course kind, capacity, draft exam, image metadata, and Pomodoro UI wiring - move list/table screens to shared TanStack DataTable with search, sorting, column visibility, and pagination - remove page-level table primitives from app screens and document DataTable rule - make student, attendance, staff-work, course, exam, term, and report tables use the same DataTable behavior - fix report lookup table loading without input-triggered fetches or invalid limit params - update Turkish sidebar labels for Notlar, Yoklamalar, and Mesailer
2026-07-16
docs: 📝 plan note file attachment frontend workBurak Boduroğlu · 2c64b3a
docs: 📝 plan note file attachment frontend work - document backend note file attachment support and minimal frontend scope - add reader-dialog attachment plan with native FormData and backend caps - refresh agent docs wording for completed audit plus follow-up notes
2026-07-15
feat: ✨ enhance dashboard documentation - clarify dashboard structure, role scoping, and design principles; update navigation patterns and role scope matrix for consistencyBurak Boduroğlu · 5eb7512
feat: ✨ enhance dashboard documentation - clarify dashboard structure, role scoping, and design principles; update navigation patterns and role scope matrix for consistency
docs: 📝 sync docs with recent UI changes (attendance, roll call, disclosures) - AGENTS.md: add project docs section referencing active docs, UI rules, disclosure behavior, attendance status metadata - README: add course detail page entry, session/attendance features, update disclosure rule - frontend-next-steps: add backend contract checkpoints, session/attendance notes, renumber priorities - navigation-patterns: add lesson session rules, update disclosure/button radius guidelines - ui-redesign-tokens: update accent/radius tokens, add attendance and header action notesBurak Boduroğlu · 533f4b2
docs: 📝 sync docs with recent UI changes (attendance, roll call, disclosures) - AGENTS.md: add project docs section referencing active docs, UI rules, disclosure behavior, attendance status metadata - README: add course detail page entry, session/attendance features, update disclosure rule - frontend-next-steps: add backend contract checkpoints, session/attendance notes, renumber priorities - navigation-patterns: add lesson session rules, update disclosure/button radius guidelines - ui-redesign-tokens: update accent/radius tokens, add attendance and header action notes
2026-07-13
feat: ✨ improve user search and shadcn wrappersBurak Boduroğlu · 944aa14
feat: ✨ improve user search and shadcn wrappers - document shadcn-solid as the canonical UI primitive standard - add shadcn-style dialog, alert-dialog, combobox, and popover wrappers - move form and confirm dialogs onto the shadcn wrapper API - add resilient user search flows for admin users, marks lookup, enrollment, and attendance - polish dashboard cards, page headers, and tables for the dark sidebar shell
2026-07-12
chore: 🧹 enforce bun-only workflowBurak Boduroğlu · ac5273f
chore: 🧹 enforce bun-only workflow - remove npm package lock so bun.lock is the only dependency lockfile - update agent pre-commit check to use bun run build
docs: 📝 add agent workflow guidelinesBurak Boduroğlu · 5ed2aa6
docs: 📝 add agent workflow guidelines - document repository stack, routing, UI, and dependency constraints - capture SolidJS, file structure, API layer, and performance rules - define Podman container workflow and commit approval requirements