forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on d962efed4b92192039ffdcd6b45cd16a8e2bc3f8Filtered to src/api/types.tsClear filter

2026-07-17

feat: ✨ add event audience selectionBurak Boduroğlu · d3edb45
feat: ✨ add event audience selection

- add event audience typing and create/edit API payload support

- let teachers choose school, role, course, or registration audiences

- show localized audience summaries on event cards and detail pages
feat: ✨ support course kind labelsBurak Boduroğlu · 708f89b
feat: ✨ support course kind labels

- add course kind typing and create/edit API payload support

- let teachers choose course or study when creating and editing courses

- show localized course kind badges in course list and detail views

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
feat: ✨ note attachments and side-panel notebook flow - add note file upload/download API wiring and settings limits - show note file controls in create and read flows - move notebook create, edit, and read views from dialog to side panel - fix dialog close button through the Kobalte close primitive - update docs and copy for note attachment behaviorBurak Boduroğlu · 7992c8f
feat: ✨ note attachments and side-panel notebook flow
- add note file upload/download API wiring and settings limits
- show note file controls in create and read flows
- move notebook create, edit, and read views from dialog to side panel
- fix dialog close button through the Kobalte close primitive
- update docs and copy for note attachment behavior

2026-07-15

feat: ✨ student-only pages, session PATCH, manager staff-work log, beforeLoad guards - hasExactRole helper + RouteGuard exactRole prop for student-only gates - marks + attendance: RouteGuard exactRole=student + beforeLoad redirect - side-nav: exactRole support on nav items; marks/attendance student-only - router: beforeLoad guards on /marks (student), /attendance (student), /work (teacher+) - staff-work page: manager+ work-log lookup (GET /work/{user}, PATCH/DELETE entries) - course-sessions-panel: edit session via PATCH /sessions/{id}, inline schedule parse - i18n: staff work keys, session editBurak Boduroğlu · 340431f
feat: ✨ student-only pages, session PATCH, manager staff-work log, beforeLoad guards
- hasExactRole helper + RouteGuard exactRole prop for student-only gates
- marks + attendance: RouteGuard exactRole=student + beforeLoad redirect
- side-nav: exactRole support on nav items; marks/attendance student-only
- router: beforeLoad guards on /marks (student), /attendance (student), /work (teacher+)
- staff-work page: manager+ work-log lookup (GET /work/{user}, PATCH/DELETE entries)
- course-sessions-panel: edit session via PATCH /sessions/{id}, inline schedule parse
- i18n: staff work keys, session edit
refactor: 🔄 server-pagination api pattern + role-scope-matrix doc - src/api/page.ts: shared Page<T>, PageParams, pageQuery, normalizePage - src/lib/list-page.ts: loadListPage helper (server or client pagination) - all listing API functions: accept PageParams, return Page<T> - pages: adopt loadListPage for pagination state management - docs/role-scope-matrix.md: full role access matrix per page/nav/dashboard - docs/frontend-next-steps: sync pagination audit statusBurak Boduroğlu · 7befd0c
refactor: 🔄 server-pagination api pattern + role-scope-matrix doc
- src/api/page.ts: shared Page<T>, PageParams, pageQuery, normalizePage
- src/lib/list-page.ts: loadListPage helper (server or client pagination)
- all listing API functions: accept PageParams, return Page<T>
- pages: adopt loadListPage for pagination state management
- docs/role-scope-matrix.md: full role access matrix per page/nav/dashboard
- docs/frontend-next-steps: sync pagination audit status

2026-07-14

feat: ✨ align exams with school settingsBurak Boduroğlu · a0a38de
feat: ✨ align exams with school settings

- add settings API types and read school policy for exam kinds and attendance statuses

- support open exam mode in forms, cards, detail actions, and exam room entry

- add retake controls to exam create/update payloads

- derive async duration from the selected exam window and keep open exams untimed
fix: 🐛 move exam weights to exam kindsBurak Boduroğlu · 3f49c18
fix: 🐛 move exam weights to exam kinds

- remove per-exam weight input and stop sending weight in exam create/update payloads

- accept exam kind weight fields from API and display them next to exam kind labels

- update course, exam, and marks views to tolerate missing per-exam weight

- refresh guide/help copy for exam-kind-based weighting

2026-07-13

fix: 🐛 sync frontend with person-based API responsesBurak Boduroğlu · 64327d6
fix: 🐛 sync frontend with person-based API responses

- update API types for PersonRef attendance, results, attempts, live monitor, and answer sheets

- add person helpers for stable labels and ids across nested user responses

- render attendance and exam result people from PersonRef instead of raw objects

- use server time offset from /time for shared now calculations

- filter dashboard exam counts and previews to enrolled courses for students

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