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): drop redundant version row from mobile More page (#432)

Call White94fd9fed16cd
diff --git a/ui/src/components/workbench/MorePage.tsx b/ui/src/components/workbench/MorePage.tsx
index 0f99e1b76..cd9359c5c 100644
--- a/ui/src/components/workbench/MorePage.tsx
+++ b/ui/src/components/workbench/MorePage.tsx
@@ -1,7 +1,7 @@
import { useEffect, useState } from 'react';
import { Link } from 'react-router-dom';
import { useTranslation } from 'react-i18next';
-import { ArrowRight, Info, Link as LinkIcon, LogOut, SlidersHorizontal } from 'lucide-react';
+import { ArrowRight, Link as LinkIcon, LogOut, SlidersHorizontal } from 'lucide-react';
import clsx from 'clsx';
import { useApi } from '../../context/ApiContext';
@@ -101,21 +101,17 @@ export const MorePage: React.FC = () => {
</div>
)}
- {/* Connection */}
- <div className="rounded-xl border border-border bg-surface">
- {hostname && (
+ {/* Connection — host only. The version badge already lives in the status
+ card above, so a second version row here would be redundant. */}
+ {hostname && (
+ <div className="rounded-xl border border-border bg-surface">
<div className="flex items-center gap-3 px-4 py-3">
<LinkIcon className="size-4 text-muted" />
<span className="flex-1 text-sm font-medium">{t('more.host')}</span>
<span className="font-mono text-[12px] text-muted">{hostname}</span>
</div>
- )}
- <div className={clsx('flex items-center gap-3 px-4 py-3', hostname && 'border-t border-border')}>
- <Info className="size-4 text-muted" />
- <span className="flex-1 text-sm font-medium">{t('more.version')}</span>
- <VersionBadge />
</div>
- </div>
+ )}
</div>
);
};
diff --git a/ui/src/i18n/en.json b/ui/src/i18n/en.json
index cfc91305b..b8c3dc31b 100644
--- a/ui/src/i18n/en.json
+++ b/ui/src/i18n/en.json
@@ -95,8 +95,7 @@
"controlPanelDesc": "Channels · Users · Show Pages · Settings · Logs",
"appearance": "Appearance",
"connection": "Connection",
- "host": "Local address",
- "version": "Version"
+ "host": "Local address"
},
"projects": {
"title": "Projects",
diff --git a/ui/src/i18n/zh.json b/ui/src/i18n/zh.json
index e6d20c720..08a275358 100644
--- a/ui/src/i18n/zh.json
+++ b/ui/src/i18n/zh.json
@@ -95,8 +95,7 @@
"controlPanelDesc": "频道 · 用户 · 展示页面 · 设置 · 日志",
"appearance": "外观",
"connection": "连接",
- "host": "本机地址",
- "version": "版本"
+ "host": "本机地址"
},
"projects": {
"title": "项目",