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.

Clicking logo now navigates to threads (#1617)

Svilen Petrovae3ea3980dcf
diff --git a/apps/web/src/components/Sidebar.tsx b/apps/web/src/components/Sidebar.tsx
index fbe4e0528..89ced4645 100644
--- a/apps/web/src/components/Sidebar.tsx
+++ b/apps/web/src/components/Sidebar.tsx
@@ -50,7 +50,7 @@ import {
type GitStatusResult,
} from "@t3tools/contracts";
import { useQueries } from "@tanstack/react-query";
-import { useLocation, useNavigate, useParams } from "@tanstack/react-router";
+import { Link, useLocation, useNavigate, useParams } from "@tanstack/react-router";
import {
type SidebarProjectSortOrder,
type SidebarThreadSortOrder,
@@ -1970,7 +1970,11 @@ export default function Sidebar() {
<Tooltip>
<TooltipTrigger
render={
- <div className="flex min-w-0 flex-1 items-center gap-1 ml-1 cursor-pointer">
+ <Link
+ aria-label="Go to threads"
+ className="ml-1 flex min-w-0 flex-1 cursor-pointer items-center gap-1 rounded-md outline-hidden ring-ring transition-colors hover:text-foreground focus-visible:ring-2"
+ to="/"
+ >
<T3Wordmark />
<span className="truncate text-sm font-medium tracking-tight text-muted-foreground">
Code
@@ -1978,7 +1982,7 @@ export default function Sidebar() {
<span className="rounded-full bg-muted/50 px-1.5 py-0.5 text-[8px] font-medium uppercase tracking-[0.18em] text-muted-foreground/60">
{APP_STAGE_LABEL}
</span>
- </div>
+ </Link>
}
/>
<TooltipPopup side="bottom" sideOffset={2}>