Commits
2026-09-15
fix: 🔒 sanitize user-written HTML before rendering it - add lib/rich-text with a DOMPurify allow-list, plain-text excerpts and a Markdown-ish to HTML fallback for bodies stored before the rich editor - message bodies and homework submission text went straight to innerHTML; both now pass through sanitizeRichTextBurak Boduroğlu · 78600ff
fix: 🔒 sanitize user-written HTML before rendering it - add lib/rich-text with a DOMPurify allow-list, plain-text excerpts and a Markdown-ish to HTML fallback for bodies stored before the rich editor - message bodies and homework submission text went straight to innerHTML; both now pass through sanitizeRichText
feat: 🏆 pixel-art profile with badge ladders - profile hero gets a pixel-grid brand cover with the avatar overlapping it - stat tiles carry pixelarticons (MIT) glyphs and follow the owner's role: focus/homework/exams for students, lessons/marks/answers for staff - badges regroup into one ladder card per counter with bronze/silver/gold rungs, a level title from the earned share, and a "next badge" strip; folded to one row, "show all" expands the rest - account menu gains an explicit "Profilim" entryBurak Boduroğlu · 9dcc420
feat: 🏆 pixel-art profile with badge ladders - profile hero gets a pixel-grid brand cover with the avatar overlapping it - stat tiles carry pixelarticons (MIT) glyphs and follow the owner's role: focus/homework/exams for students, lessons/marks/answers for staff - badges regroup into one ladder card per counter with bronze/silver/gold rungs, a level title from the earned share, and a "next badge" strip; folded to one row, "show all" expands the rest - account menu gains an explicit "Profilim" entry
2026-09-12
feat: 🎨 migrate the app onto the Figma design systemBurak Boduroğlu · b2d57d2
feat: 🎨 migrate the app onto the Figma design system - semantic light/dark aliases with the landing page's #00ADD8 brand override and the pixel-wing logo mark; user-selected accents stay authoritative over the default brand - desktop shell geometry at the 1440px reference: 260px sidebar, 45px top bar, 34px nav rows, 30px sub-nav rows, 1100px content area - controls settle on 36px base button/input, 26px small button, 20px badge pill, 32px tab, so per-call-site h-10/rounded-* overrides go away - 39 shared glyphs compiled from the pinned @phosphor-icons/core Regular sources; app-specific Lucide-style icons stay - /login matches the SYS-01 480px standalone panel, keeping the current username/password contract - desktop composition across courses, homework, exams, question bank, classes, admin users, payments, settings, staff work, work log, meals, messages, whiteboards and the teacher report screens: raw palette colors give way to success/warning/destructive and the surface/border aliases, tables pin their actions column to 110px at a 45px row, and ad-hoc tinted section shells defer to data-shell - student mobile: the 7-tab course detail scrolls horizontally below sm instead of wrapping to four cramped rows, nested report tables drop their min-width, and the whiteboard's three floating toolbar islands reflow into one wrapping bar under 640px where they used to overlap - docs/ui/figma-migration-coverage.md records route-level coverage and the features held back for want of a backend contract Figma screens that show mastery scores, AI risk tags, streaks, occupancy bars and work-quality ratings are deliberately not built: the API exposes none of it, and the alternative is a page of invented numbers. Export and discard buttons with nothing behind them are left out for the same reason.
2026-08-01
feat: 🧪 Playwright e2e suite and wider API contract coverage - playwright setup with desktop + mobile projects against the dev server, auth-shell spec; test:e2e script, report artifacts gitignored - contract tests for content, core, and learning endpoints; live-client helpers extended for the new suites - serial contract runs (fileParallelism: false) so the rate-limited scratch backend stays deterministicBurak Boduroğlu · bb1fd0d
feat: 🧪 Playwright e2e suite and wider API contract coverage - playwright setup with desktop + mobile projects against the dev server, auth-shell spec; test:e2e script, report artifacts gitignored - contract tests for content, core, and learning endpoints; live-client helpers extended for the new suites - serial contract runs (fileParallelism: false) so the rate-limited scratch backend stays deterministic
2026-07-30
feat: ✨ align UI and table workflowsBurak Boduroğlu · 23adf31
feat: ✨ align UI and table workflows - apply bDash tokens across shared controls and application shell - add compact persistent tables, pagination, and sticky actions - add durable detail routes and operational side panels
2026-07-28
feat: 🎨 Knowvio-style role-based dashboard, sidebar, and theme - rebuild dashboard-page as a role-scoped board: Highlights stat cards with real-data sparklines, Progress overview (course averages / class sizes), attendance & workload split donuts, and an Upcoming Deadlines DataTable merging exams/events/homework/appointments - restore chart-area-trend/bar/progress-ring, i18n their empty states, drop unused chart-metric-cards - add role-aware fetches (admin/manager reach exams+homework), a bottom-center Refresh that refetches all resources, and a Soru Havuzu (question bank) quick panel - simplify sidebar to the curated primary items + Messages unread badge; drop the guide card and in-sidebar theme toggle - add a header back button; unify top-bar action buttons as bordered - rebrand accent to Knowvio orange and adopt Space Grotesk + Inter fonts - update dashboard-design skill + ui tokens to allow real-data chartsBurak Boduroğlu · f9872a0
feat: 🎨 Knowvio-style role-based dashboard, sidebar, and theme - rebuild dashboard-page as a role-scoped board: Highlights stat cards with real-data sparklines, Progress overview (course averages / class sizes), attendance & workload split donuts, and an Upcoming Deadlines DataTable merging exams/events/homework/appointments - restore chart-area-trend/bar/progress-ring, i18n their empty states, drop unused chart-metric-cards - add role-aware fetches (admin/manager reach exams+homework), a bottom-center Refresh that refetches all resources, and a Soru Havuzu (question bank) quick panel - simplify sidebar to the curated primary items + Messages unread badge; drop the guide card and in-sidebar theme toggle - add a header back button; unify top-bar action buttons as bordered - rebrand accent to Knowvio orange and adopt Space Grotesk + Inter fonts - update dashboard-design skill + ui tokens to allow real-data charts
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
fix: 🏦 stable choice ids, real bank paging, private-by-default templatesAhmet Kaan Gümüş · 88492c2
fix: 🏦 stable choice ids, real bank paging, private-by-default templates
- choices become {id, text} with server-minted stable ids; correct and
the student's selected answer name an id, never a position, and
option images key off the id
- fix: blanking a choice above the marked one silently moved the answer
key on graded exams — the form sent a pre-compaction index
- fix: removeChoice left correct pointing at the row that slid into the
deleted slot
- delete the download-then-reupload image restore in both panels and
drop src/lib/choice-compaction.ts: a PATCH now preserves images for
every choice whose id is unchanged, so the compensating transaction
has nothing to compensate for
- extract the choice-edit reducer to src/lib/choice-set.ts and property
test it with fast-check (devDependency, out of the bundle): text,
picture and correct-flag stay attached to a choice identity across
arbitrary edit sequences
- bank list is server-paged, newest first, with server-side text search
— it silently hid every template past the first 100 while still
reporting saves as successful
- search folds Turkish casing: q=istanbul now finds İSTANBUL, and one
shared table folds the needle and the column so they cannot drift
- templates are private by default with an explicit share step; the
confirm names the consequence, since publishing hands the answer key
to every teacher in the school and copies cannot be recalled
- source_bank splits into from_bank and banked_as, so a question added
from the bank no longer claims it was already saved to it
- bank page shows how many exam copies a template has, and a question
added from the bank can be refreshed from its template until the
first attempt starts
- no more silent first-item defaults: subject and target subject must
be picked, and an unavailable stored subject is shown, not swapped
- live contract suite (bun run test:contract) against a real backend,
skipped without CONTRACT_BASE_URL2026-07-24
chore: ⬆️ update all dependencies; migrate Tailwind v3 → v4 - bump within-range: @tanstack/solid-router 1.170.18, @kobalte/core 0.13.12, solid-js 1.9.14, tailwind-merge 3.6.0, autoprefixer/postcss/ vite-plugin-solid patches - @types/node 24 → 26 (types only) - vite 6 → 8: no config change needed; build/proxy/alias intact, vitest 4 stays compatible (246 tests green) - tailwindcss 3 → 4 via official @tailwindcss/upgrade codemod: - CSS-first config: theme moved into @theme in src/index.css, tailwind.config.js deleted, dark selector kept via @custom-variant - postcss plugin tailwindcss → @tailwindcss/postcss; autoprefixer removed (v4 built-in) - 81 files auto-migrated: shadow-sm→shadow-xs, min-w-[7.5rem]→min-w-30, /[0.08]→/8 opacity shorthand, data-[expanded]:→data-expanded: - fix codemod false-positive: it rewrote the cva variant="outline" prop string to "outline-solid" in role-badge, course-sessions-panel, my-students-page — reverted to "outline" - verified emitted CSS carries the renamed utilities (data-expanded, color-mix opacity, var(--color-*), shadow-xs)Ahmet Kaan Gümüş · b085a74
chore: ⬆️ update all dependencies; migrate Tailwind v3 → v4
- bump within-range: @tanstack/solid-router 1.170.18, @kobalte/core
0.13.12, solid-js 1.9.14, tailwind-merge 3.6.0, autoprefixer/postcss/
vite-plugin-solid patches
- @types/node 24 → 26 (types only)
- vite 6 → 8: no config change needed; build/proxy/alias intact,
vitest 4 stays compatible (246 tests green)
- tailwindcss 3 → 4 via official @tailwindcss/upgrade codemod:
- CSS-first config: theme moved into @theme in src/index.css,
tailwind.config.js deleted, dark selector kept via @custom-variant
- postcss plugin tailwindcss → @tailwindcss/postcss; autoprefixer
removed (v4 built-in)
- 81 files auto-migrated: shadow-sm→shadow-xs, min-w-[7.5rem]→min-w-30,
/[0.08]→/8 opacity shorthand, data-[expanded]:→data-expanded:
- fix codemod false-positive: it rewrote the cva variant="outline"
prop string to "outline-solid" in role-badge, course-sessions-panel,
my-students-page — reverted to "outline"
- verified emitted CSS carries the renamed utilities (data-expanded,
color-mix opacity, var(--color-*), shadow-xs)2026-07-22
fix: 🐛 PDF note import and API validation errorsBurak Boduroğlu · 9801748
fix: 🐛 PDF note import and API validation errors - replace custom PDF text parsing with lazy-loaded Mozilla PDF.js - keep note import save/read errors visible inside the side panel - localize backend max-length validation messages app-wide - add PDF import and API error formatter coverage
2026-07-21
chore: 🧪 migrate tests from bun:test to vitestBurak Boduroğlu · b0a9db1
chore: 🧪 migrate tests from bun:test to vitest - replace bun:test imports with vitest in all 3 test files - add vitest.config.ts with @ alias and test config - add vitest dev dependency and test/watch npm scripts - create src/api/__tests__/ directory for future API tests
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-15
fix: 🐛 reduce request load and align course/event UI - remove Tabler icon dependency and keep distinct sidebar icons as local SVG wrappers - cache school settings requests and update the cache after settings patches - avoid mounting closed disclosure content so hidden sections do not fetch data - stop non-student course pages from requesting my-courses data - standardize date picking in event and profile forms with the shared DatePicker - rework courses into a searchable compact table with consistent create/view actions - prevent detail pages from rendering stale resource data after route id changesBurak Boduroğlu · 163d4c5
fix: 🐛 reduce request load and align course/event UI - remove Tabler icon dependency and keep distinct sidebar icons as local SVG wrappers - cache school settings requests and update the cache after settings patches - avoid mounting closed disclosure content so hidden sections do not fetch data - stop non-student course pages from requesting my-courses data - standardize date picking in event and profile forms with the shared DatePicker - rework courses into a searchable compact table with consistent create/view actions - prevent detail pages from rendering stale resource data after route id changes
chore: 🔧 add Tabler sidebar icons - add @tabler/icons-solidjs for Solid sidebar icons - switch sidebar groups and items to more distinct Tabler icons - exclude Tabler Solid icons from Vite dependency prebundling to avoid React JSX outputBurak Boduroğlu · 84247fb
chore: 🔧 add Tabler sidebar icons - add @tabler/icons-solidjs for Solid sidebar icons - switch sidebar groups and items to more distinct Tabler icons - exclude Tabler Solid icons from Vite dependency prebundling to avoid React JSX output
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