diff options
| author | Adam Malczewski <[email protected]> | 2026-06-29 12:13:10 +0900 |
|---|---|---|
| committer | Adam Malczewski <[email protected]> | 2026-06-29 12:13:10 +0900 |
| commit | bddbabd13786e2c9501ee2535866556877aae3fb (patch) | |
| tree | d34a4b1f5fdf86d2b8481fc3ccb97fb6dbbca7ea /src/app/App.svelte | |
| parent | 901bd56228ecb105bdbbf18bb9f848192f134791 (diff) | |
| parent | c2633823fb5bfe39d9bb2d284d8bec6c111b9a06 (diff) | |
| download | dispatch-web-bddbabd13786e2c9501ee2535866556877aae3fb.tar.gz dispatch-web-bddbabd13786e2c9501ee2535866556877aae3fb.zip | |
Merge branch 'feature/cancel-queued-message' into predev
# Conflicts:
# backend-handoff.md
Diffstat (limited to 'src/app/App.svelte')
| -rw-r--r-- | src/app/App.svelte | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/app/App.svelte b/src/app/App.svelte index f87eddb..f0cd7ec 100644 --- a/src/app/App.svelte +++ b/src/app/App.svelte @@ -297,6 +297,10 @@ store.queueMessage(text); } + function handleCancelQueuedMessage(messageId: string) { + store.cancelQueuedMessage(messageId); + } + function handleStop() { store.stopGeneration(); } @@ -647,7 +651,11 @@ the generic SurfaceView (dispatches on rendererId, never surface id); only shown when the queue is non-empty — an idle queue is hidden. --> <div class="px-4 pt-2"> - <SurfaceView spec={messageQueueSpec} onInvoke={handleInvoke} /> + <SurfaceView + spec={messageQueueSpec} + onInvoke={handleInvoke} + onCancelQueuedMessage={handleCancelQueuedMessage} + /> </div> {/if} |
