From 9ef1c0c9a3c056fd0ed309b5b0ba0cda72848dd0 Mon Sep 17 00:00:00 2001 From: Julius Marminge Date: Tue, 24 Feb 2026 22:40:01 -0800 Subject: [PATCH] wordmakr --- apps/web/src/components/Sidebar.tsx | 41 ++++++++++++++++++++++------- 1 file changed, 32 insertions(+), 9 deletions(-) diff --git a/apps/web/src/components/Sidebar.tsx b/apps/web/src/components/Sidebar.tsx index 3ba9c4527a7b5e65f50d72bef5f07a3eeb19e82f..4ebcf05412ba1ad4346256f8dab3e42a80940fc1 100644 --- a/apps/web/src/components/Sidebar.tsx +++ b/apps/web/src/components/Sidebar.tsx @@ -7,7 +7,13 @@ import { useAppSettings } from "../appSettings"; import { isElectron } from "../env"; import { APP_STAGE_LABEL } from "../branding"; import { DEFAULT_MODEL } from "../model-logic"; -import { asProjectId, asThreadId, newCommandId, newProjectId, newThreadId } from "../lib/orchestrationIds"; +import { + asProjectId, + asThreadId, + newCommandId, + newProjectId, + newThreadId, +} from "../lib/orchestrationIds"; import { useStore } from "../store"; import { isChatNewLocalShortcut, isChatNewShortcut } from "../keybindings"; import { type Thread } from "../types"; @@ -120,6 +126,22 @@ function terminalStatusIndicator(thread: Thread): TerminalStatusIndicator | null }; } +function T3Wordmark() { + return ( + + + + ); +} + export default function Sidebar() { const { state, dispatch } = useStore(); const api = useNativeApi(); @@ -152,7 +174,8 @@ export default function Sidebar() { if (!api) return Promise.resolve(); const threadId = newThreadId(); const createdAt = new Date().toISOString(); - const model = state.projects.find((project) => project.id === projectId)?.model ?? DEFAULT_MODEL; + const model = + state.projects.find((project) => project.id === projectId)?.model ?? DEFAULT_MODEL; return (async () => { await api.orchestration.dispatchCommand({ type: "thread.create", @@ -272,7 +295,7 @@ export default function Sidebar() { if (appSettings.confirmThreadDelete) { const confirmed = await api.dialogs.confirm( [ - `Delete thread \"${thread.title}\"?`, + `Delete thread "${thread.title}"?`, "This permanently clears conversation history for this thread.", ].join("\n"), ); @@ -404,8 +427,7 @@ export default function Sidebar() { projectId: asProjectId(projectId), }); } catch (error) { - const message = - error instanceof Error ? error.message : "Unknown error deleting project."; + const message = error instanceof Error ? error.message : "Unknown error deleting project."; console.error("Failed to remove project", { projectId, error }); toastManager.add({ type: "error", @@ -449,13 +471,14 @@ export default function Sidebar() { return ( <>
-
- - T3 Code +
+ + + Code {APP_STAGE_LABEL} -- 2.54.0