forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on mainFiltered to src/lib/exam-labels.tsClear filter

2026-09-22

fix: 🐛 UX pass from desktop and phone QA - lists: the /exams pager no longer snaps back to page 1 (a fresh rows array reset TanStack's page index); DataTable owns paging and resets only on sort, search or pageResetKey - list search, page, sort, filters, detail tabs and calendar view/date live in the URL (lib/url-state.ts), so Back and refresh keep them - DataTable: aria-sort, "no results for X" empty state with a clear action, no nested scroller, unboxed column-menu-only toolbar, inline status pills on phone cards, column min widths on tablets - courses filter reads "Şube: Tümü / Şubesi olan / Şubesi olmayan"; per-tab exam empty states; upcoming events soonest first - phone shell: content clears the quick-action button, which also hides for the /ai/study and message composers; opaque search dialog; the shell title is the page h1 when a page has none; skip link lands past the header; menu sheet makes the page behind it inert - touch: variant (coarse pointer or narrow screen) keeps 16px inputs and 44px targets on landscape phones and tablets; combobox list and /ai/studio producer no longer widen the page; heatmap labels don't collide - notifications: popover focuses itself, not "Tümünü sil", which now asks first; labelled theme buttons and dismiss targets - settings no longer look dirty on load and warn before leaving with real changes; exam create preselects the current term; exam kinds and meal keys show Turkish labels - homework grading has no "Tamamlandı" default for non-submitters; class edit shows the assigned homeroom teacher; admin demotion warns - instance "Ders saati" saves on Enter/Kaydet instead of blur and the karne switch confirms first - API 404s show "Kayıt bulunamadı" with a link back to the list instead of a retry; neutral confirm/discard copy; compose asks before discarding a draft; staff on student-only pages get an explanation - homework, calendar, dashboard deadlines and notifications name the class ("Matematik — 10-B") - dashboard charts include graded exams without a start time, ordered by id creation time; class card shows student counts - "Yakında" filler columns and KPI cards removed from management lists; marks split into average, band and exam count; teachers list the courses they teach; class filter on attendance and pomodoro listsBurak Boduroğlu · 37148ac
fix: 🐛 UX pass from desktop and phone QA
- lists: the /exams pager no longer snaps back to page 1 (a fresh rows
  array reset TanStack's page index); DataTable owns paging and resets
  only on sort, search or pageResetKey
- list search, page, sort, filters, detail tabs and calendar view/date
  live in the URL (lib/url-state.ts), so Back and refresh keep them
- DataTable: aria-sort, "no results for X" empty state with a clear
  action, no nested scroller, unboxed column-menu-only toolbar, inline
  status pills on phone cards, column min widths on tablets
- courses filter reads "Şube: Tümü / Şubesi olan / Şubesi olmayan";
  per-tab exam empty states; upcoming events soonest first
- phone shell: content clears the quick-action button, which also hides
  for the /ai/study and message composers; opaque search dialog; the
  shell title is the page h1 when a page has none; skip link lands past
  the header; menu sheet makes the page behind it inert
- touch: variant (coarse pointer or narrow screen) keeps 16px inputs
  and 44px targets on landscape phones and tablets; combobox list and
  /ai/studio producer no longer widen the page; heatmap labels don't
  collide
- notifications: popover focuses itself, not "Tümünü sil", which now
  asks first; labelled theme buttons and dismiss targets
- settings no longer look dirty on load and warn before leaving with
  real changes; exam create preselects the current term; exam kinds and
  meal keys show Turkish labels
- homework grading has no "Tamamlandı" default for non-submitters; class
  edit shows the assigned homeroom teacher; admin demotion warns
- instance "Ders saati" saves on Enter/Kaydet instead of blur and the
  karne switch confirms first
- API 404s show "Kayıt bulunamadı" with a link back to the list instead
  of a retry; neutral confirm/discard copy; compose asks before
  discarding a draft; staff on student-only pages get an explanation
- homework, calendar, dashboard deadlines and notifications name the
  class ("Matematik — 10-B")
- dashboard charts include graded exams without a start time, ordered
  by id creation time; class card shows student counts
- "Yakında" filler columns and KPI cards removed from management lists;
  marks split into average, band and exam count; teachers list the
  courses they teach; class filter on attendance and pomodoro lists

2026-09-15

feat: 🧭 regroup sidebar into labelled sections and fix raw UI copy - split the 20-item Operasyon accordion into short, always-open sections (Okul yönetimi, Eğitim ve içerik, Öğrenci takibi, Okul hizmetleri, Kurum, Yapay zekâ); fold state persists, active section never folds - move every "yakında" entry into one trailing Yakında section, folded - move the collapse toggle under the account chip; logo header stays 45px - localize module packages/names and built-in exam kinds in Settings - fix "Henüz Dersler yok", "1 katılımcılar" and "Backend" in user copy - drop list-page eyebrows that repeated the title or named removed groupsBurak Boduroğlu · 9bd8420
feat: 🧭 regroup sidebar into labelled sections and fix raw UI copy
- split the 20-item Operasyon accordion into short, always-open sections
  (Okul yönetimi, Eğitim ve içerik, Öğrenci takibi, Okul hizmetleri, Kurum,
  Yapay zekâ); fold state persists, active section never folds
- move every "yakında" entry into one trailing Yakında section, folded
- move the collapse toggle under the account chip; logo header stays 45px
- localize module packages/names and built-in exam kinds in Settings
- fix "Henüz Dersler yok", "1 katılımcılar" and "Backend" in user copy
- drop list-page eyebrows that repeated the title or named removed groups

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-19

fix: 🐛 nginx API whitelist, answer-sheet join, prefs clear; contract tests - nginx.conf: proxy whitelist gains sessions/work/pomodoro/attendance/ settings/subjects/terms — containerized frontend served index.html for those APIs; new nginx.conf.test.ts (bun test) guards the list - teacher answer sheet: join via tested lib/answer-sheet.ts and list every question, showing unanswered ones too (answers-only merge hid them) - admin user preferences: send "" (not null) to clear theme/language — backend keeps on null; body types now forbid null - live monitor: attemptLabel moved to lib/exam-labels.ts with a real unlimited-attempts guard (max_attempts 0 no longer renders "n / 0") - PATCH body types stop offering null-clears the backend ignores (session/event/course/note/work); only true set_or_clear fields stay nullable - course edit form gains maxlength hints matching backend limits - unit tests for answer-sheet join, exam weight, attempt label; tsconfig excludes src/**/*.test.ts from app typecheckAhmet Kaan Gümüş · 8aa8ff2
fix: 🐛 nginx API whitelist, answer-sheet join, prefs clear; contract tests
- nginx.conf: proxy whitelist gains sessions/work/pomodoro/attendance/
  settings/subjects/terms — containerized frontend served index.html for
  those APIs; new nginx.conf.test.ts (bun test) guards the list
- teacher answer sheet: join via tested lib/answer-sheet.ts and list every
  question, showing unanswered ones too (answers-only merge hid them)
- admin user preferences: send "" (not null) to clear theme/language —
  backend keeps on null; body types now forbid null
- live monitor: attemptLabel moved to lib/exam-labels.ts with a real
  unlimited-attempts guard (max_attempts 0 no longer renders "n / 0")
- PATCH body types stop offering null-clears the backend ignores
  (session/event/course/note/work); only true set_or_clear fields stay
  nullable
- course edit form gains maxlength hints matching backend limits
- unit tests for answer-sheet join, exam weight, attempt label;
  tsconfig excludes src/**/*.test.ts from app typecheck

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

2026-07-12