Cross-shell user feedback owned by the Editor.
Native notifications and long-running operation feedback share lifecycle at the editor boundary while shell-specific notices and overlays remain in the active shell state.
Summary
Functions
Commits operation feedback produced by its focused owner.
Dismisses a native notification by id.
Dismisses a notification only when its timer correlation still matches.
Finishes an active operation in the owned operation feedback.
Applies a scheduler-authored queued transition to the owned operation feedback.
Applies a running transition to the owned operation feedback.
Adds or replaces a native notification.
Types
@type t() :: %MingaEditor.State.Feedback{ notifications: MingaEditor.UI.NotificationCenter.t(), operation_feedback: MingaEditor.State.OperationFeedback.t() }
Functions
@spec accept_operation_feedback(t(), MingaEditor.State.OperationFeedback.t()) :: t()
Commits operation feedback produced by its focused owner.
Dismisses a native notification by id.
Dismisses a notification only when its timer correlation still matches.
@spec finish_operation( t(), MingaEditor.State.Operation.id(), MingaEditor.State.Operation.terminal_status(), String.t() ) :: t()
Finishes an active operation in the owned operation feedback.
@spec queue_operation( t(), MingaEditor.State.Operation.id(), String.t(), integer(), integer() ) :: {:ok, t()} | {:error, MingaEditor.State.OperationQueue.error()}
Applies a scheduler-authored queued transition to the owned operation feedback.
@spec run_operation(t(), MingaEditor.State.Operation.id(), String.t()) :: t()
Applies a running transition to the owned operation feedback.
@spec upsert_notification(t(), MingaEditor.UI.Notification.t()) :: t()
Adds or replaces a native notification.