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.

Reorder sidebar thread status badges and title layout

Julius Marminge26edcab8b4bf
diff --git a/apps/web/src/components/Sidebar.tsx b/apps/web/src/components/Sidebar.tsx
index 94a6ad621..7c798e94f 100644
--- a/apps/web/src/components/Sidebar.tsx
+++ b/apps/web/src/components/Sidebar.tsx
@@ -784,23 +784,6 @@ export default function Sidebar() {
}}
>
<div className="flex min-w-0 flex-1 items-center gap-1.5 text-left">
- {threadStatus && (
- <span
- className={`inline-flex items-center gap-1 text-[10px] ${threadStatus.colorClass}`}
- >
- <span
- className={`h-1.5 w-1.5 rounded-full ${threadStatus.dotClass} ${
- threadStatus.pulse ? "animate-pulse" : ""
- }`}
- />
- <span className="hidden md:inline">{threadStatus.label}</span>
- </span>
- )}
- <span className="min-w-0 flex-1 truncate text-xs">
- {thread.title}
- </span>
- </div>
- <div className="ml-auto flex shrink-0 items-center gap-1.5">
{prStatus && (
<Tooltip>
<TooltipTrigger
@@ -820,6 +803,23 @@ export default function Sidebar() {
<TooltipPopup side="top">{prStatus.tooltip}</TooltipPopup>
</Tooltip>
)}
+ {threadStatus && (
+ <span
+ className={`inline-flex items-center gap-1 text-[10px] ${threadStatus.colorClass}`}
+ >
+ <span
+ className={`h-1.5 w-1.5 rounded-full ${threadStatus.dotClass} ${
+ threadStatus.pulse ? "animate-pulse" : ""
+ }`}
+ />
+ <span className="hidden md:inline">{threadStatus.label}</span>
+ </span>
+ )}
+ <span className="min-w-0 flex-1 truncate text-xs">
+ {thread.title}
+ </span>
+ </div>
+ <div className="ml-auto flex shrink-0 items-center gap-1.5">
{terminalStatus && (
<span
role="img"