Move skill management ownership into CharacterPanel
This commit is contained in:
1
TECH.md
1
TECH.md
@@ -95,6 +95,7 @@ This pattern is a strong baseline for low to medium scale and should be the defa
|
||||
- Home page logic split by concern with partials (`Home.State/Auth/Campaign/Character/Skill/Lifecycle/Realtime/Api/Presentation/Validation.cs`) to keep churn localized.
|
||||
- Form UX state uses reusable `FormState<TModel>` containers in leaf controls (`HomeControls/*`) rather than parallel form/error/message property sets in `Home`.
|
||||
- Concern controls execute their own auth/campaign/character/skill mutation workflows and notify `Home` only for shared-state refresh/orchestration.
|
||||
- Skill management workflows are owned by `CharacterPanel` to keep character-skill behavior cohesive.
|
||||
- Shared browser API interop is centralized in `RpgRollerApiClient` and reused by `Home` plus concern controls.
|
||||
- Browser API calls and SSE are handled via `wwwroot/js/rpgroller-api.js` interop.
|
||||
- UI state is maintained server-side per circuit with session/tab persistence for campaign + screen selection.
|
||||
|
||||
Reference in New Issue
Block a user