Skip to content

fix: show 'schedule not released' message instead of infinite spinner - #537

Open
0x5t4l1n wants to merge 1 commit into
Decatur-Robotics:mainfrom
0x5t4l1n:fix/schedule-not-released-message
Open

fix: show 'schedule not released' message instead of infinite spinner#537
0x5t4l1n wants to merge 1 commit into
Decatur-Robotics:mainfrom
0x5t4l1n:fix/schedule-not-released-message

Conversation

@0x5t4l1n

@0x5t4l1n 0x5t4l1n commented Aug 2, 2026

Copy link
Copy Markdown

Summary\n\nFixes #200 — when the match schedule hadn't been published yet, a loading spinner ran indefinitely with no message to users.\n\nNew files:\n- src/hooks/useMatchSchedule.ts — hook that tracks scheduleLoaded (set true after fetch completes, even with null data)\n- src/components/ScheduleDisplay.tsx — renders spinner while loading, informative message when loaded but null, schedule when available\n\n## Test plan\n- [ ] Simulate a null schedule response — verify "The match schedule has not been released yet" message appears\n- [ ] With a real schedule — verify normal display\n\n🤖 Generated with Claude Code

Resolves Decatur-Robotics#200. The loading spinner kept spinning indefinitely when the
match schedule had not been released yet, giving users no indication of
what was happening. Add a scheduleLoaded state flag set after the fetch
completes (whether or not data was returned) so a clear
'Schedule not released yet' message is shown instead of an infinite
spinner.
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.

1 participant