brackt/app/components/league/settings
Chris Parsons 3c757c1f73
Replace settings redirect with toast notification (#445)
* Show toast instead of redirecting after league settings save

Commishes now stay on the settings page when saving, with a Sonner
toast confirming the save rather than being navigated to the league
homepage.

https://claude.ai/code/session_01PewdKxVfAbqasJbmk2UGw4

* Fix toast firing for unrelated intents after settings save

Tag update responses with intent: "update" so the success useEffect
only fires for the main settings form, not for owner/commissioner/
reset-draft actions which also return { success: true }. Also replaces
the remaining ?updated=true redirect (no-season edge case) with the
same response shape for consistency.

https://claude.ai/code/session_01PewdKxVfAbqasJbmk2UGw4

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-05-18 16:08:10 -07:00
..
__tests__ Simplify sports season display and add local timezone hints (#434) 2026-05-15 16:04:07 -07: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 Refactor league settings into per-section components (#379) 2026-05-05 14:19:50 -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 fix: resolve all 48 WCAG 2.2 AA accessibility issues (#439) 2026-05-17 20:11:38 -07: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