From a2857bba8305976761c55fda269d7fb79c951b8c Mon Sep 17 00:00:00 2001 From: Adam <2363879+adamdotdevin@users.noreply.github.com> Date: Wed, 31 Dec 2025 10:58:49 -0600 Subject: fix(desktop): prompt input cleanup --- packages/app/src/components/prompt-input.tsx | 28 ++++++++++------------ .../app/src/components/session-context-usage.tsx | 23 +++++++++++------- 2 files changed, 26 insertions(+), 25 deletions(-) (limited to 'packages/app/src') diff --git a/packages/app/src/components/prompt-input.tsx b/packages/app/src/components/prompt-input.tsx index 5128fc0e6..9cc1579fb 100644 --- a/packages/app/src/components/prompt-input.tsx +++ b/packages/app/src/components/prompt-input.tsx @@ -1343,9 +1343,6 @@ export const PromptInput: Component = (props) => { : `Ask anything... "${PLACEHOLDERS[store.placeholder]}"`} -
- -
@@ -1421,7 +1418,7 @@ export const PromptInput: Component = (props) => {
-
+
= (props) => { e.currentTarget.value = "" }} /> - - - fileInputRef.click()} - /> - - +
+ + + + + + +
= (props) => { disabled={!prompt.dirty() && store.imageAttachments.length === 0 && !working()} icon={working() ? "stop" : "arrow-up"} variant="primary" - class="h-10 w-8" + class="h-6 w-4.5" />
diff --git a/packages/app/src/components/session-context-usage.tsx b/packages/app/src/components/session-context-usage.tsx index 0fa6bc99c..92dcd20d2 100644 --- a/packages/app/src/components/session-context-usage.tsx +++ b/packages/app/src/components/session-context-usage.tsx @@ -35,20 +35,25 @@ export function SessionContextUsage() { {(ctx) => ( - Tokens - {ctx().tokens} - Usage - {ctx().percentage ?? 0}% - Cost - {cost()} +
+
+ {ctx().tokens} + Tokens +
+
+ {ctx().percentage ?? 0}% + Usage +
+
+ {cost()} + Cost +
} placement="top" > -
+
- {/* {`${ctx().percentage ?? 0}%`} */}
)} -- cgit v1.2.3