Audit finding
ConfigurationForm and VisualProfileManagerForm directly:
- resolve defensive settings snapshots;
- invoke domain management services;
- control settings transactions;
- translate persistence failures;
- choose notifications/dialog text;
- manage refresh suppression;
- build and update views.
This couples application-use-case rules to WinForms controls and causes forms to change for both presentation and domain-flow changes.
Target state
Introduce focused configuration use-case coordinators/presenters that own transactions and return explicit results for the forms to present.
Forms should:
- translate control events to typed commands;
- render immutable view models;
- open dialogs;
- display returned user messages.
Do not introduce a broad MVVM framework.
Acceptance criteria
Audit finding
ConfigurationFormandVisualProfileManagerFormdirectly:This couples application-use-case rules to WinForms controls and causes forms to change for both presentation and domain-flow changes.
Target state
Introduce focused configuration use-case coordinators/presenters that own transactions and return explicit results for the forms to present.
Forms should:
Do not introduce a broad MVVM framework.
Acceptance criteria