Network Reconnection Delay
Nucleic-Session: 4BE3E40C-E939-444C-8AED-93C0AFE13C07 Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user