brackt/app/components/draft
Chris Parsons 3611f5620e
Show "Syncing Draft State..." overlay during draft reconnection (#361)
* Show "Syncing Draft State..." overlay during draft reconnection

When a user reconnects to a draft room (socket reconnect, tab visibility
return, etc.), there was a gap between when the socket connected and when
the full draft state sync arrived. The ConnectionOverlay vanished instantly
on reconnect, showing potentially stale data.

Add an isSyncing flag that keeps the overlay visible with "Syncing Draft
State..." messaging until the actual data arrives via socket or HTTP
revalidation. A 5-second safety timeout prevents the overlay from getting
stuck.

Fixes #78

* Add team names utility tests
2026-04-30 20:33:00 -07:00
..
AuthRecoveryOverlay.tsx fix: prevent silent logout during long-running draft sessions (#49) 2026-03-01 19:33:03 -08:00
AvailableParticipantsSection.tsx Mobile draft room improvements: watchlist, collapsible picks feed, autodraft controls (#355) 2026-04-29 11:49:26 -07:00
CommissionerAutodraftDialog.stories.tsx Add Storybook stories for new components from staged changes (#321) 2026-04-23 22:09:25 -07:00
CommissionerAutodraftDialog.tsx Add Storybook stories for new components from staged changes (#321) 2026-04-23 22:09:25 -07:00
CommissionerDraftControls.stories.tsx Add Storybook stories for new components from staged changes (#321) 2026-04-23 22:09:25 -07:00
CommissionerDraftControls.tsx Add Storybook stories for new components from staged changes (#321) 2026-04-23 22:09:25 -07:00
ConnectionOverlay.tsx Show "Syncing Draft State..." overlay during draft reconnection (#361) 2026-04-30 20:33:00 -07:00
DraftGridSection.tsx Add overnight pause for draft timers (#335) 2026-04-26 22:31:52 -07:00
DraftPickCell.stories.tsx Add Storybook stories for new components from staged changes (#321) 2026-04-23 22:09:25 -07:00
DraftPickCell.tsx Add overnight pause for draft timers (#335) 2026-04-26 22:31:52 -07:00
DraftSummaryView.tsx New design (#309) 2026-04-23 13:14:55 -07:00
MiniDraftGrid.stories.tsx Add commish right-click context menus to MiniDraftGrid team headers (#327) 2026-04-25 07:42:43 -07:00
MiniDraftGrid.tsx Add overnight pause for draft timers (#335) 2026-04-26 22:31:52 -07:00
ParticipantSelectionDialog.tsx fix: prevent iOS Safari viewport zoom on draft room form inputs (#45) 2026-02-27 23:46:09 -08:00
picks-utils.ts New design (#309) 2026-04-23 13:14:55 -07:00
QueueSection.stories.tsx New design (#309) 2026-04-23 13:14:55 -07:00
QueueSection.tsx New design (#309) 2026-04-23 13:14:55 -07:00
RecentPicksFeed.tsx Mobile draft room improvements: watchlist, collapsible picks feed, autodraft controls (#355) 2026-04-29 11:49:26 -07:00
RecentPicksSection.tsx Add oxlint linting setup with zero errors (#194) 2026-03-21 09:44:05 -07:00
RollbackConfirmDialog.stories.tsx Add Storybook stories for new components from staged changes (#321) 2026-04-23 22:09:25 -07:00
RollbackConfirmDialog.tsx Add Storybook stories for new components from staged changes (#321) 2026-04-23 22:09:25 -07:00
SidebarRecentPicks.tsx New design (#309) 2026-04-23 13:14:55 -07:00
TeamRosterView.tsx New design (#309) 2026-04-23 13:14:55 -07:00
TeamsDraftedGrid.tsx Fix oxlint warnings: no-shadow, consistent-function-scoping, no-non-null-assertion, and others (#196) 2026-03-21 10:59:51 -07:00
TimeBankAdjustmentDialog.stories.tsx Add Storybook stories for new components from staged changes (#321) 2026-04-23 22:09:25 -07:00
TimeBankAdjustmentDialog.tsx Add Storybook stories for new components from staged changes (#321) 2026-04-23 22:09:25 -07:00