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.
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 upsert_notification(t(), MingaEditor.UI.Notification.t()) :: t()
Adds or replaces a native notification.