Calendar/wwwroot/data/tenant-settings.json
Janus C. H. Knudsen fa2eb66fb2 Refactor calendar navigation with flexible day offsets
Improves date navigation by introducing dynamic period-based offsets for calendar views

Replaces week-based navigation with more flexible day offsets that support:
- Single-day and multi-day navigation
- Configurable work week presets with different period lengths
- More granular control over date range selection

Adds support for dynamic navigation periods through workweek preset configuration
2025-12-18 00:11:45 +01:00

69 lines
1.5 KiB
JSON

[
{
"id": "workweek",
"syncStatus": "synced",
"presets": {
"standard": {
"id": "standard",
"workDays": [1, 2, 3, 4, 5],
"label": "Man-Fre",
"periodDays": 7
},
"compressed": {
"id": "compressed",
"workDays": [1, 2, 3],
"label": "Man-Ons",
"periodDays": 7
},
"midweek": {
"id": "midweek",
"workDays": [4, 5],
"label": "Tors-Fre",
"periodDays": 7
},
"weekend": {
"id": "weekend",
"workDays": [6, 7],
"label": "Weekend",
"periodDays": 7
},
"fullweek": {
"id": "fullweek",
"workDays": [1, 2, 3, 4, 5, 6, 7],
"label": "Alle dage",
"periodDays": 7
},
"day": {
"id": "day",
"workDays": [1],
"label": "Dag",
"periodDays": 1
}
},
"defaultPreset": "standard",
"firstDayOfWeek": 1
},
{
"id": "grid",
"syncStatus": "synced",
"dayStartHour": 6,
"dayEndHour": 22,
"workStartHour": 8,
"workEndHour": 17,
"hourHeight": 80,
"snapInterval": 15
},
{
"id": "timeFormat",
"syncStatus": "synced",
"timezone": "Europe/Copenhagen",
"locale": "da-DK",
"use24HourFormat": true
},
{
"id": "views",
"syncStatus": "synced",
"availableViews": ["simple", "resource", "team", "department"],
"defaultView": "simple"
}
]