Skip to content

armgit / alook

Public Imported from GitHub
0

Multi-Agent Collaboration for Team and Friends

fix(web): move runtimes button to top section of sidebar

Gener02d743125e8a
diff --git a/src/web/src/components/app-sidebar.tsx b/src/web/src/components/app-sidebar.tsx
index 627c72045..c06dbc989 100644
--- a/src/web/src/components/app-sidebar.tsx
+++ b/src/web/src/components/app-sidebar.tsx
@@ -52,6 +52,18 @@ export function AppSidebar() {
>
<SunMoon className="size-4" />
</button>
+ <button
+ type="button"
+ title="Runtimes"
+ onClick={() => router.push(`${prefix}/runtimes`)}
+ className={cn(
+ "flex items-center justify-center size-10 rounded-xl transition-colors duration-200 cursor-pointer",
+ "text-muted-foreground hover:text-foreground hover:bg-accent",
+ isRuntimes && "bg-accent text-foreground"
+ )}
+ >
+ <Monitor className="size-4" />
+ </button>
</div>
{/* Agent avatars */}
@@ -101,19 +113,6 @@ export function AppSidebar() {
{/* Bottom section */}
<div className="flex flex-col items-center gap-1 pt-2 border-t border-border/50 mt-1">
- <button
- type="button"
- title="Runtimes"
- onClick={() => router.push(`${prefix}/runtimes`)}
- className={cn(
- "flex items-center justify-center size-10 rounded-xl transition-colors duration-200 cursor-pointer",
- "text-muted-foreground hover:text-foreground hover:bg-accent",
- isRuntimes && "bg-accent text-foreground"
- )}
- >
- <Monitor className="size-4" />
- </button>
-
<button
type="button"
title="Workspaces"