From 16e03c8ae4a23ca20831400140743e9310c973e2 Mon Sep 17 00:00:00 2001 From: Ian Gulliver Date: Thu, 22 Oct 2026 17:33:07 -0700 Subject: [PATCH] Show progress while the Start workflow intent runs --- mac/Sources/Byre/QuickRun.swift | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/mac/Sources/Byre/QuickRun.swift b/mac/Sources/Byre/QuickRun.swift index 91f5858..436bcbe 100644 --- a/mac/Sources/Byre/QuickRun.swift +++ b/mac/Sources/Byre/QuickRun.swift @@ -169,11 +169,20 @@ struct QuickRunPage: View { .disabled(starting) Spacer() if let choice { - Button("Start") { + if starting { + ProgressView() + } + Button { start(choice, prompt) + } label: { + ZStack { + Text("Starting…") + .hidden() + Text(starting ? "Starting…" : "Start") + } } .buttonStyle(WebButtonStyle(primary: true)) - .disabled(prompt.isEmpty || starting) + .disabled(prompt.isEmpty) } } .font(Fonts.font(15, weight: 700))