Add Discovery Videos feature

Let users upload videos, tag them with one or more entries, and watch
them from a new Discovery Videos page.

Backend:
- Add Video and VideoEntry models and relations
- Add video controller and /video routes
- Add video thumbnail generation service (ffmpeg-static)
- Add video upload storage location and config

Frontend:
- Add DiscoveryVideosPage with sidebar link and route
- Add AddVideoDialog, VideoDropzone, EntryMultiSelect, VideoCard
  and VideoPlayerDialog components
- Add discoveryVideos API client and useDiscoveryVideos hook
- Add format helpers, video types and normalizers
- Add skeleton for the page

Docs:
- Document the feature in docs-vault
This commit is contained in:
X4Lo committed 2026-11-03 15:57:53 +00:00
1 parent 4d88747649
commit eb3a12f6cb
41 files changed
+2163 -15

No files matched your search

+3 -2
View File
@@ -103,7 +103,7 @@ The entire entry library is loaded into a Zustand `Map<number, Entry>` on startu
### Lazy Page Loading
All 17 pages use `React.lazy()` with custom skeleton fallbacks via `<Suspense>`. See [[Routing]].
All 18 pages use `React.lazy()` with custom skeleton fallbacks via `<Suspense>`. See [[Routing]].
### Form Pattern
@@ -119,7 +119,7 @@ All mutation success/error feedback via Sonner toasts.
## See Also
- [[Routing]] — All 17 routes
- [[Routing]] — All 18 routes
- [[Pages]] — Every page component
- [[Components]] — UI components by category
- [[Hooks]] — Custom hooks
@@ -127,3 +127,4 @@ All mutation success/error feedback via Sonner toasts.
- [[API Clients]] — Backend communication
- [[Types]] — TypeScript types
- [[Navigation]] — Breadcrumbs
- [[Discovery Videos]] — Personal video vault feature