brackt/app/components
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__ refactor: update import paths to use absolute paths for better clarity and maintainability 2025-10-24 21:20:19 -07:00
draft Fix all code review issues with push notifications 2026-02-20 21:45:35 +00:00
scoring feat: add FIFA World Cup 48-team bracket template with group stage and projected scoring 2026-02-14 22:30:12 -08:00
sports feat: Enhance league home page with sports seasons section and scoring pattern display 2025-11-14 20:39:51 -08:00
standings fix: correct test expectations for ICM edge cases and duplicate text queries 2026-02-17 14:24:07 -08:00
ui feat: Integrate accordion component for sidebar and update autodraft settings to sync with props 2025-10-25 10:04:21 -07:00
AutodraftSettings.tsx feat: Prevent simultaneous updates in AutodraftSettings and disable controls during updates 2025-10-26 22:09:22 -07:00
DraftGrid.tsx fix: correct cell content styling order in DraftGrid component 2025-10-24 21:25:02 -07:00
DraftSidebar.tsx Fix all code review issues with push notifications 2026-02-20 21:45:35 +00:00
navbar.tsx feat: add admin navigation link for authenticated admin users 2025-10-13 09:44:59 -07:00
NotificationSettings.tsx Fix all code review issues with push notifications 2026-02-20 21:45:35 +00:00
ParticipantSelector.tsx feat: Add ParticipantSelector component for improved participant selection in brackets 2025-11-08 21:36:29 -08:00
StandingsTable.tsx feat: Implement bracket expansion plan to support various tournament structures 2025-11-03 09:36:16 -08:00