main ← Ethsim12:pr-existing-work
opened 06:58AM - 15 May 26 UTC
## Summary
Adds a new `calendar_category_default_view` site setting for categ…ory calendars in the discourse-calendar plugin.
This allows admins to configure the default FullCalendar view used on category calendar pages (e.g. month/week/day/year).
Per-category `defaultView` values in calendar_categories continue to take precedence over the global default setting.
## Changes
- Added new site setting:
- `calendar_category_default_view`
- Reused existing `CalendarUpcomingEventsDefaultView` enum
- Updated CategoryCalendar to use:
- category `defaultView` if present
- otherwise fallback to `calendar_category_default_view`
- Added system spec coverage for precedence behaviour
## Notes
This mirrors the existing `calendar_upcoming_events_default_view` behaviour used for `/upcoming-events`.