Skip to content

The open-source app everyone uses to manage agents at work

Merge pull request #1096 from saishankar404/feat/ui-version-label

Dotta549e3b22e52f
diff --cc ui/src/components/Layout.tsx
index e6aaf22aed,ab0977e22a..66e61bd809
--- a/ui/src/components/Layout.tsx
+++ b/ui/src/components/Layout.tsx
@@@ -313,9 -268,12 +313,12 @@@ export function Layout()
<BookOpen className="h-4 w-4 shrink-0" />
<span className="truncate">Documentation</span>
</a>
+ {health?.version && (
+ <span className="px-2 text-xs text-muted-foreground shrink-0">v{health.version}</span>
+ )}
<Button variant="ghost" size="icon-sm" className="text-muted-foreground shrink-0" asChild>
<Link
- to="/instance/settings"
+ to={instanceSettingsTarget}
aria-label="Instance settings"
title="Instance settings"
onClick={() => {
@@@ -363,9 -321,12 +366,12 @@@
<BookOpen className="h-4 w-4 shrink-0" />
<span className="truncate">Documentation</span>
</a>
+ {health?.version && (
+ <span className="px-2 text-xs text-muted-foreground shrink-0">v{health.version}</span>
+ )}
<Button variant="ghost" size="icon-sm" className="text-muted-foreground shrink-0" asChild>
<Link
- to="/instance/settings"
+ to={instanceSettingsTarget}
aria-label="Instance settings"
title="Instance settings"
onClick={() => {