feat: fix time slot hierarchy — seeder, API include_children, frontend dropdown, navigation
Restructure the festival hierarchy end-to-end: Seeder: Remove duplicate festival-level VOLUNTEER time slots, keep only CREW operational slots. Rename sub-events to "Dag 1/2/3 — ..." pattern. Change Nachtsecurity to Security (cross_event). EHBO/Security shifts now use sub-event time slots via cross_event exception. Add flat event "Braderie Dorpstown 2026". API: Add ?include_children=true to TimeSlotController for festivals, returning all sub-event time slots with source and event_name fields. Update StoreShiftRequest and UpdateShiftRequest to accept child time slots for cross_event sections. Frontend: Create useTimeSlotDropdown composable with 4-scenario dropdown logic. Replace AppSelect with VAutocomplete in CreateShiftDialog with grouped items, dimmed festival slots, and info tooltips. Add InfoTooltip reusable component. Show festival context labels on cross_event sections in sub-event section lists. Add read-only festival time slots on sub-event time-slots page. Add cross_event context banner with "Bekijk alle diensten" link. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -166,9 +166,15 @@ Auth: org_admin or event_manager on the event's organisation.
|
||||
> and includes `event_name` for display grouping. This parameter has no effect on festivals
|
||||
> or flat events.
|
||||
>
|
||||
> For festivals (events with sub-events), pass `?include_children=true` to include all
|
||||
> sub-event time slots. Each time slot is marked with `source` (`own` or the sub-event's
|
||||
> `event_id`) and `event_name`. Used by cross_event section shift dialogs that need access
|
||||
> to all time slots across the festival. This parameter has no effect on sub-events or
|
||||
> flat events.
|
||||
>
|
||||
> Shifts on sub-event sections may reference parent festival time slots (e.g. for build-up
|
||||
> shifts). The `time_slot_id` validation accepts time slots from the sub-event itself or
|
||||
> its parent festival.
|
||||
> shifts). Shifts on cross_event sections may reference any time slot from the festival or
|
||||
> its sub-events. The `time_slot_id` validation accepts time slots accordingly.
|
||||
|
||||
## Shifts
|
||||
|
||||
|
||||
Reference in New Issue
Block a user