brackt/app
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
..
components Fix all code review issues with push notifications 2026-02-20 21:45:35 +00:00
contexts feat: implement middleware and context provider for Express integration 2025-10-11 20:56:00 -07:00
hooks Fix all code review issues with push notifications 2026-02-20 21:45:35 +00:00
lib Fix all code review issues with push notifications 2026-02-20 21:45:35 +00:00
models Refactor expected values form to batch save all participants (#4) 2026-02-19 15:57:05 -08:00
routes Fix all code review issues with push notifications 2026-02-20 21:45:35 +00:00
services fix: correct test expectations for ICM edge cases and duplicate text queries 2026-02-17 14:24:07 -08:00
test feat: Add comprehensive scoring system database schema 2025-10-28 23:40:11 -07:00
types feat: add FIFA World Cup 48-team bracket template with group stage and projected scoring 2026-02-14 22:30:12 -08:00
utils Change participant expectedValue from integer to decimal (#1) 2026-02-19 11:26:40 -08:00
welcome refactor: remove guest book feature and update league settings success flow 2025-10-11 01:03:31 -07:00
app.css feat: add theme system with dark mode support and navbar component 2025-10-10 23:30:26 -07:00
root.tsx feat: Update DraftSidebar to include recent picks section and refactor layout; enhance AvailableParticipantsSection and QueueSection styling 2025-10-25 18:25:26 -07:00
routes.ts feat: implement sports season expected value calculations and probability updates 2025-11-21 22:05:50 -08:00