Message Queue Display

Nucleic-Session: 4714846A-A598-4711-AA38-640B40927DF4
Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
2026-07-01 18:34:06 -07:00
co-authored by Nucleic
parent 49e30c0d68
commit 687a024373
@@ -170,17 +170,16 @@ struct SessionDetailView: View {
let running = status == .running let running = status == .running
let canCompose = running || status == .awaitingInput || status.isTerminal let canCompose = running || status == .awaitingInput || status.isTerminal
VStack(spacing: 8) { VStack(spacing: 8) {
// A follow-up submitted mid-turn, held by the host to send when the current // Follow-ups submitted mid-turn, held by the host to send when the current turn
// turn finishes. // finishes. Each is shown as its own pill (with its attachments) and — at control
if let queued = summary?.queuedMessage, !queued.isEmpty { // scope — can be cancelled individually, matching the Mac composer. (They still
HStack(spacing: 6) { // send as one combined turn.)
Image(systemName: "clock").foregroundStyle(.secondary) if let queued = summary?.queuedMessages, !queued.isEmpty {
Text(queued).lineLimit(1).truncationMode(.tail) VStack(spacing: 6) {
.foregroundStyle(.secondary) ForEach(queued) { message in
Spacer(minLength: 8) queuedMessageRow(message)
}
} }
.font(.footnote)
.frame(maxWidth: .infinity, alignment: .leading)
} }
if running { if running {
HStack(spacing: 8) { HStack(spacing: 8) {