summaryrefslogtreecommitdiffhomepage
path: root/src/features/chat/logic
diff options
context:
space:
mode:
Diffstat (limited to 'src/features/chat/logic')
-rw-r--r--src/features/chat/logic/composer.test.ts6
-rw-r--r--src/features/chat/logic/composer.ts4
2 files changed, 5 insertions, 5 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",
});
});
diff --git a/src/features/chat/logic/composer.ts b/src/features/chat/logic/composer.ts
index 1ea8173..e56a007 100644
--- a/src/features/chat/logic/composer.ts
+++ b/src/features/chat/logic/composer.ts
@@ -2,8 +2,8 @@
export function stopButtonLabels(queuedMessageCount: number | undefined) {
if (queuedMessageCount !== undefined && queuedMessageCount >= 1) {
return {
- text: "Interrupt & send queued",
- ariaLabel: "Interrupt & send queued",
+ text: "Flush",
+ ariaLabel: "Flush",
title: "Stop the current response and start the queued message now",
};
}