Commits
2026-09-23
feat: ✨ complete frontend workflow polishBurak Boduroğlu · 4e99344
feat: ✨ complete frontend workflow polish - align row actions, edit panels, tables, and user labels across detail and list views - keep homework grading panels open and remove raw ids from exam review - add full screen drawing and whiteboard controls with mobile fallback - support note attachments, podcast transcripts, and localized API refusals - cover panel focus, empty answer sheets, and updated UI flows with tests
2026-08-01
refactor: ♻️ centralize shared UI pieces and trim duplicate code - theme-mode-control replaces theme-toggle and inline sidebar toggles with toggle/compact/segmented/cards variants per nav surface - personInitials moved to src/lib/person.ts with unit tests; drop the duplicated copies in sidebar-account and user-menu - remove school-hub/students-hub placeholder pages, route to whiteboards and course pages instead - appointments tabs: bordered segmented style with badge contrast - whiteboards create panel: arrow-key navigation over the participant picker (Enter adds, Esc clears) - nav-items cleanup, index.css trim, aria-label on note file previewsBurak Boduroğlu · e7c0151
refactor: ♻️ centralize shared UI pieces and trim duplicate code - theme-mode-control replaces theme-toggle and inline sidebar toggles with toggle/compact/segmented/cards variants per nav surface - personInitials moved to src/lib/person.ts with unit tests; drop the duplicated copies in sidebar-account and user-menu - remove school-hub/students-hub placeholder pages, route to whiteboards and course pages instead - appointments tabs: bordered segmented style with badge contrast - whiteboards create panel: arrow-key navigation over the participant picker (Enter adds, Esc clears) - nav-items cleanup, index.css trim, aria-label on note file previews
2026-07-25
fix: 🔍 correct 21 defects the last 24h of commits shipped greenAhmet Kaan Gümüş · f9efbbc
fix: 🔍 correct 21 defects the last 24h of commits shipped green Adversarial audit of 49f9928..ffb1d47: four verifiers found 15 defects the 317-test suite passed over, and a two-lens panel found 6 more in the fixes themselves. Three of those commits claimed fixes they did not deliver. - exam room: "saved" was still a lie. Acks were keyed on question_id alone, so a timed-out send's late frame settled the retry and the badge claimed Saved for a payload the server never took. Replaced with per-send FIFO plus an integer debt count per question: superseded/timed-out sends are disowned and their frames paid off before any live send settles. failAll now takes a required cause — an unattributed error frame keeps the debt (the socket stays open), only a real close clears it - shell feed leaked across accounts: the provider outlived logout, so user B saw user A's inbox, badge and appointments until the refetch landed. The feed is now built inside a memo keyed on the user id, so a switch disposes it rather than relying on a mutate call - appointments offered actions the backend rejects: book on in-progress slots (list filter used where the book guard applies), and a teacher lost reschedule permanently because the backend never clears proposed_* — action availability now derives from a standing proposal, in a tested pure gate - every 403 and 404 message was dead: formatApiError returned the per-status generic before consulting the table, so entries added for the question bank never rendered. Table now wins; 8 appointment 409s and the refresh-from-bank 400 localized against the backend's exact strings - request deadline escaped as a raw DOMException because the body read sat outside its try, showing Turkish users an English abort message - unread badge under-counted from a capped inbox page, the two shell badges disagreed, and dismiss-all could not clear a count above ten - students and parents saw their own name on every calendar appointment - question bank stranded the user on an empty page after deleting the last row - tests: 317 -> 336, all new ones watched failing before they passed. One existing test asserted the ack bug as intended behaviour and was rewritten - comments in create-ack-waiter claimed safety properties the code lacked; rewritten to describe actual behaviour Known and accepted: shell events/exams fetch unpaged (~3.37MB/poll at 5000 rows) because the backend cannot express a schedule window. Follow-ups for the backend: starts_after on /events and /exams, and a client seq echoed in the exam ws saved/error frames to replace the debt heuristic with exact identity.
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-13
fix: 🐛 sync frontend with person-based API responsesBurak Boduroğlu · 64327d6
fix: 🐛 sync frontend with person-based API responses - update API types for PersonRef attendance, results, attempts, live monitor, and answer sheets - add person helpers for stable labels and ids across nested user responses - render attendance and exam result people from PersonRef instead of raw objects - use server time offset from /time for shared now calculations - filter dashboard exam counts and previews to enrolled courses for students