The time slot dropdown in the shift edit dialog could flash the "create a time slot first" alert during loading, and show raw ULIDs when time slot data hadn't loaded yet. Fixed by: - Adding loading state indicator to the time slot dropdown - Using the shift's existing time_slot object as a fallback item while the full list is fetching - Showing the dropdown (with loading spinner) instead of the misleading "no time slots" alert during fetch Added test coverage for time_slot_id validation on shift updates: - Update with valid same-event time slot (200) - Update with cross-org time slot (422) - Update on sub-event with parent festival time slot (200) - Store/update responses include nested time_slot object Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
21 KiB
21 KiB