brackt/app
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
..
components Fix all code review issues in pre-draft rankings feature 2026-05-15 23:53:34 +00:00
contexts feat: implement middleware and context provider for Express integration 2025-10-11 20:56:00 -07:00
hooks Simplify sports season display and add local timezone hints (#434) 2026-05-15 16:04:07 -07:00
lib Extract chess clock presets to shared constant (#432) 2026-05-15 14:02:49 -07:00
models Add admin user management interface with search and username editing (#431) 2026-05-15 12:07:51 -07:00
routes Fix all code review issues in pre-draft rankings feature 2026-05-15 23:53:34 +00:00
services Add opt-in Discord pings to standings notifications (#429) 2026-05-15 10:06:54 -07:00
test Remove first and last name from user profiles (#399) 2026-05-09 09:18:50 -07:00
types Redesign standings page with sortable table, 7-day change, and chart repositioned (#205) 2026-03-22 11:05:13 -07:00
utils Canonical tournament layer: schema + backfill (1/2) (#365) 2026-05-01 20:13:18 -07:00
welcome Redesign to dark-mode-only with navy palette and accent colors (#13) 2026-02-20 19:26:11 -08:00
app.css Add electric flash + fade animation for draft picks, fixes #381 (#407) 2026-05-10 23:17:29 -07:00
entry.client.tsx Filter unnecessary sentry css and js errors. 2026-03-15 10:24:57 -07:00
entry.server.tsx Replace console.* with structured logger, fix no-inferrable-types (closes #98) (#199) 2026-03-21 13:41:39 -07:00
root.tsx Add admin user management interface with search and username editing (#431) 2026-05-15 12:07:51 -07:00
routes.ts Add pre-draft queue builder so users can rank players before draft order is set 2026-05-15 23:37:10 +00:00