From 687a024373df6b1c4b1b475cd015aca2c683f2dc Mon Sep 17 00:00:00 2001 From: Andrew Blakeslee Moore Date: Wed, 1 Jul 2026 18:34:06 -0700 Subject: [PATCH] Message Queue Display Nucleic-Session: 4714846A-A598-4711-AA38-640B40927DF4 Co-authored-by: Nucleic --- .../Views/SessionDetailView.swift | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/NucleicRemote/NucleicRemote/Views/SessionDetailView.swift b/NucleicRemote/NucleicRemote/Views/SessionDetailView.swift index 0b95763..0684919 100644 --- a/NucleicRemote/NucleicRemote/Views/SessionDetailView.swift +++ b/NucleicRemote/NucleicRemote/Views/SessionDetailView.swift @@ -170,17 +170,16 @@ struct SessionDetailView: View { let running = status == .running let canCompose = running || status == .awaitingInput || status.isTerminal VStack(spacing: 8) { - // A follow-up submitted mid-turn, held by the host to send when the current - // turn finishes. - if let queued = summary?.queuedMessage, !queued.isEmpty { - HStack(spacing: 6) { - Image(systemName: "clock").foregroundStyle(.secondary) - Text(queued).lineLimit(1).truncationMode(.tail) - .foregroundStyle(.secondary) - Spacer(minLength: 8) + // Follow-ups submitted mid-turn, held by the host to send when the current turn + // finishes. Each is shown as its own pill (with its attachments) and — at control + // scope — can be cancelled individually, matching the Mac composer. (They still + // send as one combined turn.) + if let queued = summary?.queuedMessages, !queued.isEmpty { + VStack(spacing: 6) { + ForEach(queued) { message in + queuedMessageRow(message) + } } - .font(.footnote) - .frame(maxWidth: .infinity, alignment: .leading) } if running { HStack(spacing: 8) {