From 303cdcc86d73f9eed7a90603de00d68ad35df620 Mon Sep 17 00:00:00 2001 From: Andrew Blakeslee Moore Date: Mon, 6 Jul 2026 12:46:13 -0700 Subject: [PATCH] Network Reconnection Delay Nucleic-Session: 4BE3E40C-E939-444C-8AED-93C0AFE13C07 Co-authored-by: Nucleic --- NucleicRemote/NucleicRemote/Views/SessionDetailView.swift | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/NucleicRemote/NucleicRemote/Views/SessionDetailView.swift b/NucleicRemote/NucleicRemote/Views/SessionDetailView.swift index 7bbcefd..0c6c60a 100644 --- a/NucleicRemote/NucleicRemote/Views/SessionDetailView.swift +++ b/NucleicRemote/NucleicRemote/Views/SessionDetailView.swift @@ -310,6 +310,12 @@ struct SessionDetailView: View { } else { 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 { let running = status == .running let canCompose = running || status == .awaitingInput || status.isTerminal