brackt/app/components/league/settings
Claude 1ff4082129
Give user settings sections their own URLs
Each section of the user settings page (Profile, Account, Notifications,
API Access, Data & Privacy) is now a real, linkable path
(/settings/profile, /settings/account, etc.) instead of local toggle
state, so sections can be bookmarked, shared, opened in a new tab, and
reached via the browser back/forward buttons.

- Route now matches an optional segment (settings/:section?), keeping the
  single route so the shared loader/action and form submissions are
  unchanged. An unknown section redirects back to /settings.
- The shared settings nav components render proper <Link>s when given a
  buildHref/backHref, and keep their button/onClick behaviour for the
  league settings page (which has unsaved-changes guards).
- The settings page derives the active section and mobile grid/section
  view from the URL param instead of useState.
- Notifications "Account settings" link and the Discord OAuth callback
  now point at /settings/account.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Jt8Hhsio4bHGMaDZy7ftBs
2026-06-30 06:48:09 +00:00
..
__tests__ Give user settings sections their own URLs 2026-06-30 06:48:09 +00:00
DraftOrderSection.tsx Refactor league settings into per-section components (#379) 2026-05-05 14:19:50 -07:00
DraftSetupSection.tsx fix: resolve all 48 WCAG 2.2 AA accessibility issues (#439) 2026-05-17 20:11:38 -07:00
HistoryDangerSection.tsx Refactor league settings into per-section components (#379) 2026-05-05 14:19:50 -07:00
LeagueBasicsSection.tsx Refactor league settings into per-section components (#379) 2026-05-05 14:19:50 -07:00
LeagueSettingsHeader.tsx Refactor league settings into per-section components (#379) 2026-05-05 14:19:50 -07:00
NotificationsSection.tsx Add Discord draft pick announcements (#460) 2026-05-20 19:55:48 -07:00
PeopleSection.tsx fix: resolve all 48 WCAG 2.2 AA accessibility issues (#439) 2026-05-17 20:11:38 -07:00
ScoringSection.tsx Refactor league settings into per-section components (#379) 2026-05-05 14:19:50 -07:00
SettingsMessages.tsx Replace settings redirect with toast notification (#445) 2026-05-18 16:08:10 -07:00
SettingsNavigation.tsx Give user settings sections their own URLs 2026-06-30 06:48:09 +00:00
SettingsSaveBar.tsx Refactor league settings into per-section components (#379) 2026-05-05 14:19:50 -07:00
SettingsSection.tsx Improve flag config validation and remove settings completion tracking (#390) 2026-05-07 10:09:45 -07:00
SortableDraftOrderRow.tsx Refactor league settings into per-section components (#379) 2026-05-05 14:19:50 -07:00
SportsSection.tsx Simplify sports season display and add local timezone hints (#434) 2026-05-15 16:04:07 -07:00
UnsavedChangesDialogs.tsx Refactor league settings into per-section components (#379) 2026-05-05 14:19:50 -07:00