brackt/app/components/league/settings
Claude 1b28ca5e7c
Address code review feedback on Discord pick announcements
- Fix "on the clock" timing: read currentPickNumber fresh from DB post-autodraft-chain (matches sendOnTheClockEmail guarantee)
- Remove outer try/catch from notifyPickMadeOnDiscord so callers' .catch() is not dead code
- Add missing draft-discord.server.test.ts with 12 tests covering all early-exit and happy paths
- Fix silent empty-string fallback for missing pickedSlot: warn and skip instead
- Eliminate sequential season→league DB queries by accepting leagueId as a direct param
- Show "save webhook URL to configure options" hint when URL is typed but not yet saved
- Remove block-scope braces at both call sites (plain const declarations)
- Remove redundant "Round N, Pick M" description line (title already carries this info)
- Inline pickInRoundFor helper to avoid circular import with draft-utils

https://claude.ai/code/session_01Tvwsv3LfL9JUqxoLct8dTn
2026-05-20 23:47:07 +00:00
..
__tests__ Simplify sports season display and add local timezone hints (#434) 2026-05-15 16:04:07 -07:00
DraftOrderSection.tsx Refactor league settings into per-section components (#379) 2026-05-05 14:19:50 -07:00
DraftSetupSection.tsx fix: resolve all 48 WCAG 2.2 AA accessibility issues (#439) 2026-05-17 20:11:38 -07:00
HistoryDangerSection.tsx Refactor league settings into per-section components (#379) 2026-05-05 14:19:50 -07:00
LeagueBasicsSection.tsx Refactor league settings into per-section components (#379) 2026-05-05 14:19:50 -07:00
LeagueSettingsHeader.tsx Refactor league settings into per-section components (#379) 2026-05-05 14:19:50 -07:00
NotificationsSection.tsx Address code review feedback on Discord pick announcements 2026-05-20 23:47:07 +00:00
PeopleSection.tsx fix: resolve all 48 WCAG 2.2 AA accessibility issues (#439) 2026-05-17 20:11:38 -07:00
ScoringSection.tsx Refactor league settings into per-section components (#379) 2026-05-05 14:19:50 -07:00
SettingsMessages.tsx Replace settings redirect with toast notification (#445) 2026-05-18 16:08:10 -07:00
SettingsNavigation.tsx fix: resolve all 48 WCAG 2.2 AA accessibility issues (#439) 2026-05-17 20:11:38 -07:00
SettingsSaveBar.tsx Refactor league settings into per-section components (#379) 2026-05-05 14:19:50 -07:00
SettingsSection.tsx Improve flag config validation and remove settings completion tracking (#390) 2026-05-07 10:09:45 -07:00
SortableDraftOrderRow.tsx Refactor league settings into per-section components (#379) 2026-05-05 14:19:50 -07:00
SportsSection.tsx Simplify sports season display and add local timezone hints (#434) 2026-05-15 16:04:07 -07:00
UnsavedChangesDialogs.tsx Refactor league settings into per-section components (#379) 2026-05-05 14:19:50 -07:00