From a32ffaba35386f46487eb78705636174bbdbdee7 Mon Sep 17 00:00:00 2001 From: Adam <2363879+adamdotdevin@users.noreply.github.com> Date: Fri, 3 Apr 2026 10:51:07 -0500 Subject: [PATCH 1/2] fix(app): show correct submit icon when typing follow up --- packages/app/src/components/prompt-input.tsx | 50 ++++++++++++-------- 1 file changed, 29 insertions(+), 21 deletions(-) diff --git a/packages/app/src/components/prompt-input.tsx b/packages/app/src/components/prompt-input.tsx index ff31c8c2d9..e9049ae7e2 100644 --- a/packages/app/src/components/prompt-input.tsx +++ b/packages/app/src/components/prompt-input.tsx @@ -243,23 +243,6 @@ export const PromptInput: Component = (props) => { }, ) const working = createMemo(() => status()?.type !== "idle") - const tip = () => { - if (working()) { - return ( -
- {language.t("prompt.action.stop")} - {language.t("common.key.esc")} -
- ) - } - - return ( -
- {language.t("prompt.action.send")} - -
- ) - } const imageAttachments = createMemo(() => prompt.current().filter((part): part is ImageAttachmentPart => part.type === "image"), ) @@ -297,6 +280,31 @@ export const PromptInput: Component = (props) => { if (store.mode === "shell") return 0 return prompt.context.items().filter((item) => !!item.comment?.trim()).length }) + const blank = createMemo(() => { + const text = prompt + .current() + .map((part) => ("content" in part ? part.content : "")) + .join("") + return text.trim().length === 0 && imageAttachments().length === 0 && commentCount() === 0 + }) + const stopping = createMemo(() => working() && blank()) + const tip = () => { + if (stopping()) { + return ( +
+ {language.t("prompt.action.stop")} + {language.t("common.key.esc")} +
+ ) + } + + return ( +
+ {language.t("prompt.action.send")} + +
+ ) + } const contextItems = createMemo(() => { const items = prompt.context.items() @@ -1407,17 +1415,17 @@ export const PromptInput: Component = (props) => { />
- +
From ae7e2eb3fb32b12e0c45681950540df7379e021a Mon Sep 17 00:00:00 2001 From: Adam <2363879+adamdotdevin@users.noreply.github.com> Date: Fri, 3 Apr 2026 10:56:40 -0500 Subject: [PATCH 2/2] chore(app): remove queued follow-ups for now --- .../app/src/components/settings-general.tsx | 23 ------------------- packages/app/src/context/settings.tsx | 12 ++++++++-- 2 files changed, 10 insertions(+), 25 deletions(-) diff --git a/packages/app/src/components/settings-general.tsx b/packages/app/src/components/settings-general.tsx index ec0614729c..8a4d498866 100644 --- a/packages/app/src/components/settings-general.tsx +++ b/packages/app/src/components/settings-general.tsx @@ -139,11 +139,6 @@ export const SettingsGeneral: Component = () => { { value: "dark", label: language.t("theme.scheme.dark") }, ]) - const followupOptions = createMemo((): { value: "queue" | "steer"; label: string }[] => [ - { value: "queue", label: language.t("settings.general.row.followup.option.queue") }, - { value: "steer", label: language.t("settings.general.row.followup.option.steer") }, - ]) - const languageOptions = createMemo(() => language.locales.map((locale) => ({ value: locale, @@ -241,24 +236,6 @@ export const SettingsGeneral: Component = () => { /> - - -