forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on dcf123a8823bd55f0a656ce94de6b865f41dc08aFiltered to src/components/courses/course-notes-panel.tsxClear filter

2026-09-19

refactor: 🧹 streamline tables and list surfacesBurak Boduroğlu · 0202be5
refactor: 🧹 streamline tables and list surfaces

- simplify list tables and keep detailed content on detail pages
- align shared table surfaces, pagination, tabs, and numeric typography
- tidy course, homework, event, staff, payment, and insight views

2026-09-18

feat: 🛟 the unsaved-input guard covers every form panel - guardUnsaved on 37 create/edit side panels: users, schools, blueprints, subjects, notes, homework and grading, sessions, academic years, terms, appointments, bank questions, classes, courses, events, exam edit and grading, meals, payments, profiles, staff work, whiteboards - left off: single-person pickers (little to lose), the multi-step exam create panels past their first step, and read-only panelsBurak Boduroğlu · b507ba2
feat: 🛟 the unsaved-input guard covers every form panel
- guardUnsaved on 37 create/edit side panels: users, schools, blueprints,
  subjects, notes, homework and grading, sessions, academic years, terms,
  appointments, bank questions, classes, courses, events, exam edit and
  grading, meals, payments, profiles, staff work, whiteboards
- left off: single-person pickers (little to lose), the multi-step exam
  create panels past their first step, and read-only panels

2026-09-15

fix: 🔄 keep tables on screen while their data refreshes - add lib/create-resource: accessor reads .latest, so a resource suspends only on its first load instead of on every refetch or source change - switch every createResource import to it; a row delete or save no longer swaps the table card for its skeleton or resets its page and search - solidjs-pitfalls skill documents the import ruleBurak Boduroğlu · 61b19be
fix: 🔄 keep tables on screen while their data refreshes
- add lib/create-resource: accessor reads .latest, so a resource suspends
  only on its first load instead of on every refetch or source change
- switch every createResource import to it; a row delete or save no longer
  swaps the table card for its skeleton or resets its page and search
- solidjs-pitfalls skill documents the import rule

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

feat: 📓 course notes with file attachments under each course - mirror the personal-note stack against the backend's /course-notes routes (eb247a2): one verb-first file per endpoint under src/api/course-notes/, plus the domain's vitest cases - list is course-scoped, so getCourseNotes keeps ?course= alongside the page params instead of going through pageQuery - the note components no longer import a single domain's file API: they take a NoteFileSource (list/upload/delete/url/blob + the 10-file cap), so notes and course notes share one card, reader, files panel, and preview instead of a second copy - a course note is written by whoever can manage the course and read by anyone enrolled, so the components gained canManage: read-only hides the card menu, the upload/draw buttons, and per-file delete, while view and download stay - new "Ders notları" tab on the course detail page, next to homework and sessions, with a count badge and the header's add button - dictionary entries for both localesBurak Boduroğlu · 49f3d3c
feat: 📓 course notes with file attachments under each course
- mirror the personal-note stack against the backend's /course-notes
  routes (eb247a2): one verb-first file per endpoint under
  src/api/course-notes/, plus the domain's vitest cases
- list is course-scoped, so getCourseNotes keeps ?course= alongside the
  page params instead of going through pageQuery
- the note components no longer import a single domain's file API: they
  take a NoteFileSource (list/upload/delete/url/blob + the 10-file cap),
  so notes and course notes share one card, reader, files panel, and
  preview instead of a second copy
- a course note is written by whoever can manage the course and read by
  anyone enrolled, so the components gained canManage: read-only hides
  the card menu, the upload/draw buttons, and per-file delete, while
  view and download stay
- new "Ders notları" tab on the course detail page, next to homework and
  sessions, with a count badge and the header's add button
- dictionary entries for both locales