brackt/app/routes/leagues
Chris Parsons 61f3fa9a4e
fix: optimistic UI and type safety for draft queue handlers (#37)
- Add optimistic remove to handleRemoveFromQueue (was missing, causing visible lag)
- Fix stale closure on previousQueue in reorder/remove by capturing inside setQueue updater
- Replace filter(Boolean) with typed type guard filter in handleReorderQueue
- Add QueueItem type alias from schema.$inferSelect, typed useState, remove all `any` casts
- Complete temp item fields in handleAddToQueue to satisfy QueueItem type

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-24 11:31:25 -08:00
..
__tests__ Claude/fix pick timer ghll n (#29) 2026-02-22 19:29:29 -08:00
$leagueId.draft-board.$seasonId.tsx Claude/fix pick timer ghll n (#29) 2026-02-22 19:29:29 -08:00
$leagueId.draft.$seasonId.tsx fix: optimistic UI and type safety for draft queue handlers (#37) 2026-02-24 11:31:25 -08:00
$leagueId.server.ts Claude/fix pick timer ghll n (#29) 2026-02-22 19:29:29 -08:00
$leagueId.settings.tsx fix: address code review issues from draft board scrolling and team creation changes (#35) 2026-02-24 10:01:27 -08:00
$leagueId.sports-seasons.$sportsSeasonId.server.ts Fix sports season page 404 when sports season is linked to multiple leagues (#10) 2026-02-20 11:35:35 -08:00
$leagueId.sports-seasons.$sportsSeasonId.tsx feat: Add routes and components for sports season display, including playoff brackets and standings 2025-11-12 23:44:33 -08:00
$leagueId.standings.$seasonId.teams.$teamId.tsx feat: Implement team breakdown pages with detailed score breakdown 2025-11-14 20:01:21 -08:00
$leagueId.standings.$seasonId.tsx Claude/fix pick timer ghll n (#29) 2026-02-22 19:29:29 -08:00
$leagueId.tsx Redesign to dark-mode-only with navy palette and accent colors (#13) 2026-02-20 19:26:11 -08:00
new.tsx Add implementation plan for commissioner-without-team feature (#6) 2026-02-20 08:45:09 -08:00