Commits
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