forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on 0069847be17c816a489f22e7b2c04c00a01be81eFiltered to src/api/course-notes/getCourseNoteFiles.tsClear filter

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