Update docs vault and README for recent features
- New notes: History, Artwork - Rewrite TMDB Integration: single detail request, entry mapper, rate limiter, refresh sync, stale-entry refresh, recommendations - Update pages, routing, API reference, models, database migrations, services, components, hooks, API clients, settings, media system, library, Electron (Tauri in progress) and known issues - Rewrite README for the current React/Express stack and setup
This commit is contained in:
1 parent
06bf902ad3
commit
229ecef902
20 files changed
+479
-162
No files matched your search
@@ -49,6 +49,12 @@ Tracked bugs and technical debt items.
|
||||
- **Impact:** DoS risk if backend is exposed
|
||||
- **Fix:** Gate behind dev-mode check
|
||||
|
||||
### Packaged Backend Can't Find settings.json
|
||||
|
||||
- **Issue:** `configService` resolves `settings.json` from `__dirname`, which points inside pkg's read-only snapshot in `backend.exe`
|
||||
- **Impact:** Blocks the Tauri release build (sidecar backend); see [[Electron]]
|
||||
- **Fix:** Resolve settings next to the executable (`process.execPath`) or a user data folder when running under pkg
|
||||
|
||||
## Frontend
|
||||
|
||||
### Implicit `any` Types in SeasonPage
|
||||
@@ -71,6 +77,23 @@ Tracked bugs and technical debt items.
|
||||
- **Impact:** [[Normalizers]] layer exists to handle this, but it's fragile
|
||||
- **Fix:** Standardize backend response format (ideally all snake_case)
|
||||
|
||||
### Web Build Fails Type Checking
|
||||
|
||||
- **Issue:** `tsc -b` (and so `pnpm build`) reports ~41 existing errors, mostly `asChild` on Base UI components and `string | null` select values (LibraryPage, WatchlistPage, several dialogs)
|
||||
- **Impact:** The plain web build fails; Vite dev, Electron and Tauri dev still run
|
||||
- **Fix:** Replace `asChild` with `render` props and narrow select values
|
||||
|
||||
### Old Media Not Matched in Artwork
|
||||
|
||||
- **Issue:** Images downloaded before `media.tmdb_path` existed have no TMDB path
|
||||
- **Impact:** They show as local-only in [[Artwork]], and the same TMDB image can be added again as a duplicate
|
||||
- **Fix:** Backfill by re-downloading, or compare image hashes
|
||||
|
||||
### Unknown-Date Watches
|
||||
|
||||
- **Issue:** ~311 imported movie watches have `accuracy = UNKNOWN`
|
||||
- **Impact:** Badged in [[History]] and excluded from the Year in Review by default (toggle to include)
|
||||
|
||||
## Database
|
||||
|
||||
### Franchise Model Unused
|
||||
@@ -82,9 +105,9 @@ Tracked bugs and technical debt items.
|
||||
|
||||
### No Database Migrations
|
||||
|
||||
- **Issue:** Schema changes rely on `sequelize.sync({ alter })` which is disabled (`doUpdate = false`)
|
||||
- **Impact:** Manual schema management required for changes
|
||||
- **Fix:** Implement proper Sequelize migrations
|
||||
- **Issue:** `sequelize.sync({ alter })` is disabled; `config/migrations.js` only adds missing columns and widens a fixed list of types
|
||||
- **Impact:** Renames, drops and index changes still need manual SQL
|
||||
- **Fix:** Adopt versioned Sequelize migrations if the schema starts changing in non-additive ways
|
||||
|
||||
## Docker
|
||||
|
||||
|
||||
Reference in new issue
Block a user