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 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) {