From 564b2c1d03cf477d7cfc23414b60d1ec76904ecc Mon Sep 17 00:00:00 2001 From: Adam Malczewski Date: Wed, 21 Oct 2026 20:11:33 +0900 Subject: fix(chat): delay delivery warning and shorten queued action label Wait one second before displaying pending-input recovery UI, cancelling on confirmation or removal. Label the queued-message stop action Flush without changing behavior. Verified: 2451 frontend tests passed twice, typecheck, Biome, and build. --- src/features/chat/ui/PendingInputWarning.svelte | 47 +++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 src/features/chat/ui/PendingInputWarning.svelte (limited to 'src/features/chat/ui/PendingInputWarning.svelte') diff --git a/src/features/chat/ui/PendingInputWarning.svelte b/src/features/chat/ui/PendingInputWarning.svelte new file mode 100644 index 0000000..c9e675e --- /dev/null +++ b/src/features/chat/ui/PendingInputWarning.svelte @@ -0,0 +1,47 @@ + + +{#if visible} +
+

+ {input.rejection + ? `Message rejected: ${input.rejection}` + : "Delivery unconfirmed. Your input is saved on this device."} +

+

Check the conversation history before sending again to avoid a duplicate.

+ + {#each input.request.images ?? [] as image} + Saved attachment + {/each} + +
+{/if} -- cgit v1.2.3