Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

♻️ refactor: merge beta settings into advanced tab (#12962)

Innei110f27f2aca0
diff --git a/locales/ar/setting.json b/locales/ar/setting.json
index bf6e4454cc5..70aeec60e6b 100644
--- a/locales/ar/setting.json
+++ b/locales/ar/setting.json
@@ -701,19 +701,18 @@
"tab.addCustomMcp.desc": "تكوين خادم MCP مخصص يدويًا",
"tab.addCustomSkill": "إضافة مهارة مخصصة",
"tab.advanced": "متقدم",
+ "tab.advanced.updateChannel.canary": "كناري",
+ "tab.advanced.updateChannel.canaryDesc": "يتم تشغيله عند كل دمج PR، مع عدة إصدارات يومياً. الأكثر عدم استقراراً.",
+ "tab.advanced.updateChannel.desc": "افتراضياً، يتم تلقي الإشعارات للتحديثات المستقرة. قنوات Nightly وCanary تتلقى إصدارات ما قبل الإصدار التي قد تكون غير مستقرة للعمل الإنتاجي.",
+ "tab.advanced.updateChannel.nightly": "ليلي",
+ "tab.advanced.updateChannel.nightlyDesc": "إصدارات يومية تلقائية مع أحدث التغييرات.",
+ "tab.advanced.updateChannel.stable": "مستقر",
+ "tab.advanced.updateChannel.stableDesc": "إصدارات جاهزة للإنتاج.",
+ "tab.advanced.updateChannel.title": "قناة التحديث",
"tab.agent": "خدمة الوكيل",
"tab.all": "الكل",
"tab.apikey": "إدارة مفاتيح API",
"tab.appearance": "المظهر",
- "tab.beta": "بيتا",
- "tab.beta.updateChannel.canary": "كناري",
- "tab.beta.updateChannel.canaryDesc": "يتم تشغيله عند كل دمج PR، مع عدة إصدارات يومياً. الأكثر عدم استقراراً.",
- "tab.beta.updateChannel.desc": "افتراضياً، يتم تلقي الإشعارات للتحديثات المستقرة. قنوات Nightly وCanary تتلقى إصدارات ما قبل الإصدار التي قد تكون غير مستقرة للعمل الإنتاجي.",
- "tab.beta.updateChannel.nightly": "ليلي",
- "tab.beta.updateChannel.nightlyDesc": "إصدارات يومية تلقائية مع أحدث التغييرات.",
- "tab.beta.updateChannel.stable": "مستقر",
- "tab.beta.updateChannel.stableDesc": "إصدارات جاهزة للإنتاج.",
- "tab.beta.updateChannel.title": "قناة التحديث",
"tab.chatAppearance": "مظهر المحادثة",
"tab.common": "المظهر",
"tab.experiment": "تجريبي",
diff --git a/locales/bg-BG/setting.json b/locales/bg-BG/setting.json
index 91866bf6e35..fdfb38fd988 100644
--- a/locales/bg-BG/setting.json
+++ b/locales/bg-BG/setting.json
@@ -701,19 +701,18 @@
"tab.addCustomMcp.desc": "Ръчно конфигуриране на персонализиран MCP сървър",
"tab.addCustomSkill": "Добавяне на персонализирано умение",
"tab.advanced": "Разширени",
+ "tab.advanced.updateChannel.canary": "Канарче",
+ "tab.advanced.updateChannel.canaryDesc": "Задейства се при всяко сливане на PR, множество компилации на ден. Най-нестабилната версия.",
+ "tab.advanced.updateChannel.desc": "По подразбиране получавайте известия за стабилни актуализации. Каналите Nightly и Canary получават предварителни версии, които може да са нестабилни за производствена работа.",
+ "tab.advanced.updateChannel.nightly": "Нощна",
+ "tab.advanced.updateChannel.nightlyDesc": "Автоматизирани ежедневни компилации с най-новите промени.",
+ "tab.advanced.updateChannel.stable": "Стабилна",
+ "tab.advanced.updateChannel.stableDesc": "Готови за производство издания.",
+ "tab.advanced.updateChannel.title": "Канал за актуализации",
"tab.agent": "Услуга за агент",
"tab.all": "Всички",
"tab.apikey": "Управление на API ключове",
"tab.appearance": "Външен вид",
- "tab.beta": "Бета",
- "tab.beta.updateChannel.canary": "Канарче",
- "tab.beta.updateChannel.canaryDesc": "Задейства се при всяко сливане на PR, множество компилации на ден. Най-нестабилната версия.",
- "tab.beta.updateChannel.desc": "По подразбиране получавайте известия за стабилни актуализации. Каналите Nightly и Canary получават предварителни версии, които може да са нестабилни за производствена работа.",
- "tab.beta.updateChannel.nightly": "Нощна",
- "tab.beta.updateChannel.nightlyDesc": "Автоматизирани ежедневни компилации с най-новите промени.",
- "tab.beta.updateChannel.stable": "Стабилна",
- "tab.beta.updateChannel.stableDesc": "Готови за производство издания.",
- "tab.beta.updateChannel.title": "Канал за актуализации",
"tab.chatAppearance": "Външен вид на чата",
"tab.common": "Външен вид",
"tab.experiment": "Експеримент",
diff --git a/locales/de-DE/setting.json b/locales/de-DE/setting.json
index c90a42ae881..36ec0536ec4 100644
--- a/locales/de-DE/setting.json
+++ b/locales/de-DE/setting.json
@@ -701,19 +701,18 @@
"tab.addCustomMcp.desc": "Konfigurieren Sie manuell einen benutzerdefinierten MCP-Server",
"tab.addCustomSkill": "Benutzerdefinierten Skill hinzufügen",
"tab.advanced": "Erweitert",
+ "tab.advanced.updateChannel.canary": "Canary",
+ "tab.advanced.updateChannel.canaryDesc": "Ausgelöst bei jedem PR-Merge, mehrere Builds pro Tag. Am instabilsten.",
+ "tab.advanced.updateChannel.desc": "Standardmäßig Benachrichtigungen für stabile Updates erhalten. Nightly- und Canary-Kanäle erhalten Vorabversionen, die möglicherweise instabil für Produktionsarbeiten sind.",
+ "tab.advanced.updateChannel.nightly": "Nightly",
+ "tab.advanced.updateChannel.nightlyDesc": "Automatisierte tägliche Builds mit den neuesten Änderungen.",
+ "tab.advanced.updateChannel.stable": "Stabil",
+ "tab.advanced.updateChannel.stableDesc": "Produktionsreife Veröffentlichungen.",
+ "tab.advanced.updateChannel.title": "Update-Kanal",
"tab.agent": "Agentendienst",
"tab.all": "Alle",
"tab.apikey": "API-Schlüsselverwaltung",
"tab.appearance": "Erscheinungsbild",
- "tab.beta": "Beta",
- "tab.beta.updateChannel.canary": "Canary",
- "tab.beta.updateChannel.canaryDesc": "Ausgelöst bei jedem PR-Merge, mehrere Builds pro Tag. Am instabilsten.",
- "tab.beta.updateChannel.desc": "Standardmäßig Benachrichtigungen für stabile Updates erhalten. Nightly- und Canary-Kanäle erhalten Vorabversionen, die möglicherweise instabil für Produktionsarbeiten sind.",
- "tab.beta.updateChannel.nightly": "Nightly",
- "tab.beta.updateChannel.nightlyDesc": "Automatisierte tägliche Builds mit den neuesten Änderungen.",
- "tab.beta.updateChannel.stable": "Stabil",
- "tab.beta.updateChannel.stableDesc": "Produktionsreife Veröffentlichungen.",
- "tab.beta.updateChannel.title": "Update-Kanal",
"tab.chatAppearance": "Chat-Darstellung",
"tab.common": "Darstellung",
"tab.experiment": "Experiment",
diff --git a/locales/en-US/setting.json b/locales/en-US/setting.json
index 295826fc701..30e4742412d 100644
--- a/locales/en-US/setting.json
+++ b/locales/en-US/setting.json
@@ -701,20 +701,18 @@
"tab.addCustomMcp.desc": "Manually configure a custom MCP server",
"tab.addCustomSkill": "Add",
"tab.advanced": "Advanced",
+ "tab.advanced.updateChannel.canary": "Canary",
+ "tab.advanced.updateChannel.canaryDesc": "Triggered on every PR merge, multiple builds per day. Most unstable.",
+ "tab.advanced.updateChannel.desc": "By default, get notifications for stable updates. Nightly and Canary channels receive pre-release builds that may be unstable for production work.",
+ "tab.advanced.updateChannel.nightly": "Nightly",
+ "tab.advanced.updateChannel.nightlyDesc": "Automated daily builds with the latest changes.",
+ "tab.advanced.updateChannel.stable": "Stable",
+ "tab.advanced.updateChannel.stableDesc": "Production-ready releases.",
+ "tab.advanced.updateChannel.title": "Update Channel",
"tab.agent": "Agent",
"tab.all": "All",
"tab.apikey": "API Keys",
"tab.appearance": "Appearance",
- "tab.beta": "Beta",
- "tab.beta.updateChannel.beta": "Beta",
- "tab.beta.updateChannel.canary": "Canary",
- "tab.beta.updateChannel.canaryDesc": "Triggered on every PR merge, multiple builds per day. Most unstable.",
- "tab.beta.updateChannel.desc": "By default, get notifications for stable updates. Nightly and Canary channels receive pre-release builds that may be unstable for production work.",
- "tab.beta.updateChannel.nightly": "Nightly",
- "tab.beta.updateChannel.nightlyDesc": "Automated daily builds with the latest changes.",
- "tab.beta.updateChannel.stable": "Stable",
- "tab.beta.updateChannel.stableDesc": "Production-ready releases.",
- "tab.beta.updateChannel.title": "Update Channel",
"tab.chatAppearance": "Chat Appearance",
"tab.common": "Appearance",
"tab.experiment": "Experiment",
diff --git a/locales/es-ES/setting.json b/locales/es-ES/setting.json
index e68a53eab53..06ed5559e73 100644
--- a/locales/es-ES/setting.json
+++ b/locales/es-ES/setting.json
@@ -701,19 +701,18 @@
"tab.addCustomMcp.desc": "Configura manualmente un servidor MCP personalizado",
"tab.addCustomSkill": "Agregar habilidad personalizada",
"tab.advanced": "Avanzado",
+ "tab.advanced.updateChannel.canary": "Canary",
+ "tab.advanced.updateChannel.canaryDesc": "Activado con cada fusión de PR, múltiples compilaciones por día. El más inestable.",
+ "tab.advanced.updateChannel.desc": "Por defecto, recibe notificaciones para actualizaciones estables. Los canales Nightly y Canary reciben compilaciones preliminares que pueden ser inestables para el trabajo de producción.",
+ "tab.advanced.updateChannel.nightly": "Nightly",
+ "tab.advanced.updateChannel.nightlyDesc": "Compilaciones automáticas diarias con los últimos cambios.",
+ "tab.advanced.updateChannel.stable": "Estable",
+ "tab.advanced.updateChannel.stableDesc": "Lanzamientos listos para producción.",
+ "tab.advanced.updateChannel.title": "Canal de Actualización",
"tab.agent": "Servicio de Agente",
"tab.all": "Todos",
"tab.apikey": "Gestión de Claves API",
"tab.appearance": "Apariencia",
- "tab.beta": "Beta",
- "tab.beta.updateChannel.canary": "Canary",
- "tab.beta.updateChannel.canaryDesc": "Activado con cada fusión de PR, múltiples compilaciones por día. El más inestable.",
- "tab.beta.updateChannel.desc": "Por defecto, recibe notificaciones para actualizaciones estables. Los canales Nightly y Canary reciben compilaciones preliminares que pueden ser inestables para el trabajo de producción.",
- "tab.beta.updateChannel.nightly": "Nightly",
- "tab.beta.updateChannel.nightlyDesc": "Compilaciones automáticas diarias con los últimos cambios.",
- "tab.beta.updateChannel.stable": "Estable",
- "tab.beta.updateChannel.stableDesc": "Lanzamientos listos para producción.",
- "tab.beta.updateChannel.title": "Canal de Actualización",
"tab.chatAppearance": "Apariencia del Chat",
"tab.common": "Apariencia",
"tab.experiment": "Experimentos",
diff --git a/locales/fa-IR/setting.json b/locales/fa-IR/setting.json
index c599ace21bd..64c2f7027b3 100644
--- a/locales/fa-IR/setting.json
+++ b/locales/fa-IR/setting.json
@@ -701,19 +701,18 @@
"tab.addCustomMcp.desc": "یک سرور MCP سفارشی را به‌صورت دستی پیکربندی کنید",
"tab.addCustomSkill": "افزودن مهارت سفارشی",
"tab.advanced": "پیشرفته",
+ "tab.advanced.updateChannel.canary": "کناری",
+ "tab.advanced.updateChannel.canaryDesc": "فعال‌شده با هر ادغام PR، چندین ساخت در روز. ناپایدارترین.",
+ "tab.advanced.updateChannel.desc": "به طور پیش‌فرض، اعلان‌ها برای به‌روزرسانی‌های پایدار دریافت کنید. کانال‌های نایتلی و کناری نسخه‌های پیش‌انتشار را دریافت می‌کنند که ممکن است برای کار تولیدی ناپایدار باشند.",
+ "tab.advanced.updateChannel.nightly": "نایتلی",
+ "tab.advanced.updateChannel.nightlyDesc": "ساخت‌های خودکار روزانه با آخرین تغییرات.",
+ "tab.advanced.updateChannel.stable": "پایدار",
+ "tab.advanced.updateChannel.stableDesc": "نسخه‌های آماده تولید.",
+ "tab.advanced.updateChannel.title": "کانال به‌روزرسانی",
"tab.agent": "سرویس عامل",
"tab.all": "همه",
"tab.apikey": "مدیریت کلید API",
"tab.appearance": "ظاهر",
- "tab.beta": "بتا",
- "tab.beta.updateChannel.canary": "کناری",
- "tab.beta.updateChannel.canaryDesc": "فعال‌شده با هر ادغام PR، چندین ساخت در روز. ناپایدارترین.",
- "tab.beta.updateChannel.desc": "به طور پیش‌فرض، اعلان‌ها برای به‌روزرسانی‌های پایدار دریافت کنید. کانال‌های نایتلی و کناری نسخه‌های پیش‌انتشار را دریافت می‌کنند که ممکن است برای کار تولیدی ناپایدار باشند.",
- "tab.beta.updateChannel.nightly": "نایتلی",
- "tab.beta.updateChannel.nightlyDesc": "ساخت‌های خودکار روزانه با آخرین تغییرات.",
- "tab.beta.updateChannel.stable": "پایدار",
- "tab.beta.updateChannel.stableDesc": "نسخه‌های آماده تولید.",
- "tab.beta.updateChannel.title": "کانال به‌روزرسانی",
"tab.chatAppearance": "ظاهر گفتگو",
"tab.common": "ظاهر",
"tab.experiment": "آزمایش",
diff --git a/locales/fr-FR/setting.json b/locales/fr-FR/setting.json
index 272342e0cf6..e549cf78455 100644
--- a/locales/fr-FR/setting.json
+++ b/locales/fr-FR/setting.json
@@ -701,19 +701,18 @@
"tab.addCustomMcp.desc": "Configurer manuellement un serveur MCP personnalisé",
"tab.addCustomSkill": "Ajouter une compétence personnalisée",
"tab.advanced": "Avancé",
+ "tab.advanced.updateChannel.canary": "Canary",
+ "tab.advanced.updateChannel.canaryDesc": "Déclenché à chaque fusion de PR, plusieurs builds par jour. Le moins stable.",
+ "tab.advanced.updateChannel.desc": "Par défaut, recevez des notifications pour les mises à jour stables. Les canaux Nightly et Canary reçoivent des builds préliminaires qui peuvent être instables pour un usage en production.",
+ "tab.advanced.updateChannel.nightly": "Nightly",
+ "tab.advanced.updateChannel.nightlyDesc": "Builds quotidiens automatisés avec les derniers changements.",
+ "tab.advanced.updateChannel.stable": "Stable",
+ "tab.advanced.updateChannel.stableDesc": "Versions prêtes pour la production.",
+ "tab.advanced.updateChannel.title": "Canal de mise à jour",
"tab.agent": "Service d’agent",
"tab.all": "Tous",
"tab.apikey": "Gestion des clés API",
"tab.appearance": "Apparence",
- "tab.beta": "Bêta",
- "tab.beta.updateChannel.canary": "Canary",
- "tab.beta.updateChannel.canaryDesc": "Déclenché à chaque fusion de PR, plusieurs builds par jour. Le moins stable.",
- "tab.beta.updateChannel.desc": "Par défaut, recevez des notifications pour les mises à jour stables. Les canaux Nightly et Canary reçoivent des builds préliminaires qui peuvent être instables pour un usage en production.",
- "tab.beta.updateChannel.nightly": "Nightly",
- "tab.beta.updateChannel.nightlyDesc": "Builds quotidiens automatisés avec les derniers changements.",
- "tab.beta.updateChannel.stable": "Stable",
- "tab.beta.updateChannel.stableDesc": "Versions prêtes pour la production.",
- "tab.beta.updateChannel.title": "Canal de mise à jour",
"tab.chatAppearance": "Apparence du chat",
"tab.common": "Apparence",
"tab.experiment": "Expérimental",
diff --git a/locales/it-IT/setting.json b/locales/it-IT/setting.json
index d348f90a74b..4976567a5e3 100644
--- a/locales/it-IT/setting.json
+++ b/locales/it-IT/setting.json
@@ -701,19 +701,18 @@
"tab.addCustomMcp.desc": "Configura manualmente un server MCP personalizzato",
"tab.addCustomSkill": "Aggiungi skill personalizzata",
"tab.advanced": "Avanzato",
+ "tab.advanced.updateChannel.canary": "Canary",
+ "tab.advanced.updateChannel.canaryDesc": "Attivato ad ogni merge di PR, con più build al giorno. La versione meno stabile.",
+ "tab.advanced.updateChannel.desc": "Per impostazione predefinita, ricevi notifiche per aggiornamenti stabili. I canali Nightly e Canary ricevono build pre-release che potrebbero essere instabili per il lavoro in produzione.",
+ "tab.advanced.updateChannel.nightly": "Nightly",
+ "tab.advanced.updateChannel.nightlyDesc": "Build automatiche giornaliere con le ultime modifiche.",
+ "tab.advanced.updateChannel.stable": "Stabile",
+ "tab.advanced.updateChannel.stableDesc": "Rilasci pronti per la produzione.",
+ "tab.advanced.updateChannel.title": "Canale di aggiornamento",
"tab.agent": "Servizio Agente",
"tab.all": "Tutti",
"tab.apikey": "Gestione API Key",
"tab.appearance": "Aspetto",
- "tab.beta": "Beta",
- "tab.beta.updateChannel.canary": "Canary",
- "tab.beta.updateChannel.canaryDesc": "Attivato ad ogni merge di PR, con più build al giorno. La versione meno stabile.",
- "tab.beta.updateChannel.desc": "Per impostazione predefinita, ricevi notifiche per aggiornamenti stabili. I canali Nightly e Canary ricevono build pre-release che potrebbero essere instabili per il lavoro in produzione.",
- "tab.beta.updateChannel.nightly": "Nightly",
- "tab.beta.updateChannel.nightlyDesc": "Build automatiche giornaliere con le ultime modifiche.",
- "tab.beta.updateChannel.stable": "Stabile",
- "tab.beta.updateChannel.stableDesc": "Rilasci pronti per la produzione.",
- "tab.beta.updateChannel.title": "Canale di aggiornamento",
"tab.chatAppearance": "Aspetto Chat",
"tab.common": "Aspetto",
"tab.experiment": "Esperimenti",
diff --git a/locales/ja-JP/setting.json b/locales/ja-JP/setting.json
index e26f4f8623b..e325fef8ebb 100644
--- a/locales/ja-JP/setting.json
+++ b/locales/ja-JP/setting.json
@@ -701,19 +701,18 @@
"tab.addCustomMcp.desc": "カスタムMCPサーバーを手動で設定",
"tab.addCustomSkill": "カスタムスキルを追加",
"tab.advanced": "高度な設定",
+ "tab.advanced.updateChannel.canary": "カナリア",
+ "tab.advanced.updateChannel.canaryDesc": "すべてのPRマージでトリガーされ、1日に複数回ビルドされます。最も不安定です。",
+ "tab.advanced.updateChannel.desc": "デフォルトでは、安定版の更新通知を受け取ります。ナイトリーおよびカナリアチャンネルは、プロダクション作業には不安定な場合があるプレリリースビルドを受け取ります。",
+ "tab.advanced.updateChannel.nightly": "ナイトリー",
+ "tab.advanced.updateChannel.nightlyDesc": "最新の変更を含む自動日次ビルド。",
+ "tab.advanced.updateChannel.stable": "安定版",
+ "tab.advanced.updateChannel.stableDesc": "プロダクション対応のリリース。",
+ "tab.advanced.updateChannel.title": "更新チャンネル",
"tab.agent": "デフォルトアシスタント",
"tab.all": "すべて",
"tab.apikey": "APIキー管理",
"tab.appearance": "外観",
- "tab.beta": "ベータ",
- "tab.beta.updateChannel.canary": "カナリア",
- "tab.beta.updateChannel.canaryDesc": "すべてのPRマージでトリガーされ、1日に複数回ビルドされます。最も不安定です。",
- "tab.beta.updateChannel.desc": "デフォルトでは、安定版の更新通知を受け取ります。ナイトリーおよびカナリアチャンネルは、プロダクション作業には不安定な場合があるプレリリースビルドを受け取ります。",
- "tab.beta.updateChannel.nightly": "ナイトリー",
- "tab.beta.updateChannel.nightlyDesc": "最新の変更を含む自動日次ビルド。",
- "tab.beta.updateChannel.stable": "安定版",
- "tab.beta.updateChannel.stableDesc": "プロダクション対応のリリース。",
- "tab.beta.updateChannel.title": "更新チャンネル",
"tab.chatAppearance": "チャットの外観",
"tab.common": "外観",
"tab.experiment": "実験",
diff --git a/locales/ko-KR/setting.json b/locales/ko-KR/setting.json
index 2a32ac2a3d2..55f10434a0f 100644
--- a/locales/ko-KR/setting.json
+++ b/locales/ko-KR/setting.json
@@ -701,19 +701,18 @@
"tab.addCustomMcp.desc": "사용자 정의 MCP 서버를 수동으로 구성합니다",
"tab.addCustomSkill": "사용자 정의 스킬 추가",
"tab.advanced": "고급",
+ "tab.advanced.updateChannel.canary": "카나리",
+ "tab.advanced.updateChannel.canaryDesc": "모든 PR 병합 시 트리거되며, 하루에 여러 빌드가 생성됩니다. 가장 불안정합니다.",
+ "tab.advanced.updateChannel.desc": "기본적으로 안정적인 업데이트에 대한 알림을 받습니다. 나이틀리 및 카나리 채널은 프로덕션 작업에 불안정할 수 있는 사전 릴리스 빌드를 제공합니다.",
+ "tab.advanced.updateChannel.nightly": "나이틀리",
+ "tab.advanced.updateChannel.nightlyDesc": "최신 변경 사항이 포함된 자동화된 일일 빌드입니다.",
+ "tab.advanced.updateChannel.stable": "안정",
+ "tab.advanced.updateChannel.stableDesc": "프로덕션 준비가 완료된 릴리스입니다.",
+ "tab.advanced.updateChannel.title": "업데이트 채널",
"tab.agent": "기본 도우미",
"tab.all": "전체",
"tab.apikey": "API 키 관리",
"tab.appearance": "외관",
- "tab.beta": "베타",
- "tab.beta.updateChannel.canary": "카나리",
- "tab.beta.updateChannel.canaryDesc": "모든 PR 병합 시 트리거되며, 하루에 여러 빌드가 생성됩니다. 가장 불안정합니다.",
- "tab.beta.updateChannel.desc": "기본적으로 안정적인 업데이트에 대한 알림을 받습니다. 나이틀리 및 카나리 채널은 프로덕션 작업에 불안정할 수 있는 사전 릴리스 빌드를 제공합니다.",
- "tab.beta.updateChannel.nightly": "나이틀리",
- "tab.beta.updateChannel.nightlyDesc": "최신 변경 사항이 포함된 자동화된 일일 빌드입니다.",
- "tab.beta.updateChannel.stable": "안정",
- "tab.beta.updateChannel.stableDesc": "프로덕션 준비가 완료된 릴리스입니다.",
- "tab.beta.updateChannel.title": "업데이트 채널",
"tab.chatAppearance": "채팅 화면 설정",
"tab.common": "외관",
"tab.experiment": "실험",
diff --git a/locales/nl-NL/setting.json b/locales/nl-NL/setting.json
index 65121b15d26..5590c1a72bd 100644
--- a/locales/nl-NL/setting.json
+++ b/locales/nl-NL/setting.json
@@ -701,19 +701,18 @@
"tab.addCustomMcp.desc": "Handmatig een aangepaste MCP-server configureren",
"tab.addCustomSkill": "Aangepaste skill toevoegen",
"tab.advanced": "Geavanceerd",
+ "tab.advanced.updateChannel.canary": "Canary",
+ "tab.advanced.updateChannel.canaryDesc": "Geactiveerd bij elke PR-merge, meerdere builds per dag. Meest onstabiel.",
+ "tab.advanced.updateChannel.desc": "Standaard ontvang je meldingen voor stabiele updates. Nightly- en Canary-kanalen ontvangen pre-release builds die mogelijk onstabiel zijn voor productiewerk.",
+ "tab.advanced.updateChannel.nightly": "Nightly",
+ "tab.advanced.updateChannel.nightlyDesc": "Geautomatiseerde dagelijkse builds met de nieuwste wijzigingen.",
+ "tab.advanced.updateChannel.stable": "Stabiel",
+ "tab.advanced.updateChannel.stableDesc": "Productieklaar releases.",
+ "tab.advanced.updateChannel.title": "Updatekanaal",
"tab.agent": "Agentservice",
"tab.all": "Alles",
"tab.apikey": "API-sleutelbeheer",
"tab.appearance": "Uiterlijk",
- "tab.beta": "Beta",
- "tab.beta.updateChannel.canary": "Canary",
- "tab.beta.updateChannel.canaryDesc": "Geactiveerd bij elke PR-merge, meerdere builds per dag. Meest onstabiel.",
- "tab.beta.updateChannel.desc": "Standaard ontvang je meldingen voor stabiele updates. Nightly- en Canary-kanalen ontvangen pre-release builds die mogelijk onstabiel zijn voor productiewerk.",
- "tab.beta.updateChannel.nightly": "Nightly",
- "tab.beta.updateChannel.nightlyDesc": "Geautomatiseerde dagelijkse builds met de nieuwste wijzigingen.",
- "tab.beta.updateChannel.stable": "Stabiel",
- "tab.beta.updateChannel.stableDesc": "Productieklaar releases.",
- "tab.beta.updateChannel.title": "Updatekanaal",
"tab.chatAppearance": "Chatweergave",
"tab.common": "Weergave",
"tab.experiment": "Experiment",
diff --git a/locales/pl-PL/setting.json b/locales/pl-PL/setting.json
index 54ef3e0ff63..b8f87b54141 100644
--- a/locales/pl-PL/setting.json
+++ b/locales/pl-PL/setting.json
@@ -701,19 +701,18 @@
"tab.addCustomMcp.desc": "Ręcznie skonfiguruj niestandardowy serwer MCP",
"tab.addCustomSkill": "Dodaj własną umiejętność",
"tab.advanced": "Zaawansowane",
+ "tab.advanced.updateChannel.canary": "Canary",
+ "tab.advanced.updateChannel.canaryDesc": "Uruchamiane przy każdym scaleniu PR, wiele kompilacji dziennie. Najmniej stabilne.",
+ "tab.advanced.updateChannel.desc": "Domyślnie otrzymuj powiadomienia o stabilnych aktualizacjach. Kanały Nightly i Canary otrzymują wersje przedpremierowe, które mogą być niestabilne do pracy produkcyjnej.",
+ "tab.advanced.updateChannel.nightly": "Nightly",
+ "tab.advanced.updateChannel.nightlyDesc": "Automatyczne codzienne kompilacje z najnowszymi zmianami.",
+ "tab.advanced.updateChannel.stable": "Stabilny",
+ "tab.advanced.updateChannel.stableDesc": "Wydania gotowe do produkcji.",
+ "tab.advanced.updateChannel.title": "Kanał aktualizacji",
"tab.agent": "Usługa agenta",
"tab.all": "Wszystkie",
"tab.apikey": "Zarządzanie kluczami API",
"tab.appearance": "Wygląd",
- "tab.beta": "Beta",
- "tab.beta.updateChannel.canary": "Canary",
- "tab.beta.updateChannel.canaryDesc": "Uruchamiane przy każdym scaleniu PR, wiele kompilacji dziennie. Najmniej stabilne.",
- "tab.beta.updateChannel.desc": "Domyślnie otrzymuj powiadomienia o stabilnych aktualizacjach. Kanały Nightly i Canary otrzymują wersje przedpremierowe, które mogą być niestabilne do pracy produkcyjnej.",
- "tab.beta.updateChannel.nightly": "Nightly",
- "tab.beta.updateChannel.nightlyDesc": "Automatyczne codzienne kompilacje z najnowszymi zmianami.",
- "tab.beta.updateChannel.stable": "Stabilny",
- "tab.beta.updateChannel.stableDesc": "Wydania gotowe do produkcji.",
- "tab.beta.updateChannel.title": "Kanał aktualizacji",
"tab.chatAppearance": "Wygląd czatu",
"tab.common": "Wygląd",
"tab.experiment": "Eksperyment",
diff --git a/locales/pt-BR/setting.json b/locales/pt-BR/setting.json
index 71958b75a4d..00ec326f65f 100644
--- a/locales/pt-BR/setting.json
+++ b/locales/pt-BR/setting.json
@@ -701,19 +701,18 @@
"tab.addCustomMcp.desc": "Configure manualmente um servidor MCP personalizado",
"tab.addCustomSkill": "Adicionar habilidade personalizada",
"tab.advanced": "Avançado",
+ "tab.advanced.updateChannel.canary": "Canary",
+ "tab.advanced.updateChannel.canaryDesc": "Acionado a cada merge de PR, múltiplas compilações por dia. O mais instável.",
+ "tab.advanced.updateChannel.desc": "Por padrão, receba notificações para atualizações estáveis. Os canais Nightly e Canary recebem compilações de pré-lançamento que podem ser instáveis para trabalho em produção.",
+ "tab.advanced.updateChannel.nightly": "Nightly",
+ "tab.advanced.updateChannel.nightlyDesc": "Compilações diárias automatizadas com as alterações mais recentes.",
+ "tab.advanced.updateChannel.stable": "Estável",
+ "tab.advanced.updateChannel.stableDesc": "Lançamentos prontos para produção.",
+ "tab.advanced.updateChannel.title": "Canal de Atualização",
"tab.agent": "Serviço de Agente",
"tab.all": "Todos",
"tab.apikey": "Gerenciamento de Chaves API",
"tab.appearance": "Aparência",
- "tab.beta": "Beta",
- "tab.beta.updateChannel.canary": "Canary",
- "tab.beta.updateChannel.canaryDesc": "Acionado a cada merge de PR, múltiplas compilações por dia. O mais instável.",
- "tab.beta.updateChannel.desc": "Por padrão, receba notificações para atualizações estáveis. Os canais Nightly e Canary recebem compilações de pré-lançamento que podem ser instáveis para trabalho em produção.",
- "tab.beta.updateChannel.nightly": "Nightly",
- "tab.beta.updateChannel.nightlyDesc": "Compilações diárias automatizadas com as alterações mais recentes.",
- "tab.beta.updateChannel.stable": "Estável",
- "tab.beta.updateChannel.stableDesc": "Lançamentos prontos para produção.",
- "tab.beta.updateChannel.title": "Canal de Atualização",
"tab.chatAppearance": "Aparência do Chat",
"tab.common": "Aparência",
"tab.experiment": "Experimentos",
diff --git a/locales/ru-RU/setting.json b/locales/ru-RU/setting.json
index 2fe714cc0fc..81783576134 100644
--- a/locales/ru-RU/setting.json
+++ b/locales/ru-RU/setting.json
@@ -701,19 +701,18 @@
"tab.addCustomMcp.desc": "Ручная настройка пользовательского сервера MCP",
"tab.addCustomSkill": "Добавить пользовательский навык",
"tab.advanced": "Дополнительно",
+ "tab.advanced.updateChannel.canary": "Canary",
+ "tab.advanced.updateChannel.canaryDesc": "Запускается при каждом слиянии PR, несколько сборок в день. Наименее стабильный.",
+ "tab.advanced.updateChannel.desc": "По умолчанию вы получаете уведомления о стабильных обновлениях. Каналы Nightly и Canary предоставляют предварительные сборки, которые могут быть нестабильными для производственной работы.",
+ "tab.advanced.updateChannel.nightly": "Nightly",
+ "tab.advanced.updateChannel.nightlyDesc": "Автоматические ежедневные сборки с последними изменениями.",
+ "tab.advanced.updateChannel.stable": "Стабильный",
+ "tab.advanced.updateChannel.stableDesc": "Готовые к использованию в производстве релизы.",
+ "tab.advanced.updateChannel.title": "Канал обновлений",
"tab.agent": "Служба агентов",
"tab.all": "Все",
"tab.apikey": "Управление API-ключами",
"tab.appearance": "Внешний вид",
- "tab.beta": "Бета",
- "tab.beta.updateChannel.canary": "Canary",
- "tab.beta.updateChannel.canaryDesc": "Запускается при каждом слиянии PR, несколько сборок в день. Наименее стабильный.",
- "tab.beta.updateChannel.desc": "По умолчанию вы получаете уведомления о стабильных обновлениях. Каналы Nightly и Canary предоставляют предварительные сборки, которые могут быть нестабильными для производственной работы.",
- "tab.beta.updateChannel.nightly": "Nightly",
- "tab.beta.updateChannel.nightlyDesc": "Автоматические ежедневные сборки с последними изменениями.",
- "tab.beta.updateChannel.stable": "Стабильный",
- "tab.beta.updateChannel.stableDesc": "Готовые к использованию в производстве релизы.",
- "tab.beta.updateChannel.title": "Канал обновлений",
"tab.chatAppearance": "Внешний вид чата",
"tab.common": "Внешний вид",
"tab.experiment": "Эксперимент",
diff --git a/locales/tr-TR/setting.json b/locales/tr-TR/setting.json
index af24612bf08..000c22d4e54 100644
--- a/locales/tr-TR/setting.json
+++ b/locales/tr-TR/setting.json
@@ -701,19 +701,18 @@
"tab.addCustomMcp.desc": "Özel bir MCP sunucusunu manuel olarak yapılandırın",
"tab.addCustomSkill": "Özel yetenek ekle",
"tab.advanced": "Gelişmiş",
+ "tab.advanced.updateChannel.canary": "Kanarya",
+ "tab.advanced.updateChannel.canaryDesc": "Her PR birleştirmesinde tetiklenir, günde birden fazla yapı. En kararsız.",
+ "tab.advanced.updateChannel.desc": "Varsayılan olarak, kararlı güncellemeler için bildirimler alın. Gece ve Kanarya kanalları, üretim çalışmaları için kararsız olabilecek ön sürüm yapıları alır.",
+ "tab.advanced.updateChannel.nightly": "Gece",
+ "tab.advanced.updateChannel.nightlyDesc": "En son değişikliklerle otomatik günlük yapılar.",
+ "tab.advanced.updateChannel.stable": "Kararlı",
+ "tab.advanced.updateChannel.stableDesc": "Üretime hazır sürümler.",
+ "tab.advanced.updateChannel.title": "Güncelleme Kanalı",
"tab.agent": "Temsilci Hizmeti",
"tab.all": "Tümü",
"tab.apikey": "API Anahtarı Yönetimi",
"tab.appearance": "Görünüm",
- "tab.beta": "Beta",
- "tab.beta.updateChannel.canary": "Kanarya",
- "tab.beta.updateChannel.canaryDesc": "Her PR birleştirmesinde tetiklenir, günde birden fazla yapı. En kararsız.",
- "tab.beta.updateChannel.desc": "Varsayılan olarak, kararlı güncellemeler için bildirimler alın. Gece ve Kanarya kanalları, üretim çalışmaları için kararsız olabilecek ön sürüm yapıları alır.",
- "tab.beta.updateChannel.nightly": "Gece",
- "tab.beta.updateChannel.nightlyDesc": "En son değişikliklerle otomatik günlük yapılar.",
- "tab.beta.updateChannel.stable": "Kararlı",
- "tab.beta.updateChannel.stableDesc": "Üretime hazır sürümler.",
- "tab.beta.updateChannel.title": "Güncelleme Kanalı",
"tab.chatAppearance": "Sohbet Görünümü",
"tab.common": "Görünüm",
"tab.experiment": "Deney",
diff --git a/locales/vi-VN/setting.json b/locales/vi-VN/setting.json
index a1db87a1960..0b543e607d5 100644
--- a/locales/vi-VN/setting.json
+++ b/locales/vi-VN/setting.json
@@ -701,19 +701,18 @@
"tab.addCustomMcp.desc": "Cấu hình thủ công một máy chủ MCP tùy chỉnh",
"tab.addCustomSkill": "Thêm kỹ năng tùy chỉnh",
"tab.advanced": "Nâng cao",
+ "tab.advanced.updateChannel.canary": "Canary",
+ "tab.advanced.updateChannel.canaryDesc": "Kích hoạt trên mỗi lần hợp nhất PR, nhiều bản dựng mỗi ngày. Không ổn định nhất.",
+ "tab.advanced.updateChannel.desc": "Theo mặc định, nhận thông báo cho các bản cập nhật ổn định. Các kênh Nightly và Canary nhận các bản dựng trước khi phát hành có thể không ổn định cho công việc sản xuất.",
+ "tab.advanced.updateChannel.nightly": "Nightly",
+ "tab.advanced.updateChannel.nightlyDesc": "Các bản dựng tự động hàng ngày với những thay đổi mới nhất.",
+ "tab.advanced.updateChannel.stable": "Ổn định",
+ "tab.advanced.updateChannel.stableDesc": "Các bản phát hành sẵn sàng cho sản xuất.",
+ "tab.advanced.updateChannel.title": "Kênh Cập nhật",
"tab.agent": "Dịch Vụ Tác Nhân",
"tab.all": "Tất cả",
"tab.apikey": "Quản Lý API Key",
"tab.appearance": "Giao diện",
- "tab.beta": "Beta",
- "tab.beta.updateChannel.canary": "Canary",
- "tab.beta.updateChannel.canaryDesc": "Kích hoạt trên mỗi lần hợp nhất PR, nhiều bản dựng mỗi ngày. Không ổn định nhất.",
- "tab.beta.updateChannel.desc": "Theo mặc định, nhận thông báo cho các bản cập nhật ổn định. Các kênh Nightly và Canary nhận các bản dựng trước khi phát hành có thể không ổn định cho công việc sản xuất.",
- "tab.beta.updateChannel.nightly": "Nightly",
- "tab.beta.updateChannel.nightlyDesc": "Các bản dựng tự động hàng ngày với những thay đổi mới nhất.",
- "tab.beta.updateChannel.stable": "Ổn định",
- "tab.beta.updateChannel.stableDesc": "Các bản phát hành sẵn sàng cho sản xuất.",
- "tab.beta.updateChannel.title": "Kênh Cập nhật",
"tab.chatAppearance": "Giao Diện Trò Chuyện",
"tab.common": "Giao Diện",
"tab.experiment": "Thử Nghiệm",
diff --git a/locales/zh-CN/setting.json b/locales/zh-CN/setting.json
index 457fbb137dc..8e462c0d32f 100644
--- a/locales/zh-CN/setting.json
+++ b/locales/zh-CN/setting.json
@@ -698,19 +698,18 @@
"tab.addCustomMcp.desc": "手动配置自定义 MCP 服务器",
"tab.addCustomSkill": "添加",
"tab.advanced": "高级设置",
+ "tab.advanced.updateChannel.canary": "Canary",
+ "tab.advanced.updateChannel.canaryDesc": "每次 PR 合并触发构建,一天可能多次。最不稳定。",
+ "tab.advanced.updateChannel.desc": "默认接收稳定版更新通知。Nightly 和 Canary 通道将接收预发布版本,可能不适合生产使用。",
+ "tab.advanced.updateChannel.nightly": "Nightly",
+ "tab.advanced.updateChannel.nightlyDesc": "每日自动构建,包含最新更改。",
+ "tab.advanced.updateChannel.stable": "稳定版",
+ "tab.advanced.updateChannel.stableDesc": "正式发布版本。",
+ "tab.advanced.updateChannel.title": "更新通道",
"tab.agent": "助理服务",
"tab.all": "全部",
"tab.apikey": "API Key 管理",
"tab.appearance": "外观",
- "tab.beta": "Beta",
- "tab.beta.updateChannel.canary": "Canary",
- "tab.beta.updateChannel.canaryDesc": "每次 PR 合并触发构建,一天可能多次。最不稳定。",
- "tab.beta.updateChannel.desc": "默认接收稳定版更新通知。Nightly 和 Canary 通道将接收预发布版本,可能不适合生产使用。",
- "tab.beta.updateChannel.nightly": "Nightly",
- "tab.beta.updateChannel.nightlyDesc": "每日自动构建,包含最新更改。",
- "tab.beta.updateChannel.stable": "稳定版",
- "tab.beta.updateChannel.stableDesc": "正式发布版本。",
- "tab.beta.updateChannel.title": "更新通道",
"tab.chatAppearance": "聊天外观",
"tab.common": "外观",
"tab.experiment": "实验",
diff --git a/locales/zh-TW/setting.json b/locales/zh-TW/setting.json
index 5466004375b..b32ee613c1d 100644
--- a/locales/zh-TW/setting.json
+++ b/locales/zh-TW/setting.json
@@ -701,19 +701,18 @@
"tab.addCustomMcp.desc": "手動配置自訂 MCP 伺服器",
"tab.addCustomSkill": "新增自訂技能",
"tab.advanced": "進階",
+ "tab.advanced.updateChannel.canary": "金絲雀版",
+ "tab.advanced.updateChannel.canaryDesc": "每次 PR 合併後觸發,每天多次構建。最不穩定的版本。",
+ "tab.advanced.updateChannel.desc": "預設情況下,接收穩定更新的通知。夜間版和金絲雀版頻道會接收可能不適合生產工作的預發布版本。",
+ "tab.advanced.updateChannel.nightly": "夜間版",
+ "tab.advanced.updateChannel.nightlyDesc": "每日自動構建,包含最新更改。",
+ "tab.advanced.updateChannel.stable": "穩定版",
+ "tab.advanced.updateChannel.stableDesc": "適合生產環境的正式版本。",
+ "tab.advanced.updateChannel.title": "更新頻道",
"tab.agent": "默認助手",
"tab.all": "全部",
"tab.apikey": "API Key 管理",
"tab.appearance": "外觀",
- "tab.beta": "測試版",
- "tab.beta.updateChannel.canary": "金絲雀版",
- "tab.beta.updateChannel.canaryDesc": "每次 PR 合併後觸發,每天多次構建。最不穩定的版本。",
- "tab.beta.updateChannel.desc": "預設情況下,接收穩定更新的通知。夜間版和金絲雀版頻道會接收可能不適合生產工作的預發布版本。",
- "tab.beta.updateChannel.nightly": "夜間版",
- "tab.beta.updateChannel.nightlyDesc": "每日自動構建,包含最新更改。",
- "tab.beta.updateChannel.stable": "穩定版",
- "tab.beta.updateChannel.stableDesc": "適合生產環境的正式版本。",
- "tab.beta.updateChannel.title": "更新頻道",
"tab.chatAppearance": "聊天外觀",
"tab.common": "外觀",
"tab.experiment": "實驗",
diff --git a/src/features/Conversation/Messages/Assistant/Extra/index.tsx b/src/features/Conversation/Messages/Assistant/Extra/index.tsx
index 7b1f5a90aa9..fbfbf38ef63 100644
--- a/src/features/Conversation/Messages/Assistant/Extra/index.tsx
+++ b/src/features/Conversation/Messages/Assistant/Extra/index.tsx
@@ -4,8 +4,8 @@ import { Flexbox } from '@lobehub/ui';
import { memo } from 'react';
import { useUserStore } from '@/store/user';
-import { authSelectors } from '@/store/user/slices/auth/selectors';
import { userGeneralSettingsSelectors } from '@/store/user/selectors';
+import { authSelectors } from '@/store/user/slices/auth/selectors';
import { messageStateSelectors, useConversationStore } from '../../../store';
import ExtraContainer from '../../components/Extras/ExtraContainer';
diff --git a/src/features/ModelSwitchPanel/components/List/ListItemRenderer.tsx b/src/features/ModelSwitchPanel/components/List/ListItemRenderer.tsx
index 3c6af6b9a8d..397a1db8314 100644
--- a/src/features/ModelSwitchPanel/components/List/ListItemRenderer.tsx
+++ b/src/features/ModelSwitchPanel/components/List/ListItemRenderer.tsx
@@ -1,10 +1,5 @@
import {
Block,
- DropdownMenuGroup,
- DropdownMenuGroupLabel,
- DropdownMenuItem,
- DropdownMenuItemIcon,
- DropdownMenuItemLabel,
DropdownMenuPopup,
DropdownMenuPortal,
DropdownMenuPositioner,
@@ -15,7 +10,7 @@ import {
menuSharedStyles,
} from '@lobehub/ui';
import { cssVar, cx } from 'antd-style';
-import { Check, LucideArrowRight } from 'lucide-react';
+import { LucideArrowRight } from 'lucide-react';
import { memo, useState } from 'react';
import { useTranslation } from 'react-i18next';
import { useNavigate } from 'react-router-dom';
@@ -133,8 +128,8 @@ export const ListItemRenderer = memo<ListItemRendererProps>(
<ModelItemRender
{...item.model}
{...item.model.abilities}
- newBadgeLabel={newLabel}
showInfoTag
+ newBadgeLabel={newLabel}
/>
</DropdownMenuSubmenuTrigger>
<DropdownMenuPortal>
@@ -220,10 +215,10 @@ export const ListItemRenderer = memo<ListItemRendererProps>(
isModelRestricted={isModelRestricted}
newLabel={newLabel}
proLabel={proLabel}
+ showInfoTag={isDevMode}
onClose={onClose}
onModelChange={onModelChange}
onRestrictedModelClick={onRestrictedModelClick}
- showInfoTag={isDevMode}
/>
</Flexbox>
);
diff --git a/src/features/ModelSwitchPanel/components/ModelDetailPanel.tsx b/src/features/ModelSwitchPanel/components/ModelDetailPanel.tsx
index 45117bb4509..8a96fbd2a0a 100644
--- a/src/features/ModelSwitchPanel/components/ModelDetailPanel.tsx
+++ b/src/features/ModelSwitchPanel/components/ModelDetailPanel.tsx
@@ -2,7 +2,6 @@ import { getCachedTextInputUnitRate } from '@lobechat/utils';
import { Accordion, AccordionItem, Flexbox, Icon, Tag, Tooltip } from '@lobehub/ui';
import { createStaticStyles } from 'antd-style';
import { type LucideIcon } from 'lucide-react';
-
import {
ArrowDownToDot,
ArrowUpFromDot,
diff --git a/src/features/ModelSwitchPanel/components/PanelContent.tsx b/src/features/ModelSwitchPanel/components/PanelContent.tsx
index 310b2152451..2d5c270e35b 100644
--- a/src/features/ModelSwitchPanel/components/PanelContent.tsx
+++ b/src/features/ModelSwitchPanel/components/PanelContent.tsx
@@ -7,7 +7,7 @@ import { useEnabledChatModels } from '@/hooks/useEnabledChatModels';
import { useUserStore } from '@/store/user';
import { userGeneralSettingsSelectors } from '@/store/user/slices/settings/selectors/general';
-import { DEFAULT_WIDTH, ENABLE_RESIZING, ITEM_HEIGHT, MAX_PANEL_HEIGHT, MAX_WIDTH, MIN_WIDTH, TOOLBAR_HEIGHT } from '../const';
+import { DEFAULT_WIDTH, ENABLE_RESIZING, MAX_WIDTH, MIN_WIDTH } from '../const';
import { usePanelSize } from '../hooks/usePanelSize';
import { usePanelState } from '../hooks/usePanelState';
import { List } from './List';
diff --git a/src/features/User/UserPanel/LangButton.tsx b/src/features/User/UserPanel/LangButton.tsx
index 93becdaf462..ccf8b731b67 100644
--- a/src/features/User/UserPanel/LangButton.tsx
+++ b/src/features/User/UserPanel/LangButton.tsx
@@ -1,7 +1,7 @@
import { type DropdownMenuCheckboxItem, type DropdownMenuProps } from '@lobehub/ui';
import { ActionIcon, DropdownMenu, Flexbox, Icon, Text } from '@lobehub/ui';
import { ChevronRight, Languages } from 'lucide-react';
-import { type ReactNode, memo, useMemo } from 'react';
+import { memo, type ReactNode, useMemo } from 'react';
import { useTranslation } from 'react-i18next';
import Menu from '@/components/Menu';
diff --git a/src/features/User/UserPanel/PanelContent.tsx b/src/features/User/UserPanel/PanelContent.tsx
index 862ec487288..17b97050373 100644
--- a/src/features/User/UserPanel/PanelContent.tsx
+++ b/src/features/User/UserPanel/PanelContent.tsx
@@ -6,13 +6,13 @@ import { Link } from 'react-router-dom';
import BusinessPanelContent from '@/business/client/features/User/BusinessPanelContent';
import Menu from '@/components/Menu';
import { isDesktop } from '@/const/version';
+import UserInfo from '@/features/User/UserInfo';
import { navigateToDesktopOnboarding } from '@/routes/(desktop)/desktop-onboarding/navigation';
import { DesktopOnboardingScreen } from '@/routes/(desktop)/desktop-onboarding/types';
import { useUserStore } from '@/store/user';
import { authSelectors } from '@/store/user/selectors';
import DataStatistics from '../DataStatistics';
-import UserInfo from '@/features/User/UserInfo';
import UserLoginOrSignup from '../UserLoginOrSignup';
import LangButton from './LangButton';
import { useMenu } from './useMenu';
diff --git a/src/features/User/__tests__/PanelContent.test.tsx b/src/features/User/__tests__/PanelContent.test.tsx
index a56503171ff..2d662bfb182 100644
--- a/src/features/User/__tests__/PanelContent.test.tsx
+++ b/src/features/User/__tests__/PanelContent.test.tsx
@@ -15,10 +15,6 @@ vi.mock('next/navigation', () => ({
})),
}));
-vi.mock('@/components/BrandWatermark', () => ({
- default: vi.fn(() => <div>Mocked BrandWatermark</div>),
-}));
-
vi.mock('@/components/Menu', () => ({
default: vi.fn(({ items, onClick }) => (
<div>
@@ -107,17 +103,17 @@ describe('PanelContent', () => {
renderWithRouter(<PanelContent closePopover={closePopover} />);
- expect(screen.getAllByText('Mocked Menu').length).toBe(2);
+ expect(screen.getAllByText('Mocked Menu').length).toBe(3);
});
- it('should render BrandWatermark when user is not signed in', () => {
+ it('should render SignInBlock when user is not signed in', () => {
act(() => {
useUserStore.setState({ isSignedIn: false });
});
renderWithRouter(<PanelContent closePopover={closePopover} />);
- expect(screen.getByText('Mocked BrandWatermark')).toBeInTheDocument();
+ expect(screen.getByText('Mocked SignInBlock')).toBeInTheDocument();
});
});
diff --git a/src/features/User/__tests__/useMenu.test.tsx b/src/features/User/__tests__/useMenu.test.tsx
index 84372a08d31..61091412fc5 100644
--- a/src/features/User/__tests__/useMenu.test.tsx
+++ b/src/features/User/__tests__/useMenu.test.tsx
@@ -25,10 +25,6 @@ vi.mock('@/hooks/useInterceptingRoutes', () => ({
useOpenSettings: vi.fn(() => vi.fn()),
}));
-vi.mock('@/features/DataImporter', () => ({
- default: vi.fn(({ children }) => <div>{children}</div>),
-}));
-
vi.mock('react-i18next', () => ({
useTranslation: vi.fn(() => ({
t: vi.fn((key) => key),
@@ -58,9 +54,9 @@ describe('useMenu', () => {
act(() => {
const { mainItems, logoutItems } = result.current;
- // 'setting' and 'import' are shown when logged in
+ // 'setting' and 'memory' are shown when logged in
expect(mainItems?.some((item) => item?.key === 'setting')).toBe(true);
- expect(mainItems?.some((item) => item?.key === 'import')).toBe(true);
+ expect(mainItems?.some((item) => item?.key === 'memory')).toBe(true);
// 'logout' is shown when isLoginWithAuth is true
expect(logoutItems.some((item) => item?.key === 'logout')).toBe(true);
});
@@ -75,9 +71,9 @@ describe('useMenu', () => {
act(() => {
const { mainItems, logoutItems } = result.current;
- // When not logged in, setting and import should not be shown
+ // When not logged in, setting and memory should not be shown
expect(mainItems?.some((item) => item?.key === 'setting')).toBe(false);
- expect(mainItems?.some((item) => item?.key === 'import')).toBe(false);
+ expect(mainItems?.some((item) => item?.key === 'memory')).toBe(false);
expect(logoutItems.some((item) => item?.key === 'logout')).toBe(false);
});
});
diff --git a/src/locales/default/setting.ts b/src/locales/default/setting.ts
index 0f24bcf0d09..a70528f4c89 100644
--- a/src/locales/default/setting.ts
+++ b/src/locales/default/setting.ts
@@ -807,18 +807,16 @@ When I am ___, I need ___
'tab.about': 'About',
'tab.advanced': 'Advanced',
'tab.addAgentSkill': 'Add Agent Skill',
- 'tab.beta': 'Beta',
- 'tab.beta.updateChannel.beta': 'Beta',
- 'tab.beta.updateChannel.canary': 'Canary',
- 'tab.beta.updateChannel.canaryDesc':
+ 'tab.advanced.updateChannel.canary': 'Canary',
+ 'tab.advanced.updateChannel.canaryDesc':
'Triggered on every PR merge, multiple builds per day. Most unstable.',
- 'tab.beta.updateChannel.desc':
+ 'tab.advanced.updateChannel.desc':
'By default, get notifications for stable updates. Nightly and Canary channels receive pre-release builds that may be unstable for production work.',
- 'tab.beta.updateChannel.nightly': 'Nightly',
- 'tab.beta.updateChannel.nightlyDesc': 'Automated daily builds with the latest changes.',
- 'tab.beta.updateChannel.stable': 'Stable',
- 'tab.beta.updateChannel.stableDesc': 'Production-ready releases.',
- 'tab.beta.updateChannel.title': 'Update Channel',
+ 'tab.advanced.updateChannel.nightly': 'Nightly',
+ 'tab.advanced.updateChannel.nightlyDesc': 'Automated daily builds with the latest changes.',
+ 'tab.advanced.updateChannel.stable': 'Stable',
+ 'tab.advanced.updateChannel.stableDesc': 'Production-ready releases.',
+ 'tab.advanced.updateChannel.title': 'Update Channel',
'tab.addCustomMcp': 'Add Custom MCP Skill',
'tab.addCustomMcp.desc': 'Manually configure a custom MCP server',
'tab.addCustomSkill': 'Add',
diff --git a/src/routes/(main)/agent/profile/features/Header/index.tsx b/src/routes/(main)/agent/profile/features/Header/index.tsx
index a455003e713..0f38f799c83 100644
--- a/src/routes/(main)/agent/profile/features/Header/index.tsx
+++ b/src/routes/(main)/agent/profile/features/Header/index.tsx
@@ -20,8 +20,7 @@ import ForkConfirmModal from './AgentPublishButton/ForkConfirmModal';
import PublishResultModal from './AgentPublishButton/PublishResultModal';
import { type OriginalAgentInfo, useMarketPublish } from './AgentPublishButton/useMarketPublish';
import AgentStatusTag from './AgentStatusTag';
-import { useVersionReviewStatus } from './AgentVersionReviewTag';
-import AgentVersionReviewTag from './AgentVersionReviewTag';
+import AgentVersionReviewTag, { useVersionReviewStatus } from './AgentVersionReviewTag';
import AutoSaveHint from './AutoSaveHint';
const Header = memo(() => {
@@ -134,6 +133,14 @@ const Header = memo(() => {
return (
<>
<NavHeader
+ left={
+ <Flexbox horizontal gap={8}>
+ <AutoSaveHint />
+ <AgentStatusTag />
+ <AgentVersionReviewTag />
+ <AgentForkTag />
+ </Flexbox>
+ }
right={
<Flexbox horizontal align={'center'} gap={4}>
<DropdownMenu items={menuItems}>
@@ -146,24 +153,16 @@ const Header = memo(() => {
<ToggleRightPanelButton icon={BotMessageSquareIcon} showActive={true} />
</Flexbox>
}
- left={
- <Flexbox horizontal gap={8}>
- <AutoSaveHint />
- <AgentStatusTag />
- <AgentVersionReviewTag />
- <AgentForkTag />
- </Flexbox>
- }
/>
<ForkConfirmModal
loading={isPublishing}
open={showForkModal}
originalAgent={originalAgentInfo}
+ onConfirm={handleForkConfirm}
onCancel={() => {
setShowForkModal(false);
setOriginalAgentInfo(null);
}}
- onConfirm={handleForkConfirm}
/>
<PublishResultModal
identifier={publishedIdentifier}
diff --git a/src/routes/(main)/settings/about/features/Version.tsx b/src/routes/(main)/settings/about/features/Version.tsx
index 8c984f225e0..2db9c7d506f 100644
--- a/src/routes/(main)/settings/about/features/Version.tsx
+++ b/src/routes/(main)/settings/about/features/Version.tsx
@@ -137,7 +137,7 @@ const Version = memo<{ mobile?: boolean }>(({ mobile }) => {
{buildChannel && buildChannel !== 'stable' && (
<Tag color={'gold'}>
- {t(`setting:tab.beta.updateChannel.${buildChannel}`, {
+ {t(`setting:tab.advanced.updateChannel.${buildChannel}`, {
defaultValue: buildChannel.charAt(0).toUpperCase() + buildChannel.slice(1),
})}
</Tag>
diff --git a/src/routes/(main)/settings/advanced/index.tsx b/src/routes/(main)/settings/advanced/index.tsx
index 24d863f1c6c..8c99b9417d8 100644
--- a/src/routes/(main)/settings/advanced/index.tsx
+++ b/src/routes/(main)/settings/advanced/index.tsx
@@ -1,19 +1,23 @@
'use client';
+import { isDesktop } from '@lobechat/const';
import { type FormGroupItemType } from '@lobehub/ui';
import { Form, Icon, Skeleton } from '@lobehub/ui';
-import { Switch } from 'antd';
+import { Select, Switch } from '@lobehub/ui/base-ui';
import { createStaticStyles } from 'antd-style';
import isEqual from 'fast-deep-equal';
import { Loader2Icon } from 'lucide-react';
-import { memo, useState } from 'react';
+import { memo, useCallback, useEffect, useState } from 'react';
import { useTranslation } from 'react-i18next';
import { FORM_STYLE } from '@/const/layoutTokens';
import SettingHeader from '@/routes/(main)/settings/features/SettingHeader';
+import { autoUpdateService } from '@/services/electron/autoUpdate';
import { useUserStore } from '@/store/user';
import { labPreferSelectors, preferenceSelectors, settingsSelectors } from '@/store/user/selectors';
+type UpdateChannelValue = 'canary' | 'nightly' | 'stable';
+
const styles = createStaticStyles(({ css }) => ({
labItem: css`
.ant-form-item-row {
@@ -36,6 +40,21 @@ const Page = memo(() => {
s.updateLab,
]);
+ const [channel, setChannel] = useState<UpdateChannelValue>('stable');
+
+ useEffect(() => {
+ if (!isDesktop) return;
+ autoUpdateService
+ .getUpdateChannel()
+ .then(setChannel)
+ .catch(() => {});
+ }, []);
+
+ const handleChannelChange = useCallback((value: UpdateChannelValue) => {
+ setChannel(value);
+ autoUpdateService.setUpdateChannel(value);
+ }, []);
+
if (!isUserStateInit) return <Skeleton active paragraph={{ rows: 5 }} title={false} />;
const advancedGroup: FormGroupItemType = {
@@ -53,6 +72,25 @@ const Page = memo(() => {
title: t('tab.advanced'),
};
+ const channelOptions = [
+ { label: t('tab.advanced.updateChannel.stable'), value: 'stable' as const },
+ { label: t('tab.advanced.updateChannel.nightly'), value: 'nightly' as const },
+ { label: t('tab.advanced.updateChannel.canary'), value: 'canary' as const },
+ ];
+
+ const updateChannelGroup: FormGroupItemType = {
+ children: [
+ {
+ children: (
+ <Select options={channelOptions} value={channel} onChange={handleChannelChange} />
+ ),
+ desc: t('tab.advanced.updateChannel.desc'),
+ label: t('tab.advanced.updateChannel.title'),
+ },
+ ],
+ title: t('tab.advanced.updateChannel.title'),
+ };
+
const labsGroup: FormGroupItemType = {
children: [
{
@@ -79,13 +117,17 @@ const Page = memo(() => {
title: tLabs('title'),
};
+ const items = isDesktop
+ ? [advancedGroup, updateChannelGroup, labsGroup]
+ : [advancedGroup, labsGroup];
+
return (
<>
<SettingHeader title={t('tab.advanced')} />
<Form
collapsible={false}
initialValues={general}
- items={[advancedGroup, labsGroup]}
+ items={items}
itemsType={'group'}
variant={'filled'}
onValuesChange={async (v) => {
diff --git a/src/routes/(main)/settings/appearance/index.tsx b/src/routes/(main)/settings/appearance/index.tsx
index f2c3a4bdc6a..6884e76e06d 100644
--- a/src/routes/(main)/settings/appearance/index.tsx
+++ b/src/routes/(main)/settings/appearance/index.tsx
@@ -2,9 +2,9 @@ import { useTranslation } from 'react-i18next';
import SettingHeader from '@/routes/(main)/settings/features/SettingHeader';
+import ChatAppearance from '../chat-appearance/features/ChatAppearance';
import Appearance from '../common/features/Appearance';
import Common from '../common/features/Common/Common';
-import ChatAppearance from '../chat-appearance/features/ChatAppearance';
const Page = () => {
const { t } = useTranslation('setting');
diff --git a/src/routes/(main)/settings/beta/features/UpdateChannel.tsx b/src/routes/(main)/settings/beta/features/UpdateChannel.tsx
deleted file mode 100644
index 52c45a9cd62..00000000000
--- a/src/routes/(main)/settings/beta/features/UpdateChannel.tsx
+++ /dev/null
@@ -1,56 +0,0 @@
-'use client';
-
-import { FORM_STYLE } from '@lobechat/const';
-import { Form } from '@lobehub/ui';
-import { Select } from '@lobehub/ui/base-ui';
-import { memo, useCallback, useEffect, useState } from 'react';
-import { useTranslation } from 'react-i18next';
-
-import { autoUpdateService } from '@/services/electron/autoUpdate';
-
-type UpdateChannelValue = 'canary' | 'nightly' | 'stable';
-
-const UpdateChannel = memo(() => {
- const { t } = useTranslation('setting');
- const [channel, setChannel] = useState<UpdateChannelValue>('stable');
-
- useEffect(() => {
- autoUpdateService
- .getUpdateChannel()
- .then(setChannel)
- .catch(() => {});
- }, []);
-
- const handleChange = useCallback((value: UpdateChannelValue) => {
- setChannel(value);
- autoUpdateService.setUpdateChannel(value);
- }, []);
-
- const channelOptions = [
- { label: t('tab.beta.updateChannel.stable'), value: 'stable' as const },
- { label: t('tab.beta.updateChannel.nightly'), value: 'nightly' as const },
- { label: t('tab.beta.updateChannel.canary'), value: 'canary' as const },
- ];
-
- return (
- <Form
- itemsType={'group'}
- variant={'filled'}
- {...FORM_STYLE}
- items={[
- {
- children: [
- {
- children: <Select options={channelOptions} value={channel} onChange={handleChange} />,
- desc: t('tab.beta.updateChannel.desc'),
- label: t('tab.beta.updateChannel.title'),
- },
- ],
- title: t('tab.beta'),
- },
- ]}
- />
- );
-});
-
-export default UpdateChannel;
diff --git a/src/routes/(main)/settings/beta/index.tsx b/src/routes/(main)/settings/beta/index.tsx
deleted file mode 100644
index e46e2d6ca9e..00000000000
--- a/src/routes/(main)/settings/beta/index.tsx
+++ /dev/null
@@ -1,17 +0,0 @@
-import { useTranslation } from 'react-i18next';
-
-import SettingHeader from '@/routes/(main)/settings/features/SettingHeader';
-
-import UpdateChannel from './features/UpdateChannel';
-
-const Page = () => {
- const { t } = useTranslation('setting');
- return (
- <>
- <SettingHeader title={t('tab.beta')} />
- <UpdateChannel />
- </>
- );
-};
-
-export default Page;
diff --git a/src/routes/(main)/settings/common/features/Common/Common.tsx b/src/routes/(main)/settings/common/features/Common/Common.tsx
index 575f13b9e12..a9543b8595f 100644
--- a/src/routes/(main)/settings/common/features/Common/Common.tsx
+++ b/src/routes/(main)/settings/common/features/Common/Common.tsx
@@ -2,7 +2,7 @@
import { type FormGroupItemType } from '@lobehub/ui';
import { Flexbox, Form, Icon, ImageSelect, Skeleton } from '@lobehub/ui';
-import { Select, Switch } from '@lobehub/ui/base-ui';
+import { Select } from '@lobehub/ui/base-ui';
import { Segmented } from 'antd';
import isEqual from 'fast-deep-equal';
import { Ban, Gauge, Loader2Icon, Monitor, Moon, Mouse, Sun, Waves } from 'lucide-react';
diff --git a/src/routes/(main)/settings/features/SettingsContent.tsx b/src/routes/(main)/settings/features/SettingsContent.tsx
index 62215c5debc..ce5c45287bb 100644
--- a/src/routes/(main)/settings/features/SettingsContent.tsx
+++ b/src/routes/(main)/settings/features/SettingsContent.tsx
@@ -48,12 +48,7 @@ const SettingsContent = ({ mobile, activeTab }: SettingsContentProps) => {
SettingsTabs.Usage,
SettingsTabs.Security,
...(enableBusinessFeatures
- ? [
- SettingsTabs.Plans,
- SettingsTabs.Credits,
- SettingsTabs.Billing,
- SettingsTabs.Referral,
- ]
+ ? [SettingsTabs.Plans, SettingsTabs.Credits, SettingsTabs.Billing, SettingsTabs.Referral]
: []),
].includes(tab as any)
) {
diff --git a/src/routes/(main)/settings/features/componentMap.desktop.ts b/src/routes/(main)/settings/features/componentMap.desktop.ts
index f4c06278eb3..57dee35960f 100644
--- a/src/routes/(main)/settings/features/componentMap.desktop.ts
+++ b/src/routes/(main)/settings/features/componentMap.desktop.ts
@@ -9,7 +9,6 @@ import About from '../about';
import Advanced from '../advanced';
import APIKey from '../apikey';
import Appearance from '../appearance';
-import Beta from '../beta';
import Hotkey from '../hotkey';
import Memory from '../memory';
import Profile from '../profile';
@@ -23,7 +22,6 @@ import SystemTools from '../system-tools';
export const componentMap = {
[SettingsTabs.Advanced]: Advanced,
- [SettingsTabs.Beta]: Beta,
[SettingsTabs.Appearance]: Appearance,
[SettingsTabs.Provider]: Provider,
[SettingsTabs.ServiceModel]: ServiceModel,
diff --git a/src/routes/(main)/settings/hooks/useCategory.tsx b/src/routes/(main)/settings/hooks/useCategory.tsx
index a2a5ae6647f..b0d50564033 100644
--- a/src/routes/(main)/settings/hooks/useCategory.tsx
+++ b/src/routes/(main)/settings/hooks/useCategory.tsx
@@ -10,7 +10,6 @@ import {
Database,
EllipsisIcon,
EthernetPort,
- FlaskConical,
Gift,
Info,
KeyboardIcon,
@@ -167,11 +166,6 @@ export const useCategory = () => {
key: SettingsTabs.SystemTools,
label: t('tab.systemTools'),
},
- isDesktop && {
- icon: FlaskConical,
- key: SettingsTabs.Beta,
- label: t('tab.beta'),
- },
{
icon: Database,
key: SettingsTabs.Storage,
diff --git a/src/store/global/initialState.ts b/src/store/global/initialState.ts
index e6a942c56ed..7ac5663bd1f 100644
--- a/src/store/global/initialState.ts
+++ b/src/store/global/initialState.ts
@@ -43,7 +43,6 @@ export enum SettingsTabs {
Agent = 'agent',
APIKey = 'apikey',
Appearance = 'appearance',
- Beta = 'beta',
Billing = 'billing',
/** @deprecated Use Appearance instead */
ChatAppearance = 'chat-appearance',