Skip to content

armgit / avibe

Public Imported from GitHub
0

Make your computer a home for your AI partner. Avibe is the local-first Agent OS: Vibey, its built-in AI partner, works out of the box, and Claude Code, Codex & OpenCode run unchanged beside it — reach them from your browser, phone, or any chat app.

fix(ui): refine organization session controls

Max46aa47c6e056
diff --git a/ui/src/features/organization/OrganizationShell.tsx b/ui/src/features/organization/OrganizationShell.tsx
index d7fe6575b..21cd0c907 100644
--- a/ui/src/features/organization/OrganizationShell.tsx
+++ b/ui/src/features/organization/OrganizationShell.tsx
@@ -177,25 +177,22 @@ function OrganizationNavbar() {
<div className="flex items-center gap-2 text-[12px] font-semibold">
<span className="size-2 rounded-full bg-mint shadow-[0_0_8px_rgba(91,255,160,0.8)]" />
{t('organization.sidebar.cloudConnected')}
- </div>
- <div className="mt-1 font-mono text-[10px] text-muted">
- {t('organization.sidebar.sessionRemaining', { minutes: Math.max(1, Math.ceil((session?.expires_in ?? 0) / 60)) })}
+ <span className="font-mono text-[10px] font-normal text-muted">
+ · {t('organization.sidebar.sessionRemaining', { minutes: Math.max(1, Math.ceil((session?.expires_in ?? 0) / 60)) })}
+ </span>
</div>
</div>
<InitialsAvatar value={session?.user.email ?? ''} className="size-8 rounded-full" />
</div>
<Button
variant="ghost"
- size="icon"
+ size="sm"
aria-label={t('organization.actions.signOut')}
onClick={() => void signOut()}
>
<LogOut className="size-4" />
+ <span>{t('organization.actions.signOut')}</span>
</Button>
- <Link to={backToControlPanelPath} className="inline-flex items-center gap-2 text-[13px] text-muted hover:text-foreground">
- <ArrowLeft className="size-4" />
- <span className="hidden sm:inline">{t('organization.actions.backToControlPanel')}</span>
- </Link>
</div>
</div>
<nav className="mt-6 -mb-px overflow-x-auto" aria-label={t('organization.sidebar.section')}>
diff --git a/ui/src/i18n/en.json b/ui/src/i18n/en.json
index d1d922dc9..f850a7943 100644
--- a/ui/src/i18n/en.json
+++ b/ui/src/i18n/en.json
@@ -4030,7 +4030,7 @@
"organizationCount": "{{count}} organizations",
"switchOrganization": "Switch Organization",
"cloudConnected": "Cloud connected",
- "sessionRemaining": "management session · {{minutes}}m",
+ "sessionRemaining": "{{minutes}}m",
"openMenu": "Open Organization menu"
},
"states": {
diff --git a/ui/src/i18n/zh.json b/ui/src/i18n/zh.json
index d35e36f07..80246f25e 100644
--- a/ui/src/i18n/zh.json
+++ b/ui/src/i18n/zh.json
@@ -4030,7 +4030,7 @@
"organizationCount": "{{count}} 个组织",
"switchOrganization": "切换组织",
"cloudConnected": "Cloud 已连接",
- "sessionRemaining": "管理会话 · {{minutes}} 分钟",
+ "sessionRemaining": "{{minutes}} 分钟",
"openMenu": "打开组织菜单"
},
"states": {