forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on mainFiltered to src/api/__tests__/contract/helpers/live-client.tsClear filter

2026-09-22

feat: ✨ school identity is the uuidAhmet Kaan Gümüş · a3eb98c
feat: ✨ school identity is the uuid

- register picks an active school from GET /auth/schools; an empty list disables submit
- builder routes, list, and school API calls use the school id
- slug field, slug limits, and the slug-collision error are gone

2026-09-15

feat: ✨ align frontend with live API contractBurak Boduroğlu · 93124b2
feat: ✨ align frontend with live API contract

- support person login and multi-school selection

- surface pomodoro labels, counted status, and current limits

- sync profile badges, exam attempts, and authentication layouts

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

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_URL