Forms Dialogs And Notifications Flow

edit lifecycle, modal request/response, and fire-and-forget notification channels

Dark SVG source uses the VMx architecture palette and keeps arrows behind masked component boxes.

FormVM

  • FormVM is an edit-lifecycle primitive, not a persistence framework.
  • Snapshot, dirty tracking, validation, and success/error channels all live on the VM surface.
  • Dialog confirmation is documented composition, not a hard dependency.

Dialog seam

  • IDialogService is the host-facing modal contract for file pickers, confirms, and VM-backed modals.
  • NullDialogService exists so tests can stay deterministic.
  • ConfirmationDecoratorCommand composes directly with dialogService.Confirm().

Notifications

  • The notifications package is opt-in and orthogonal to dialogs.
  • NotificationVM and ConfirmationVM render posted notifications without changing the core VM family.
  • The make_confirm bridge is the clean way to reuse notification flows for command confirmation.