brackt/app/components/draft
Claude 24d9ce2f31
Fix all code review issues in pre-draft rankings feature
- Replace useFetcher with direct fetch() for add/remove/reorder so rapid
  clicks no longer cancel in-flight requests
- Add toast.error() on all failure paths (matching live draft room pattern)
  and revert optimistic state when operations fail
- Add useRef to give handleReorder a stable reference without a localQueue
  closure dependency, preventing unnecessary QueueSection re-renders
- Convert allPlayersPanel and rankingsPanel to useMemo
- Remove leagueId from loader return; read from useParams() instead
- Extract queueBuilderHref to a variable in the league home component
- Add emptyMessage prop to QueueSection with a correct message for the
  pre-draft context ("Add players from All Players...")
- Add draft-queue-access.test.ts covering all loader access control paths:
  401/403 errors, status-based redirects, and redirect URL correctness

https://claude.ai/code/session_01Gu2DkTWL3nv74EMuGPpxhG
2026-05-15 23:53:34 +00:00
..
AuthRecoveryOverlay.tsx fix: prevent silent logout during long-running draft sessions (#49) 2026-03-01 19:33:03 -08:00
AvailableParticipantsSection.tsx Add electric flash + fade animation for draft picks, fixes #381 (#407) 2026-05-10 23:17:29 -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 electric flash + fade animation for draft picks, fixes #381 (#407) 2026-05-10 23:17:29 -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 Add Cloudinary-backed avatar system (#385) 2026-05-06 14:47:37 -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 Show why a participant is ineligible to draft (#378) 2026-05-04 21:54:14 -07: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 Fix all code review issues in pre-draft rankings feature 2026-05-15 23:53:34 +00: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