Move form state ownership from Home to leaf controls
This commit is contained in:
4
FAQ.md
4
FAQ.md
@@ -71,3 +71,7 @@ There is no separate activate button in Play. The selected character in the char
|
||||
## Where did the Home page logic move after the refactor?
|
||||
|
||||
`Home.razor` now focuses on composition and delegates behavior to concern-based code-behind partials (`Home.Auth.cs`, `Home.Campaign.cs`, `Home.Character.cs`, `Home.Skill.cs`, etc.) plus dedicated UI controls under `Components/Pages/HomeControls/`.
|
||||
|
||||
## Why is auth form state kept in `AuthSection` instead of `Home`?
|
||||
|
||||
Auth inputs and inline validation are transient UI concerns, so they now live in `AuthSection`. `Home` keeps only session/workspace state and API workflows, and returns `FormSubmissionResult` back to controls for display.
|
||||
|
||||
Reference in New Issue
Block a user