Commit Graph
320 Commits
Author SHA1 Message Date
Mohammed Abad d60d142d17 feat(react): add toasts, loading states, skeletons, animations, and mobile responsiveness
- Toast notifications (sonner): success/error toasts on all mutations
- Loading spinners: EntryCard add/remove, ConfirmDialog, EntrySeenDialog, favorite/refresh buttons
- Page skeletons: 13 page-specific Suspense fallbacks replacing generic skeleton
- CSS animations: card-enter (staggered), page-enter, slide-up-fade keyframes
- Mobile layout: hamburger menu with sheet sidebar, responsive entry details
- Mobile controls: separate compact filter/sort popovers for Library and Watchlist
- Desktop sort: popover menu replacing Select dropdown on Library and Watchlist
- Filter ranges: year 1950-2100, rating 0-10
2026-04-02 03:00:49 +01:00
Mohammed Abad ae67663623 feat(dashboard): add recharts data visualizations
- Install recharts
- Add WatchActivityChart (AreaChart, movies + episodes/month, year filter)
- Add WatchTimeChart (stacked BarChart, hours/month, synced year filter)
- Add RatingsChart (BarChart, user ratings distribution 1–10, color ramp)
- Add TopGenresChart (horizontal BarChart, top 10 genres, type filter)
- Add CouchDayChart (BarChart, watch count by weekday, peak day highlight)
- Add GET /statistics/watch-weekday backend endpoint (DAYOFWEEK aggregation)
- Extend statisticsApi with getYearlyWatchCount, getYearlyWatchTime, getWatchdayDistribution
- Add useYearlyWatchCount, useYearlyWatchTime, useWatchdayDistribution hooks
- Wire all charts into DashboardPage with responsive two-column grid layout
2026-04-01 16:04:43 +01:00
Mohammed Abad 3648c41cfd fix(frontend): clean up imports and remove unused createEpisodeSeen hook 2026-04-01 01:06:01 +01:00
Mohammed Abad 191f4d6aae fix(frontend): calendar thumbnail, episode delete confirm, mark-as-watched dialog
- CalendarPage: restore poster/still thumbnail (h-8 w-5) in episode items;
  add getTmdbPosterUrl import; extend EpisodeWithEntry type with poster_path
- EpisodeSeenEditDialog: add mode 'create'|'edit' support; record prop is now
  optional; create mode uses useCreateEpisodeSeen with today as default date
- EpisodePage: Mark as Watched button now opens EpisodeSeenEditDialog (create
  mode) instead of firing mutation directly; delete shows ConfirmDialog before
  deleting; remove unused useCreateEpisodeSeen import
2026-04-01 00:59:09 +01:00
Mohammed Abad 3ca24434d7 feat(frontend): Entry details redesign, people filmography, calendar improvements
- EntryDetailsPage: sticky poster layout, centered max-w-4xl, director by-line
  with link, rating pills (IMDb/TMDB/You), quick actions under poster, RatingDialog
  with star UI, In Collections section using backdrops, EntrySettingsDialog with
  show_in_calendar / auto_sync / rating options
- RatingDialog: new component with 10-star interactive rating
- AddEntryToCollectionDialog: optimistic cache updates so checkbox state reflects
  immediately and In Collections section on entry details page refreshes
- PersonDetailsPage: filmography section showing library vs. non-library entries
  via person.roles, TMDB combined credits for non-library titles
- PersonTmdbRedirectPage: new redirect page for TMDB person IDs to local person ID
- PeoplePage: fix person card links to use /people/tmdb/:tmdbId
- CalendarPage: full-height layout, larger episode thumbnails, episode items
  clickable, improved tooltip, show_in_calendar backend filter
- Fix useUpdateEntry to also invalidate entryKeys.all (favorite button reactivity)
- Fix updateRatings API body wrapping
- Add useUpdateEntryRatings, usePersonCredits, useFetchPersonByTmdbId hooks
- Add getCollectionBackdropUrl to media-utils
- Types: show_in_calendar, auto_sync on Entry; id on EntryRatings; roles on People
- Backend: fix fetchPersonData alias in peopleService; remove duplicate
  getPersonCredits; add show_in_calendar filter to episodeService
