1.2 KiB
1.2 KiB
title, tags
| title | tags | |||
|---|---|---|---|---|
| Calendar |
|
Calendar
Overview
Monthly calendar view showing upcoming TV episode air dates. Helps users track when new episodes of their shows are airing.
How It Works
- Pages#CalendarPage renders a monthly grid
- Calls
episodesApi.getByMonth(startDate, endDate)for the visible month range - Backend
episodeService.getEpisodesBetweenDates()queries episodes with:air_datebetween start and end dates- Entry has
showInCalendar = true
- Episodes displayed on their air date cells
Data Flow
CalendarPage → useEpisodesByMonth(start, end) → GET /episodes/month/:start/:end
↓
episodeService.getEpisodesBetweenDates()
↓
Episodes with air_date in range + showInCalendar
Configuration
Each entry has a showInCalendar flag (default true). Users can toggle this in the Components#Dialogs to hide a show's episodes from the calendar.
See Also
- API Reference#Episodes — Calendar endpoint
- Library —
showInCalendarflag