brackt/app/routes/leagues
Claude 30b5fced8c
Fix all code review issues with push notifications
- Extract snake draft order calculation to shared getTeamForPick()
  helper in lib/draft-order.ts, removing the duplicated logic
- Fix notification firing on user's own picks (guard with team id check)
- Fix notification firing after draft is complete (early return)
- Use a ref for sendNotification to prevent full socket handler
  re-registration every time the toggle is changed
- Add permission drift listener via Permissions API so the UI reacts
  if the user revokes notification permission in browser settings
- Add SSR guard for document.hidden in sendNotification
- Remove redundant isSupported prop from NotificationSettings;
  derive unsupported state from permissionState === "unsupported"
- Move NotificationSettings out of QueueSection prop-drilling path;
  render it via a new settingsSection slot on DraftSidebar instead

https://claude.ai/code/session_0149MvVUYDY6pFUAV1fL4K69
2026-02-20 21:45:35 +00:00
..
__tests__ feat: Add comprehensive scoring system database schema 2025-10-28 23:40:11 -07:00
$leagueId.draft-board.$seasonId.tsx feat: add public draft board and simplify draft speed settings 2025-10-20 15:03:11 -07:00
$leagueId.draft.$seasonId.tsx Fix all code review issues with push notifications 2026-02-20 21:45:35 +00:00
$leagueId.server.ts feat: add recharts library and implement PointProgressionChart component for historical views 2025-11-14 21:18:34 -08:00
$leagueId.settings.tsx feat: Add scoring rules editor to league settings and creation pages 2025-10-29 00:04:27 -07:00
$leagueId.sports-seasons.$sportsSeasonId.server.ts feat: Add routes and components for sports season display, including playoff brackets and standings 2025-11-12 23:44:33 -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 feat: add FIFA World Cup 48-team bracket template with group stage and projected scoring 2026-02-14 22:30:12 -08:00
$leagueId.tsx feat: add recharts library and implement PointProgressionChart component for historical views 2025-11-14 21:18:34 -08:00
new.tsx feat: Add scoring rules editor to league settings and creation pages 2025-10-29 00:04:27 -07:00