Frontend: UI improvements, dashboard fixes, and settings cleanup

- EntrySeenDialog: native date input, merged date+accuracy row
- EpisodeSeenEditDialog: merged date+accuracy row
- LibraryGrowthChart: use createdAt only, include all entries
- SeasonPage/EpisodePage: max-w-4xl, improved breadcrumbs ("Title / Season x / Episode x"), fixed season number display
- SettingsPage: added Cleanup section for orphan files/media records
- Added maintenance API client
- Updated docs-vault and project documentation
This commit is contained in:
Mohammed Abad committed 2026-04-22 02:08:54 +01:00
1 parent cd695ef4cf
commit 3c4958df50
7 files changed
+245 -100

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
import { api } from '@/lib/api';
export interface OrphanResult {
posters: number;
logos: number;
backdrops: number;
stills: number;
}
export const maintenanceApi = {
scanOrphanFiles: () =>
api.get<OrphanResult>('/maintenance/orphan-files').then((r) => r.data),
deleteOrphanFiles: () =>
api.delete<OrphanResult>('/maintenance/orphan-files').then((r) => r.data),
scanOrphanMediaRecords: () =>
api.get<OrphanResult>('/maintenance/orphan-media-records').then((r) => r.data),
deleteOrphanMediaRecords: () =>
api.delete<OrphanResult>('/maintenance/orphan-media-records').then((r) => r.data),
};