Commit Graph
25 Commits
Author SHA1 Message Date
LaurensBartelds ad777ef1c3 feat: implement setup wizard for initial configuration and user registration 2026-04-25 16:48:23 +02:00
LaurensBartelds 4f33444653 fix: update exam route parameter format and improve question index calculation
Release Pipeline / build-and-release (push) Successful in 5m29s
2026-04-25 16:18:07 +02:00
LaurensBartelds 107ebf4d47 feat: implement admin dashboard with site settings, user management, and activity monitoring 2026-04-25 00:14:57 +02:00
LaurensBartelds 4eeacc38c5 feat: replace screen state machine with React Router v7 URL routing
Release Pipeline / build-and-release (push) Successful in 5m24s
- Install react-router-dom
- Add slugify utility with full TDD test suite (7 tests)
- Wrap app in BrowserRouter in main.tsx
- Add optional onNavigate prop to ExamRunner.goTo
- Create ExamRoute component (deep-link restore + back/forward sync)
- Migrate App.tsx: replace screen useState with <Routes>, all setScreen()
  calls replaced with navigate(), add activateExam for deep-link activation,
  use useLocation for verify/reset-password special layouts
- Remove unused AppScreen type from types.ts
2026-04-24 23:55:52 +02:00
LaurensBartelds 53abe32795 feat: implement admin dashboard with site settings, user management, and activity monitoring 2026-04-22 23:28:40 +02:00
LaurensBartelds c4c1e1a45a feat: add notes functionality to exam state and update UI for note-taking 2026-04-22 22:48:24 +02:00
LaurensBartelds b91d5769fe feat: implement landing page with file upload, sample loading, and comprehensive JSON schema documentation 2026-04-21 23:13:53 +02:00
LaurensBartelds 5c7b0bdb45 feat: add interactive matching question component with responsive connection lines and styles 2026-04-21 23:04:39 +02:00
LaurensBartelds eb013d4978 feat: initialize database and authentication routes in backend 2026-04-21 22:51:22 +02:00
LaurensBarteldsandClaude Sonnet 4.6 8420e6cae0 fix: final review fixes — key props, fetch guard, highlightCode placeholder strategy
- Add key={q.id} to QuestionRenderer in ExamRunner and Results to reset
  component state (Match activeLeft, OrderQuestion init) between questions
- Add r.ok check in Landing.loadSample to surface HTTP errors before JSON parse
- Add validateExam call in loadSample (was missing — could pass malformed JSON)
- Rewrite highlightCode with placeholder strategy: extract comment/string spans
  before applying keyword/number/fn regexes so later passes don't corrupt
  previously-injected span attributes; use PUA char + word-wrapped index
  to avoid SonarLint S6324 and prevent digit regex matching index numbers
- Change Landing dropzone from div[role=button] to native button (S6819)
- Change sample cards from div[onClick] to button elements (S6848/S1082)
- Wrap Landing Props in Readonly<> (S6759)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-21 22:18:11 +02:00
LaurensBartelds 2b12223da6 fix: resolve tsc-b build errors (Tex JSX type, Essay index sig, ExamRunner closure, vitest config) 2026-04-21 22:00:38 +02:00
LaurensBartelds 61496b4b2f feat: add TweaksPanel and App controller — platform complete 2026-04-21 21:56:58 +02:00
LaurensBartelds cbe4e6058c feat: add Results/Review screen 2026-04-21 21:54:37 +02:00
LaurensBartelds 62f714a4a4 fix: make revealed optional in ExamState; fix keyboard handler stale closure; fix navStatus fallthrough 2026-04-21 21:53:33 +02:00
LaurensBartelds 7217cd3a28 feat: add ExamRunner screen 2026-04-21 21:51:34 +02:00
LaurensBartelds ef05f2c08b fix: add validateExam to loadSample; use native button for dropzone accessibility 2026-04-21 21:50:07 +02:00
LaurensBartelds 24d47e1830 feat: add Landing screen 2026-04-21 21:48:06 +02:00
LaurensBartelds 49cf77633c feat: add QuestionRenderer dispatcher 2026-04-21 21:46:19 +02:00
LaurensBartelds 535bdb5a50 fix: remove stale value check from OrderQuestion initial; guard wrong class in Match 2026-04-21 21:45:31 +02:00
LaurensBartelds e48e37ad87 feat: add Essay, Match, and OrderQuestion renderers 2026-04-21 21:43:30 +02:00
LaurensBartelds 82ba53da0e feat: add ShortAnswer and MathInput renderers 2026-04-21 21:41:37 +02:00
LaurensBartelds 2a59f13870 fix: use Array.isArray guard instead of unsafe cast in MultipleSelect 2026-04-21 21:40:41 +02:00
LaurensBartelds 535434421a feat: add MultipleChoice and MultipleSelect renderers 2026-04-21 21:38:58 +02:00
LaurensBartelds b5e53c97e6 feat: add QuestionMedia with DOMPurify SVG sanitization 2026-04-21 21:37:27 +02:00
LaurensBartelds 95de63bd98 feat: add LaTeX rendering utilities and Tex component 2026-04-21 21:29:26 +02:00