From 49d31ccb4439a72138540e5258b3b8e5673a7cbe Mon Sep 17 00:00:00 2001 From: nrobi144 Date: Fri, 12 Jun 2026 11:21:46 +0300 Subject: [PATCH] feat(commons): SigningOpState.Progress for per-step in-flight UI MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adds a Progress(current, total, label?) variant to SigningOpState so multi-step signing operations (NIP-17 group sends via remote signer, batched zaps) can show "Encrypting via remote signer (3 of 5)" rather than an opaque indeterminate spinner. Backwards compatible: - Pending stays a data object — existing callers' `is Pending` checks unaffected. - New helper `isPending()` returns true for both Pending and Progress; SigningState.execute uses it so a second execute() during Progress returns null (matching the old single-flight semantics). - SigningAwareButton renders both Pending and Progress as a spinner; callers wanting the counter must read the state directly. - SigningStatusBar adds a Progress branch that shows "