Skip to content

Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.

style

Julius Marminge7559f5ad7034
diff --git a/apps/web/src/components/Sidebar.tsx b/apps/web/src/components/Sidebar.tsx
index b6d49e235..0d7ce91b3 100644
--- a/apps/web/src/components/Sidebar.tsx
+++ b/apps/web/src/components/Sidebar.tsx
@@ -1,4 +1,10 @@
-import { ChevronRightIcon, FolderIcon, GitPullRequestIcon, RocketIcon, TerminalIcon } from "lucide-react";
+import {
+ ChevronRightIcon,
+ FolderIcon,
+ GitPullRequestIcon,
+ RocketIcon,
+ TerminalIcon,
+} from "lucide-react";
import { useCallback, useEffect, useMemo, useRef, useState } from "react";
import {
DEFAULT_MODEL,
@@ -783,8 +789,7 @@ export default function Sidebar() {
}
if (!isChatNewShortcut(event, keybindings)) return;
- const projectId =
- activeThread?.projectId ?? activeDraftThread?.projectId ?? projects[0]?.id;
+ const projectId = activeThread?.projectId ?? activeDraftThread?.projectId ?? projects[0]?.id;
if (!projectId) return;
event.preventDefault();
void handleNewThread(projectId, {
@@ -927,7 +932,7 @@ export default function Sidebar() {
type="button"
aria-label={desktopUpdateTooltip}
disabled={desktopUpdateButtonDisabled}
- className={`inline-flex size-7 items-center justify-center rounded-md text-muted-foreground transition-colors hover:bg-accent hover:text-foreground disabled:cursor-not-allowed disabled:opacity-60 ${desktopUpdateButtonClasses}`}
+ className={`inline-flex size-7 ml-auto mt-2 items-center justify-center rounded-md text-muted-foreground transition-colors hover:bg-accent hover:text-foreground disabled:cursor-not-allowed disabled:opacity-60 ${desktopUpdateButtonClasses}`}
onClick={handleDesktopUpdateButtonClick}
>
<RocketIcon className="size-3.5" />