Files
Showy/changes.md
T

16 lines
1.2 KiB
Markdown

### Milestone 001
#### Backend Changes
- Added `WHERE accuracy = 'EXACT'` filter to `getWatchdayDistribution` in `statisticsController.js` for both EpisodeSeen and EntrySeen queries, so CouchDay chart only reflects exact-date data
#### Frontend Changes
- **EntrySeenDialog**: Replaced Calendar popover with native `<input type="date">` for easier year selection; merged date + accuracy into a single row; removed unused `date` state
- **EpisodeSeenEditDialog**: Merged date input and accuracy select into one flex row
- **LibraryGrowthChart**: Changed `getEntryDate` to use only `createdAt` (removed `date_first_seen` fallback); removed watchlist filter so all entries are included
- **SeasonPage**: Added `max-w-4xl` width constraint; changed breadcrumb from "Back to entry" to "Title / Season x" with link to entry
- **EpisodePage**: Added `max-w-4xl` width constraint; changed breadcrumb from generic "Entry / Season" to "Title / Season x / Episode x"; fixed S## display to use `season.season_number` instead of `seasonId` (DB id)
- **SettingsPage**: Added "Cleanup" card section with Scan/Delete buttons for orphan files and orphan media records, using existing maintenance API endpoints
- Created `api/maintenance.ts` API client for maintenance endpoints