MingaEditor.TabWorkflow (Minga v0.1.0)

Copy Markdown View Source

External and presentation workflow around pure root tab transitions.

Registry validation, remote event replay, agent session snapshots, transcript reads, spinner timers, and modal presentation stay here. MingaEditor.State installs only the atomic immutable tab transition.

Summary

Functions

Restores a context and synchronizes its workspace-backed agent presentation.

Switches tabs and performs the external work requested by the pure transition result.

Synchronizes the live agent projection and replays pending foreground catch-up events.

Functions

restore_context(state, context)

Restores a context and synchronizes its workspace-backed agent presentation.

switch(state, target_id)

Switches tabs and performs the external work requested by the pure transition result.

sync_active_workspace_agent_ui(state)

@spec sync_active_workspace_agent_ui(MingaEditor.State.t()) :: MingaEditor.State.t()

Synchronizes the live agent projection and replays pending foreground catch-up events.