forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on dcf123a8823bd55f0a656ce94de6b865f41dc08aFiltered to tsconfig.jsonClear filter

2026-07-25

test: 🧪 component tests, so UI behaviour can be proven at allAhmet Kaan Gümüş · 41d1040
test: 🧪 component tests, so UI behaviour can be proven at all

- the repo had no DOM environment, so every UI change was code-read
  verified only; that gap let a wrong option image, a mis-tagged
  subject and a lying save badge all ship
- add jsdom and @solidjs/testing-library as devDependencies (nothing
  ships; entry bundle is 8 bytes smaller)
- split vitest into two projects: node runs the existing *.test.ts
  untouched, dom runs *.test.tsx with the Solid transform. One
  bun run test still runs everything; the contract suite stays out
- first tests cover bugs that actually shipped: a stored subject that
  is no longer pickable shows as disabled and blocks submit, no choice
  is pre-marked correct, submit is blocked until one is, an option
  keeps its own image after the row above it is removed, and the bank
  picker refuses to insert until a subject is explicitly picked
- add data-choice-id to the choice row so a test can assert which
  option an image belongs to without coupling to styling

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

2026-07-11

chore: 🎉 scaffold Vite + SolidJS + TypeScript projectAhmet Kaan Gümüş · 394614a
chore: 🎉 scaffold Vite + SolidJS + TypeScript project

Set up the toolchain for the Hezarfen SPA:

- Bun for install/scripts, Vite for dev/build, tsc --noEmit for checks
- dev server proxies /api/* to the backend on 127.0.0.1:8080 so the
  session cookie stays same-origin and CORS never enters the picture
- entry HTML with dark/light theme metadata and an inline SVG favicon