Skip to content

Conversation

@SheetMetalConnect
Copy link
Owner

No description provided.

- Fix CalendarDay type to properly handle nullable capacity_multiplier
- Replace basic input range with proper Slider component for capacity
- Add delete confirmation dialog using AlertDialog
- Add translations for all day type labels and messages
- Fix tenant type casting to use proper TenantRow type
- Improve UI with better colors, icons, and dark mode support
- Add time override fields for working days (not just half days)
- Show capacity percentage in special days list
- Add database helper functions migration for calendar operations:
  - get_calendar_days_in_range: Get calendar days including defaults
  - is_working_day: Check if a date is a working day
  - get_next_working_day: Find the next working day from a date
  - count_working_days: Count working days between two dates
  - get_capacity_hours_in_range: Calculate total capacity hours
  - upsert_calendar_entries: Bulk import calendar entries
- Add includeCalendar option to MockDataOptions
- Seed 32 Dutch holidays and factory closures for 2025-2026:
  - Nieuwjaarsdag (New Year's Day)
  - Goede Vrijdag (Good Friday)
  - Eerste/Tweede Paasdag (Easter Sunday/Monday)
  - Koningsdag (King's Day)
  - Bevrijdingsdag (Liberation Day)
  - Hemelvaartsdag + brugdag (Ascension Day + bridge day)
  - Eerste/Tweede Pinksterdag (Whit Sunday/Monday)
  - Eerste/Tweede Kerstdag (Christmas Day/Boxing Day)
  - Christmas-New Year closure period with half days
- Include proper Dutch names and notes for all entries
- Add clearMockData cleanup for factory_calendar entries
@SheetMetalConnect SheetMetalConnect merged commit 8c5364f into main Dec 3, 2025
2 of 3 checks passed
@SheetMetalConnect SheetMetalConnect deleted the claude/fix-calendar-definitions-01A51bUhLSfjxhgWc2y79Vtf branch January 18, 2026 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants