brackt/app/routes/leagues
Chris Parsons d2282a263e Fix BetterAuth field mapping and add owner-prefixed team names
- Fix auth.server.ts: use camelCase Drizzle field names for BetterAuth
  adapter (was snake_case, causing user inserts to fail); add
  generateId: "uuid" so PostgreSQL UUID columns accept generated IDs
- Add prependOwnerToTeamName / stripOwnerFromTeamName utilities
- Invite join, league creation, and settings assign/remove all now
  manage the owner-prefix on team names atomically

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-29 08:31:16 -07:00
..
__tests__ Add overnight pause for draft timers (#335) 2026-04-26 22:31:52 -07:00
$leagueId.audit-log.tsx Migrate authentication from Clerk to BetterAuth (#324) 2026-04-24 22:00:49 -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 field mapping and add owner-prefixed team names 2026-04-29 08:31:16 -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