brackt/app/components/ui
Chris Parsons 6df4f86920
Improve flag config validation and remove settings completion tracking (#390)
* Fix mobile league settings: prevent sports scroll and remove completion checkmarks

- Add overflow-hidden to sport label text span so flex truncation is properly contained
- Add min-w-0 to SettingsSection header inner flex item to prevent title/description overflow
- Remove completion check marks from mobile grid nav buttons (league settings has no completion concept)
- Remove "X of Y set" counter from mobile nav header
- Remove isComplete field from SettingsGridSection type and all data

https://claude.ai/code/session_01T7iTb9YZLuWJFtKV753tdB

* 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

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-05-07 10:09:45 -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 Improve flag config validation and remove settings completion tracking (#390) 2026-05-07 10:09:45 -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