forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on dcf123a8823bd55f0a656ce94de6b865f41dc08aFiltered to src/components/notes/note-file-preview.tsxClear 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

2026-07-24

chore: ⬆️ update all dependencies; migrate Tailwind v3 → v4 - bump within-range: @tanstack/solid-router 1.170.18, @kobalte/core 0.13.12, solid-js 1.9.14, tailwind-merge 3.6.0, autoprefixer/postcss/ vite-plugin-solid patches - @types/node 24 → 26 (types only) - vite 6 → 8: no config change needed; build/proxy/alias intact, vitest 4 stays compatible (246 tests green) - tailwindcss 3 → 4 via official @tailwindcss/upgrade codemod: - CSS-first config: theme moved into @theme in src/index.css, tailwind.config.js deleted, dark selector kept via @custom-variant - postcss plugin tailwindcss → @tailwindcss/postcss; autoprefixer removed (v4 built-in) - 81 files auto-migrated: shadow-sm→shadow-xs, min-w-[7.5rem]→min-w-30, /[0.08]→/8 opacity shorthand, data-[expanded]:→data-expanded: - fix codemod false-positive: it rewrote the cva variant="outline" prop string to "outline-solid" in role-badge, course-sessions-panel, my-students-page — reverted to "outline" - verified emitted CSS carries the renamed utilities (data-expanded, color-mix opacity, var(--color-*), shadow-xs)Ahmet Kaan Gümüş · b085a74
chore: ⬆️ update all dependencies; migrate Tailwind v3 → v4
- bump within-range: @tanstack/solid-router 1.170.18, @kobalte/core
  0.13.12, solid-js 1.9.14, tailwind-merge 3.6.0, autoprefixer/postcss/
  vite-plugin-solid patches
- @types/node 24 → 26 (types only)
- vite 6 → 8: no config change needed; build/proxy/alias intact,
  vitest 4 stays compatible (246 tests green)
- tailwindcss 3 → 4 via official @tailwindcss/upgrade codemod:
  - CSS-first config: theme moved into @theme in src/index.css,
    tailwind.config.js deleted, dark selector kept via @custom-variant
  - postcss plugin tailwindcss → @tailwindcss/postcss; autoprefixer
    removed (v4 built-in)
  - 81 files auto-migrated: shadow-sm→shadow-xs, min-w-[7.5rem]→min-w-30,
    /[0.08]→/8 opacity shorthand, data-[expanded]:→data-expanded:
  - fix codemod false-positive: it rewrote the cva variant="outline"
    prop string to "outline-solid" in role-badge, course-sessions-panel,
    my-students-page — reverted to "outline"
- verified emitted CSS carries the renamed utilities (data-expanded,
  color-mix opacity, var(--color-*), shadow-xs)

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

2026-07-17

fix: 🐛 notes file upload error handling and preview resilience - blobClient parses JSON error body instead of bare status text - NoteFilePreview shows fetch errors inline instead of hanging - NoteFilesPanel removed 404/501 catch-all — backend file API live - NotesPage reports partial file upload failures on create - Added fileUploadPartial i18n keys (en/tr)Burak Boduroğlu · f3306dd
fix: 🐛 notes file upload error handling and preview resilience
- blobClient parses JSON error body instead of bare status text
- NoteFilePreview shows fetch errors inline instead of hanging
- NoteFilesPanel removed 404/501 catch-all — backend file API live
- NotesPage reports partial file upload failures on create
- Added fileUploadPartial i18n keys (en/tr)

2026-07-16

style: 🎨 drive-style note file preview - open note file previews in a large dialog instead of inline - add dark preview stage for image, video, audio, PDF, and text files - keep filename, type, download, and close controls in the preview header - polish note file cards with larger Drive-like tilesBurak Boduroğlu · d9ee743
style: 🎨 drive-style note file preview
- open note file previews in a large dialog instead of inline
- add dark preview stage for image, video, audio, PDF, and text files
- keep filename, type, download, and close controls in the preview header
- polish note file cards with larger Drive-like tiles
feat: ✨ note file preview - add blob fetch helper for inline note file previews - preview image, video, audio, PDF, and text attachments in the note panel - separate preview and download actions so one click does one thing - add preview close control and unsupported-file copyBurak Boduroğlu · ddc6e5f
feat: ✨ note file preview
- add blob fetch helper for inline note file previews
- preview image, video, audio, PDF, and text attachments in the note panel
- separate preview and download actions so one click does one thing
- add preview close control and unsupported-file copy