From 7b7d6d01cf94ecad1dcaaa4b87670d50fe15790a Mon Sep 17 00:00:00 2001 From: Adam Malczewski Date: Wed, 21 Oct 2026 19:39:47 +0900 Subject: fix(chat): bound live subscriptions and preserve unconfirmed input --- src/features/chat/ui/PendingInputs.svelte | 34 +++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 src/features/chat/ui/PendingInputs.svelte (limited to 'src/features/chat/ui') diff --git a/src/features/chat/ui/PendingInputs.svelte b/src/features/chat/ui/PendingInputs.svelte new file mode 100644 index 0000000..cbaf35f --- /dev/null +++ b/src/features/chat/ui/PendingInputs.svelte @@ -0,0 +1,34 @@ + + +{#each inputs as input (input.request.requestId)} +
+

+ {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} + +
+{/each} -- cgit v1.2.3