brackt/app/components/ui
Chris Parsons d342f1ad25
Remove backfill-flag-configs script (#389)
* Remove backfill-flag-configs script

One-time migration has been run; script is no longer needed.

https://claude.ai/code/session_014RUwPfm1qc539xLxW4m9Uy

* Clean up flag config code

- FlagSvg: remove redundant getDisplayFlagConfig call; config is already a
  valid FlagConfig by type, so the validation/fallback was dead code. Also
  replace the unreachable `?? "#adf661"` fallback with a non-null assertion.
- team/user models: pre-generate ID before insert so flagConfig is persisted
  immediately on creation rather than relying on display-time generation.
- auth.server.ts: add create.after hook so BetterAuth-created users also get
  a flagConfig written to the DB on signup.

https://claude.ai/code/session_014RUwPfm1qc539xLxW4m9Uy

* Fix lint: replace non-null assertion in FlagSvg with destructure defaults

oxlint forbids the ! operator; destructuring with empty-string defaults
is equivalent since FlagConfig always has 3 colors.

https://claude.ai/code/session_014RUwPfm1qc539xLxW4m9Uy

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-05-06 20:35:02 -07:00
..
accordion.tsx feat: Integrate accordion component for sidebar and update autodraft settings to sync with props 2025-10-25 10:04:21 -07:00
alert-dialog.tsx feat: add commissioner model and league management features 2025-10-11 00:29:04 -07:00
AvatarEditor.tsx Fix avatar display bugs in navbar, standings, and draft views (#387) 2026-05-06 17:03:34 -07:00
AvatarUploader.tsx Add Cloudinary-backed avatar system (#385) 2026-05-06 14:47:37 -07:00
badge.tsx feat: add admin routes and checkbox component for sports management 2025-10-12 21:54:49 -07:00
BracktGradients.tsx Add Storybook stories for new components from staged changes (#321) 2026-04-23 22:09:25 -07:00
button.stories.tsx Initial storybook components. 2026-03-29 22:09:45 -07:00
button.tsx Add Storybook stories for new components from staged changes (#321) 2026-04-23 22:09:25 -07:00
calendar.tsx feat: add draft date/time selection to league creation and settings 2025-10-15 22:02:21 -07:00
card.tsx Add Storybook stories for new components from staged changes (#321) 2026-04-23 22:09:25 -07:00
checkbox.stories.tsx Initial storybook components. 2026-03-29 22:09:45 -07:00
checkbox.tsx feat: add admin routes and checkbox component for sports management 2025-10-12 21:54:49 -07:00
collapsible.tsx feat: Implement draft room redesign with collapsible sidebar and tabbed content 2025-10-25 03:23:41 -07:00
context-menu.tsx feat: add draft API routes and implement draft room pick controls 2025-10-18 14:55:26 -07:00
dialog.tsx Improve draft room UX with better error handling and UI refinements (#17) 2026-02-20 21:50:27 -08:00
FlagBuilder.stories.tsx Add Cloudinary-backed avatar system (#385) 2026-05-06 14:47:37 -07:00
FlagBuilder.tsx Add Cloudinary-backed avatar system (#385) 2026-05-06 14:47:37 -07:00
FlagSvg.stories.tsx Add Cloudinary-backed avatar system (#385) 2026-05-06 14:47:37 -07:00
FlagSvg.tsx Remove backfill-flag-configs script (#389) 2026-05-06 20:35:02 -07:00
GradientIcon.tsx New design (#309) 2026-04-23 13:14:55 -07:00
input.tsx feat: add fantasy league schema and new league routes 2025-10-11 00:07:39 -07:00
label.tsx feat: add fantasy league schema and new league routes 2025-10-11 00:07:39 -07:00
navigation-menu.tsx feat: add theme system with dark mode support and navbar component 2025-10-10 23:30:26 -07:00
popover.tsx feat: add draft date/time selection to league creation and settings 2025-10-15 22:02:21 -07:00
radio-group.tsx feat: add sports selection and team management to league settings 2025-10-13 19:59:34 -07:00
SectionCardHeader.tsx New design (#309) 2026-04-23 13:14:55 -07:00
select.tsx fix: prevent iOS Safari viewport zoom on draft room form inputs (#45) 2026-02-27 23:46:09 -08:00
sheet.tsx feat: add theme system with dark mode support and navbar component 2025-10-10 23:30:26 -07:00
sonner.tsx feat: add commissioner model and league management features 2025-10-11 00:29:04 -07:00
switch.tsx feat: add autodraft status and team connection indicators to draft grid 2025-10-21 23:22:17 -07:00
table.tsx feat: add admin routes and checkbox component for sports management 2025-10-12 21:54:49 -07:00
tabs.tsx feat: Implement draft room redesign with collapsible sidebar and tabbed content 2025-10-25 03:23:41 -07:00
team-name-display.tsx Display team owner names in standings views (#184) 2026-03-19 20:19:28 -07:00
team-owner-badge.stories.tsx Add Storybook stories for new components from staged changes (#321) 2026-04-23 22:09:25 -07:00
team-owner-badge.tsx Add Storybook stories for new components from staged changes (#321) 2026-04-23 22:09:25 -07:00
textarea.tsx feat: add admin routes and checkbox component for sports management 2025-10-12 21:54:49 -07:00
UserAvatar.stories.tsx Add Cloudinary-backed avatar system (#385) 2026-05-06 14:47:37 -07:00
UserAvatar.tsx Add Cloudinary-backed avatar system (#385) 2026-05-06 14:47:37 -07:00