Skip to content

Your lightweight open-source personal agent.

fix(webui): remove ellipses from sending labels

chengyongrub6536bfc5e3d
diff --git a/webui/browser/attachment-layout.spec.ts b/webui/browser/attachment-layout.spec.ts
index c08826d48..103e96b2b 100644
--- a/webui/browser/attachment-layout.spec.ts
+++ b/webui/browser/attachment-layout.spec.ts
@@ -136,7 +136,7 @@ for (const width of [1024, 360]) {
}
await expect(files.nth(2).getByRole("link")).toHaveAccessibleName(chinese ? "下载 文件附件" : "Download File attachment");
for (const [label, filename, status] of [
- ["Pending attachment", "pending.zip", chinese ? "发送中…" : "Sending…"],
+ ["Pending attachment", "pending.zip", chinese ? "发送中" : "Sending"],
["Unavailable attachment", "unavailable.pdf", chinese ? "附件不可用" : "Attachment unavailable"],
]) {
const region = page.getByRole("region", { name: label, exact: true });
diff --git a/webui/src/i18n/locales/en/common.json b/webui/src/i18n/locales/en/common.json
index dbbffc890..7989aaba2 100644
--- a/webui/src/i18n/locales/en/common.json
+++ b/webui/src/i18n/locales/en/common.json
@@ -2317,7 +2317,7 @@
"actions": "Message actions",
"streaming": "streaming",
"delivery": {
- "sending": "Sending…",
+ "sending": "Sending",
"failed": "Not sent"
},
"assistantTyping": "Assistant is typing",
diff --git a/webui/src/i18n/locales/es/common.json b/webui/src/i18n/locales/es/common.json
index 4e0e47bc5..99988a5f5 100644
--- a/webui/src/i18n/locales/es/common.json
+++ b/webui/src/i18n/locales/es/common.json
@@ -2112,7 +2112,7 @@
"actions": "Acciones del mensaje",
"streaming": "transmitiendo",
"delivery": {
- "sending": "Enviando…",
+ "sending": "Enviando",
"failed": "No enviado"
},
"assistantTyping": "El asistente está escribiendo",
diff --git a/webui/src/i18n/locales/fr/common.json b/webui/src/i18n/locales/fr/common.json
index 4b665121a..49203f74c 100644
--- a/webui/src/i18n/locales/fr/common.json
+++ b/webui/src/i18n/locales/fr/common.json
@@ -2111,7 +2111,7 @@
"actions": "Actions du message",
"streaming": "en cours de génération",
"delivery": {
- "sending": "Envoi…",
+ "sending": "Envoi",
"failed": "Non envoyé"
},
"assistantTyping": "L’assistant est en train d’écrire",
diff --git a/webui/src/i18n/locales/id/common.json b/webui/src/i18n/locales/id/common.json
index 15c93fa09..3d51359fd 100644
--- a/webui/src/i18n/locales/id/common.json
+++ b/webui/src/i18n/locales/id/common.json
@@ -2111,7 +2111,7 @@
"actions": "Tindakan pesan",
"streaming": "sedang mengalir",
"delivery": {
- "sending": "Mengirim…",
+ "sending": "Mengirim",
"failed": "Belum terkirim"
},
"assistantTyping": "Asisten sedang mengetik",
diff --git a/webui/src/i18n/locales/ja/common.json b/webui/src/i18n/locales/ja/common.json
index 5f609f1ff..cb798fff1 100644
--- a/webui/src/i18n/locales/ja/common.json
+++ b/webui/src/i18n/locales/ja/common.json
@@ -2111,7 +2111,7 @@
"actions": "メッセージ操作",
"streaming": "生成中",
"delivery": {
- "sending": "送信中…",
+ "sending": "送信中",
"failed": "未送信"
},
"assistantTyping": "アシスタントが入力中",
diff --git a/webui/src/i18n/locales/ko/common.json b/webui/src/i18n/locales/ko/common.json
index f66f639fb..79e304dbf 100644
--- a/webui/src/i18n/locales/ko/common.json
+++ b/webui/src/i18n/locales/ko/common.json
@@ -2111,7 +2111,7 @@
"actions": "메시지 작업",
"streaming": "생성 중",
"delivery": {
- "sending": "전송 중…",
+ "sending": "전송 중",
"failed": "전송되지 않음"
},
"assistantTyping": "도우미가 입력 중",
diff --git a/webui/src/i18n/locales/pt-BR/common.json b/webui/src/i18n/locales/pt-BR/common.json
index 70b8c99c2..b45fd39ef 100644
--- a/webui/src/i18n/locales/pt-BR/common.json
+++ b/webui/src/i18n/locales/pt-BR/common.json
@@ -2125,7 +2125,7 @@
"actions": "Ações da mensagem",
"streaming": "transmitindo",
"delivery": {
- "sending": "Enviando…",
+ "sending": "Enviando",
"failed": "Não enviada"
},
"assistantTyping": "Assistente está digitando",
diff --git a/webui/src/i18n/locales/vi/common.json b/webui/src/i18n/locales/vi/common.json
index 1d8655a05..a2e4598d9 100644
--- a/webui/src/i18n/locales/vi/common.json
+++ b/webui/src/i18n/locales/vi/common.json
@@ -2111,7 +2111,7 @@
"actions": "Thao tác tin nhắn",
"streaming": "đang truyền",
"delivery": {
- "sending": "Đang gửi…",
+ "sending": "Đang gửi",
"failed": "Chưa gửi"
},
"assistantTyping": "Trợ lý đang nhập",
diff --git a/webui/src/i18n/locales/zh-CN/common.json b/webui/src/i18n/locales/zh-CN/common.json
index 63a0a98de..35c4a5856 100644
--- a/webui/src/i18n/locales/zh-CN/common.json
+++ b/webui/src/i18n/locales/zh-CN/common.json
@@ -2317,7 +2317,7 @@
"actions": "消息操作",
"streaming": "流式输出中",
"delivery": {
- "sending": "发送中…",
+ "sending": "发送中",
"failed": "未发送"
},
"assistantTyping": "助手正在输入",
diff --git a/webui/src/i18n/locales/zh-TW/common.json b/webui/src/i18n/locales/zh-TW/common.json
index 732894714..48027b8b9 100644
--- a/webui/src/i18n/locales/zh-TW/common.json
+++ b/webui/src/i18n/locales/zh-TW/common.json
@@ -2111,7 +2111,7 @@
"actions": "訊息操作",
"streaming": "串流輸出中",
"delivery": {
- "sending": "傳送中…",
+ "sending": "傳送中",
"failed": "未傳送"
},
"assistantTyping": "助理正在輸入",
diff --git a/webui/src/tests/attachment-tile.test.tsx b/webui/src/tests/attachment-tile.test.tsx
index 75be4b7b8..4d8e73619 100644
--- a/webui/src/tests/attachment-tile.test.tsx
+++ b/webui/src/tests/attachment-tile.test.tsx
@@ -27,7 +27,7 @@ describe("attachment download cards", () => {
it("changes a pending file to a download only after its URL arrives", () => {
const attachment = { kind: "file" as const, name: "report.pdf" };
const { rerender } = render(<AttachmentTile attachment={attachment} pending />);
- expect(screen.getByText("Sending…")).toBeVisible();
+ expect(screen.getByText("Sending")).toBeVisible();
expect(screen.queryByRole("link")).not.toBeInTheDocument();
rerender(<AttachmentTile attachment={{ ...attachment, url: "/api/media/signed/report" }} />);
diff --git a/webui/src/tests/message-bubble.test.tsx b/webui/src/tests/message-bubble.test.tsx
index c783a2829..f9998c14c 100644
--- a/webui/src/tests/message-bubble.test.tsx
+++ b/webui/src/tests/message-bubble.test.tsx
@@ -424,7 +424,7 @@ describe("MessageBubble", () => {
const { rerender } = render(<MessageBubble message={message} />);
- expect(screen.getByRole("status")).toHaveTextContent("Sending…");
+ expect(screen.getByRole("status")).toHaveTextContent("Sending");
rerender(<MessageBubble message={{ ...message, deliveryStatus: "accepted" }} />);
expect(screen.queryByRole("status")).not.toBeInTheDocument();