brackt/app/routes/leagues
Chris Parsons 75dedd0a90 Fix BetterAuth ID generation, clean up review issues
- Set generateId: false so BetterAuth omits id from inserts; add
  $defaultFn(crypto.randomUUID) to accounts/sessions/verifications
  so Drizzle fills it in (fixes null id constraint violation on signup)
- Move renameTeam to static import; rename before removeTeamOwner so
  a failed rename leaves owner intact rather than leaving a stale prefix
- Clarify stripOwnerFromTeamName toTitleCase assumption in comment
- Annotate reset-password token fallback to explain loader guarantee

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-29 09:58:49 -07:00
..
__tests__ Complete BetterAuth migration: auth flows, rename, and cleanup 2026-04-29 08:56:20 -07:00
$leagueId.audit-log.tsx Complete BetterAuth migration: auth flows, rename, and cleanup 2026-04-29 08:56:20 -07:00
$leagueId.draft-board.$seasonId.tsx Add Storybook stories for new components from staged changes (#321) 2026-04-23 22:09:25 -07:00
$leagueId.draft.$seasonId.tsx Add overnight pause for draft timers (#335) 2026-04-26 22:31:52 -07:00
$leagueId.server.ts Add overnight pause for draft timers (#335) 2026-04-26 22:31:52 -07:00
$leagueId.settings.tsx Fix BetterAuth ID generation, clean up review issues 2026-04-29 09:58:49 -07:00
$leagueId.sports-seasons.$sportsSeasonId.server.ts Migrate authentication from Clerk to BetterAuth (#324) 2026-04-24 22:00:49 -07:00
$leagueId.sports-seasons.$sportsSeasonId.tsx New design (#309) 2026-04-23 13:14:55 -07:00
$leagueId.standings.$seasonId.teams.$teamId.tsx Simplify team breakdown page layout and fix code quality issues (#155) 2026-03-17 09:20:41 -07:00
$leagueId.standings.$seasonId.tsx Extract reusable league wizard components; wire settings page (#350) 2026-04-28 22:24:13 -07:00
$leagueId.tsx Add overnight pause for draft timers (#335) 2026-04-26 22:31:52 -07:00
$leagueId.upcoming-events.tsx Migrate authentication from Clerk to BetterAuth (#324) 2026-04-24 22:00:49 -07:00
creating.tsx Extract reusable league wizard components; wire settings page (#350) 2026-04-28 22:24:13 -07:00
new.tsx Fix BetterAuth field mapping and add owner-prefixed team names 2026-04-29 08:31:16 -07:00