brackt/app
Claude 147ebc859d
Fix race window in user creation and restore FlagSvg safety fallback
auth.server.ts: switch generateId to application-generated UUIDs so the
ID is known before the insert, then move flagConfig assignment from
create.after (a separate UPDATE) to create.before so it lands in the
initial INSERT with no race window.

FlagSvg.tsx: validate the config with parseFlagConfig before rendering;
corrupt or missing data falls back to a neutral gray triband flag rather
than silently rendering blank SVG shapes.

https://claude.ai/code/session_01T7iTb9YZLuWJFtKV753tdB
2026-05-07 17:01:11 +00:00
..
components Fix race window in user creation and restore FlagSvg safety fallback 2026-05-07 17:01:11 +00:00
contexts feat: implement middleware and context provider for Express integration 2025-10-11 20:56:00 -07:00
hooks Add Brackt as a league-private meta-sport (#200) (#377) 2026-05-04 20:31:44 -07:00
lib Fix race window in user creation and restore FlagSvg safety fallback 2026-05-07 17:01:11 +00:00
models Remove backfill-flag-configs script (#389) 2026-05-06 20:35:02 -07:00
routes Fix mobile league settings: prevent sports scroll and remove completion checkmarks 2026-05-07 03:55:13 +00:00
services Add Brackt as a league-private meta-sport (#200) (#377) 2026-05-04 20:31:44 -07:00
test Migrate auth from Clerk to BetterAuth (#354) 2026-04-29 10:03:50 -07:00
types Redesign standings page with sortable table, 7-day change, and chart repositioned (#205) 2026-03-22 11:05:13 -07:00
utils Canonical tournament layer: schema + backfill (1/2) (#365) 2026-05-01 20:13:18 -07:00
welcome Redesign to dark-mode-only with navy palette and accent colors (#13) 2026-02-20 19:26:11 -08:00
app.css Add Storybook stories for new components from staged changes (#321) 2026-04-23 22:09:25 -07:00
entry.client.tsx Filter unnecessary sentry css and js errors. 2026-03-15 10:24:57 -07:00
entry.server.tsx Replace console.* with structured logger, fix no-inferrable-types (closes #98) (#199) 2026-03-21 13:41:39 -07:00
root.tsx Add Cloudinary-backed avatar system (#385) 2026-05-06 14:47:37 -07:00
routes.ts Add Cloudinary-backed avatar system (#385) 2026-05-06 14:47:37 -07:00