Network Reconnection Delay

Nucleic-Session: 4BE3E40C-E939-444C-8AED-93C0AFE13C07
Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
2026-07-06 12:46:13 -07:00
co-authored by Nucleic
parent 9a0a46bc8b
commit 303cdcc86d
@@ -310,6 +310,12 @@ struct SessionDetailView: View {
} else { } else {
ApprovalCardView(approval: approval, availableHeight: availableHeight) ApprovalCardView(approval: approval, availableHeight: availableHeight)
} }
} else if store.openApprovalLoading {
// Opened from a Live Activity / notification for a session blocked on approval, but
// the channel is still (re)connecting — bridge the gap with a placeholder so the tap
// lands on the request-in-progress, not a blank transcript. Replaced by the real
// ApprovalCardView the instant the snapshot arrives (sub-second reconnect).
approvalLoadingCard
} else if let status = summary?.status { } else if let status = summary?.status {
let running = status == .running let running = status == .running
let canCompose = running || status == .awaitingInput || status.isTerminal let canCompose = running || status == .awaitingInput || status.isTerminal