fix(webui): remove queued send hint
This commit is contained in:
1 parent
04d396600b
commit
144d17da61
12 files changed
+2
-16
No files matched your search
@@ -2379,7 +2379,6 @@ export function ThreadComposer({
|
||||
prompts={queuedPrompts}
|
||||
isHero={isHero}
|
||||
label={t("thread.composer.queued.label")}
|
||||
hint={t("thread.composer.queued.hint")}
|
||||
guideLabel={t("thread.composer.queued.guide")}
|
||||
deleteLabel={t("thread.composer.queued.delete")}
|
||||
dragLabel={t("thread.composer.queued.drag")}
|
||||
@@ -2689,7 +2688,6 @@ function QueuedPromptStack({
|
||||
prompts,
|
||||
isHero,
|
||||
label,
|
||||
hint,
|
||||
guideLabel,
|
||||
deleteLabel,
|
||||
dragLabel,
|
||||
@@ -2704,7 +2702,6 @@ function QueuedPromptStack({
|
||||
prompts: QueuedPrompt[];
|
||||
isHero: boolean;
|
||||
label: string;
|
||||
hint: string;
|
||||
guideLabel: string;
|
||||
deleteLabel: string;
|
||||
dragLabel: string;
|
||||
@@ -2737,7 +2734,6 @@ function QueuedPromptStack({
|
||||
>
|
||||
<div className="flex flex-wrap items-baseline justify-between gap-x-3 gap-y-0.5 px-2 pb-1">
|
||||
<span className="text-[11.5px] font-semibold text-foreground/75">{label}</span>
|
||||
<span className="text-[11px] text-muted-foreground">{hint}</span>
|
||||
</div>
|
||||
<div className="flex max-h-[216px] flex-col gap-1 overflow-y-auto">
|
||||
{prompts.map((prompt) => (
|
||||
|
||||
@@ -1606,7 +1606,6 @@
|
||||
},
|
||||
"queued": {
|
||||
"label": "Waiting to send",
|
||||
"hint": "Send now, or wait for the current response to finish.",
|
||||
"guide": "Send now",
|
||||
"delete": "Delete guidance",
|
||||
"edit": "Edit guidance",
|
||||
|
||||
@@ -1407,7 +1407,6 @@
|
||||
},
|
||||
"queued": {
|
||||
"label": "Pendiente de envío",
|
||||
"hint": "Envía ahora o espera a que termine la respuesta actual.",
|
||||
"guide": "Enviar ahora",
|
||||
"delete": "Eliminar guía",
|
||||
"edit": "Editar guía",
|
||||
|
||||
@@ -1406,7 +1406,6 @@
|
||||
},
|
||||
"queued": {
|
||||
"label": "En attente d’envoi",
|
||||
"hint": "Envoyez maintenant ou attendez la fin de la réponse en cours.",
|
||||
"guide": "Envoyer",
|
||||
"delete": "Supprimer le guidage",
|
||||
"edit": "Modifier le guidage",
|
||||
|
||||
@@ -1406,7 +1406,6 @@
|
||||
},
|
||||
"queued": {
|
||||
"label": "Menunggu dikirim",
|
||||
"hint": "Kirim sekarang atau tunggu hingga respons saat ini selesai.",
|
||||
"guide": "Kirim sekarang",
|
||||
"delete": "Hapus panduan",
|
||||
"edit": "Ubah panduan",
|
||||
|
||||
@@ -1406,7 +1406,6 @@
|
||||
},
|
||||
"queued": {
|
||||
"label": "送信待ち",
|
||||
"hint": "今すぐ送信するか、現在の応答が終わるまで待ちます。",
|
||||
"guide": "今すぐ送信",
|
||||
"delete": "ガイドを削除",
|
||||
"edit": "ガイドを編集",
|
||||
|
||||
@@ -1406,7 +1406,6 @@
|
||||
},
|
||||
"queued": {
|
||||
"label": "전송 대기 중",
|
||||
"hint": "지금 보내거나 현재 응답이 끝날 때까지 기다리세요.",
|
||||
"guide": "지금 보내기",
|
||||
"delete": "안내 삭제",
|
||||
"edit": "안내 수정",
|
||||
|
||||
@@ -1420,7 +1420,6 @@
|
||||
},
|
||||
"queued": {
|
||||
"label": "Aguardando envio",
|
||||
"hint": "Envie agora ou aguarde a resposta atual terminar.",
|
||||
"guide": "Enviar agora",
|
||||
"delete": "Excluir guia",
|
||||
"edit": "Editar guia",
|
||||
|
||||
@@ -1406,7 +1406,6 @@
|
||||
},
|
||||
"queued": {
|
||||
"label": "Đang chờ gửi",
|
||||
"hint": "Gửi ngay hoặc chờ phản hồi hiện tại hoàn tất.",
|
||||
"guide": "Gửi ngay",
|
||||
"delete": "Xóa hướng dẫn",
|
||||
"edit": "Sửa hướng dẫn",
|
||||
|
||||
@@ -1605,7 +1605,6 @@
|
||||
},
|
||||
"queued": {
|
||||
"label": "等待发送",
|
||||
"hint": "立即发送,或等待当前回复结束。",
|
||||
"guide": "立即发送",
|
||||
"delete": "删除引导",
|
||||
"edit": "编辑引导",
|
||||
|
||||
@@ -1406,7 +1406,6 @@
|
||||
},
|
||||
"queued": {
|
||||
"label": "等待傳送",
|
||||
"hint": "立即傳送,或等待目前回覆結束。",
|
||||
"guide": "立即傳送",
|
||||
"delete": "刪除引導",
|
||||
"edit": "編輯引導",
|
||||
|
||||
@@ -2892,9 +2892,9 @@ describe("ThreadComposer", () => {
|
||||
expect(input).toHaveValue("");
|
||||
expect(screen.getByText("keep the UI minimal")).toBeInTheDocument();
|
||||
expect(screen.getByText("Waiting to send")).toBeInTheDocument();
|
||||
expect(screen.getByText(
|
||||
expect(screen.queryByText(
|
||||
"Send now, or wait for the current response to finish.",
|
||||
)).toBeInTheDocument();
|
||||
)).not.toBeInTheDocument();
|
||||
|
||||
fireEvent.click(screen.getByRole("button", { name: "Send now" }));
|
||||
|
||||
|
||||
Reference in new issue
Block a user