diff options
| author | Adam Malczewski <[email protected]> | 2026-10-21 20:11:33 +0900 |
|---|---|---|
| committer | Adam Malczewski <[email protected]> | 2026-10-21 20:11:33 +0900 |
| commit | 564b2c1d03cf477d7cfc23414b60d1ec76904ecc (patch) | |
| tree | 16fc1956bb6cd7b83894104b24b9f02acd0751ec /src/features/chat/logic/composer.test.ts | |
| parent | 7b7d6d01cf94ecad1dcaaa4b87670d50fe15790a (diff) | |
| download | dispatch-web-564b2c1d03cf477d7cfc23414b60d1ec76904ecc.tar.gz dispatch-web-564b2c1d03cf477d7cfc23414b60d1ec76904ecc.zip | |
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.
Diffstat (limited to 'src/features/chat/logic/composer.test.ts')
| -rw-r--r-- | src/features/chat/logic/composer.test.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/features/chat/logic/composer.test.ts b/src/features/chat/logic/composer.test.ts index 6ef5eab..86e9dc4 100644 --- a/src/features/chat/logic/composer.test.ts +++ b/src/features/chat/logic/composer.test.ts @@ -10,10 +10,10 @@ describe("stopButtonLabels", () => { }); }); - it.each([1, 2])("describes interrupt-and-send with queued count %s", (count) => { + it.each([1, 2])("labels the queued Stop action Flush with queued count %s", (count) => { expect(stopButtonLabels(count)).toEqual({ - text: "Interrupt & send queued", - ariaLabel: "Interrupt & send queued", + text: "Flush", + ariaLabel: "Flush", title: "Stop the current response and start the queued message now", }); }); |