2026-04-01 00:25:30 +01:00
Mohammed Abad 11eab03987 Backend:
- Enhance PeopleController with person credits and TMDB filmography endpoints;
- update episodeService to filter entries by showInCalendar;
- add fetchPersonCombinedCredits function in tmdbService
2026-04-01 00:07:41 +01:00
Mohammed Abad ffe7e52527 Implemented the new react version of the frontend 2026-03-31 01:56:38 +01:00
Mohammed Abad 236e6e06fb Backend: Add TMDB proxy routes and service methods for trending, popular, and search functionalities 2026-03-30 23:33:29 +01:00
Mohammed Abad 35835e9187 Created the react frontend project and added some basic component 2026-03-30 20:56:59 +01:00
Mohammed Abad b3ab69cc22 Backend: Added docs & AGENTS.md 2026-03-30 19:37:08 +01:00
X4Lo b3f2097b8b Frontend: Filter out 'person' media type from fetched entries in TmdbService 2026-03-30 17:26:21 +01:00
X4Lo 4a1d2bc614 Backend: Implement async error handling wrapper and refactor entry and media controllers to use it 2026-03-30 17:25:46 +01:00
X4Lo ad58164df4 Backend: fixed Entry model incorrect field credit_fetched name 2026-03-30 17:24:07 +01:00
X4Lo c8141fb87b Backend: minor changes 2025-07-12 15:29:43 +01:00
X4Lo b6c04e765f Frontend: Added cast section to entry page 2025-07-12 15:29:36 +01:00
X4Lo 6c2a437d7b Frontend: Using MediaSelectorPipe for PersonCardComponent & added default-profile.png 2025-07-12 02:57:34 +01:00
X4Lo 9d8f2899d4 Backend: People & Media
- Added people manager
- Auto update non fully fetched people
- People media downloader
- Updated media controller to serve peoples profiles
- Config people media folders auto creation
2025-07-12 02:54:18 +01:00
X4Lo 367c9899a0 Backend: Added auto entry refrech each 24h 2025-07-12 02:50:44 +01:00
X4Lo 17067a5516 Backend: Created O2M relation between People & Media 2025-07-12 00:42:08 +01:00
X4Lo 1224d48c5c Backend: Optimized entry credits creation on create and refrech 2025-07-12 00:11:59 +01:00
X4Lo f1cd3f9167 Backend: minor fixes + Added people media folder auto creating & mutler upload function 2025-07-11 23:38:00 +01:00
X4Lo d3dbd7c3e3 Frontend: Added People Module & Routing + Updated Sidebar 2025-07-11 23:36:14 +01:00
X4Lo 095dc91ab2 Frontend: Added PeopleDetails Component 2025-07-11 23:35:39 +01:00
X4Lo 740a51f1e9 Frontend: Added PeoplePage Component 2025-07-11 23:35:26 +01:00
X4Lo c8408f9f53 Frontend: Added PeopleGridComponent 2025-07-11 23:35:03 +01:00
X4Lo 02b4caa6ef Frontend: Added PersonCardComponent 2025-07-11 23:34:49 +01:00
X4Lo 996c445020 Frontend: Added ParagraphPipe 2025-07-11 23:32:16 +01:00
X4Lo 1a18b826de Frontend: Added Person & Credit model + People service 2025-07-11 23:31:54 +01:00
X4Lo 381f921df7 Backend: Implemented people fetching on entry create/refrech 2025-07-11 23:28:37 +01:00
X4Lo b5ea25631d Backend: Added People rouets, controller and service 2025-07-11 23:27:40 +01:00
X4Lo 032d92994d B: Added tmdb fetch function for entry credits and people details 2025-07-11 15:13:58 +01:00
X4Lo ef9e1911f9 B: Added People and Credit Models for entry crew and cast 2025-07-11 15:12:07 +01:00
X4Lo 6bf27e5519 Frontend: Entry Media Modal
- Improved filter logic.
- Added toasts.
- Removed MediaUploadModal for better user experience.
- Synced entry media state.
2025-07-11 15:00:05 +01:00
X4Lo 8533076080 F: Added toast to entry-page and other components 2025-04-13 03:54:55 +01:00
X4Lo d01913bb6d F: Re-worked the toast service 2025-04-13 03:53:29 +01:00
X4Lo 2a43e9108e F: Fixed tvseries entry not showing up correctly in library page when adding a seen date to it while it is in watchlist. 2025-04-12 21:05:14 +01:00
X4Lo 6a102f86e8 F: Changed Entry date_first_seen and date_last_seen properties to Date | null, and fixed related issues. 2025-04-12 18:09:06 +01:00
X4Lo b799e1cada F: Fixed movie entry not showing up correctly in library page when adding a seen date to it while it is in watchlist. 2025-04-12 00:56:19 +01:00
X4Lo 0466082fe8 updated gitignore 2025-04-02 00:18:02 +00:00
X4Lo 1d79e07bed added .env files to gitignore 2025-04-01 23:56:52 +00:00
X4Lo 1a39ab23cf Frontend:
- updated season/episodes models
- used mediaSelector in EpisodeDialog and SeasonPage
- added default-still.png
2025-04-01 23:55:22 +00:00
X4Lo 4e20c5320b Backend:
- add download of episode media function
- serving of episodes/seasons files
- pulling seasons/episodes media on entry create
- maintenance for seasons/episodes media
2025-04-01 23:53:25 +00:00
X4Lo 534572775f B: add download of season media + maintenance 2025-02-20 01:34:42 +01:00
X4Lo d799ef2368 B: add storage service 2025-02-20 01:33:54 +01:00
X4Lo e0f19a0a69 F: Add media selector pipe 2025-02-20 01:33:25 +01:00
X4Lo 197e9443ed B: Add relation between episode/media and season/media 2025-02-20 00:11:57 +01:00
X4Lo 59f5d70f09 F: season page, addd more episodes view modes + various fixes 2025-02-19 14:31:39 +01:00
X4Lo 8f0e9f44a5 F: add episode dialog component 2025-02-19 14:30:25 +01:00
X4Lo 09cd4b205a F: season page: add mark episode/season as watched 2025-02-18 20:28:55 +01:00
X4Lo 30ad2fbf03 F: Reworked the entry page UI 2025-02-18 17:55:18 +01:00