feat(webui): expand and organize settings with autosave (#5704)

* feat(webui): expand settings with autosave and live configuration

* feat(memory): add long-term memory and idle compaction switches

* refactor(webui): clarify settings hierarchy and align compact controls

* refactor(webui): keep only memory consolidation in memory settings

* refactor(webui): defer runtime changes until explicit restart

* refactor(webui): remove default workspace setting

* fix(webui): align model lists and remove preset counters

* fix(i18n): use natural Chinese labels for chat platforms

* fix(i18n): shorten chat settings navigation label

* fix(webui): match settings navigation icons to text size

* refactor(webui): remove redundant settings sidebar heading

* refactor(webui): use icon-only back navigation in settings

* fix(webui): remove back arrow hover hint

* refactor(webui): remove redundant overview details

* refactor(webui): hide secondary descriptions in settings rows

* style(webui): replace settings dividers with rounded highlights

* refactor(webui): remove redundant model list subtitles and badges

* fix(i18n): restore chat translation namespace boundaries

* fix(i18n): complete settings translations for all locales

* fix(webui): reveal settings only for enabled capabilities

* fix(webui): consolidate capabilities and isolate settings feedback

* fix(webui): clear restart notices when settings are reverted

* fix(webui): anchor restart controls in settings sidebar

* fix(webui): shorten sidebar restart label

* fix(webui): align settings spacing and control sizes

* refactor(webui): unify settings dialogs and interaction feedback

* fix(webui): keep settings option groups on one line without scrolling

* refactor(webui): align settings spacing and sidebar icon proportions

* style(webui): match main sidebar typography to settings

* style(webui): use monospace for sidebar session handles

* refactor(webui): remove heartbeat configuration from automations

* feat(webui): expose configuration actions beside capability toggles

* style(webui): remove ellipsis from configuration actions

* refactor(webui): remove redundant app configuration controls

* feat(webui): add compact sidebar navigation and shortcut hints

* fix(webui): synchronize npm dependency lockfile

* test(webui): align input radius expectation with pill styling

* feat(webui): show daily token usage and cache breakdown

* feat(webui): add model usage details and cache hit rates

* feat(webui): chart daily token usage by model

* refactor(webui): simplify usage details and model labels

* fix(webui): hide usage dialog date range

* refactor(webui): consolidate model usage into chart legends

* fix(webui): enforce restart choices and correct settings test route

* fix(webui): polish settings localization and controls

* fix(webui): avoid repeated usage legend labels

* fix(webui): skip empty usage columns in keyboard navigation

* test(webui): assert settings behavior positively

* feat(webui): refine sidebar navigation and add drag resizing

* style(webui): soften sidebar scroll edges

* style(webui): harmonize sidebar typography and text colors

* feat(webui): move channels to the main sidebar

* style(webui): remove dotted underlines from settings hints

* fix(webui): unify tooltip hover delay

* fix(webui): support Seatbelt sandbox settings

* fix(webui): remove unused appearance density preference

* fix(webui): align settings input values consistently

* style(webui): group compact settings controls before inputs

* feat(webui): edit multiline settings in compact dialogs

* feat(webui): add continuous settings scrolling with gentle snapping

* Revert "feat(webui): add continuous settings scrolling with gentle snapping"

This reverts commit f0978c261a53c844185eeab4d0c3190fbd196fe6.
This commit is contained in:
chengyongru authored and GitHub committed 2026-09-10 11:10:51 +08:00
1 parent 20f115bf46
commit 8ea683679d
244 files changed
+6929 -3900

No files matched your search

@@ -1,6 +1,6 @@
{
"description": "Usa nanobot en chats y grupos de Feishu.",
"requirements": "Credenciales de Feishu, suscripción a eventos y gateway",
"requirements": "Credenciales de Feishu, suscripción a eventos y pasarela",
"setup": {
"primaryAction": "Conectar Feishu",
"docsLabel": "Abrir guía de Feishu",
@@ -20,7 +20,7 @@
"appSecret": {
"label": "App Secret",
"placeholder": "Déjalo vacío para conservar el secreto",
"help": "Pega uno nuevo solo al rotar credenciales."
"help": "Pega un nuevo secreto solo si quieres sustituir el que está guardado."
},
"domain": {
"label": "Región",
@@ -34,7 +34,7 @@
"choices": {
"mention": "Solo menciones",
"open": "Todos los mensajes",
"allowlist": "Lista permitida"
"allowlist": "Lista de permitidos"
}
},
"allowFrom": {
@@ -51,12 +51,12 @@
}
},
"custom": {
"toggleAssistant": "Asistente {{name}}",
"toggleAssistant": "Activar el asistente {{name}}",
"configured": "Conectado",
"needsSetup": "Necesita autorización",
"noAppId": "Sin App ID",
"createAnother": "Crear otro asistente",
"createHint": "Crea un bot Feishu independiente para otro equipo o flujo.",
"createHint": "Crea un bot de Feishu independiente para otro equipo, espacio o flujo de trabajo.",
"createAssistant": "Crear asistente",
"reconnect": "Reconectar",
"countNone": "Ningún asistente conectado",
@@ -20,7 +20,7 @@
"appSecret": {
"label": "App Secret",
"placeholder": "Laisser vide pour conserver le secret",
"help": "Collez un nouveau secret uniquement lors d’une rotation."
"help": "Collez un nouveau secret uniquement pour remplacer celui qui est enregistré."
},
"domain": {
"label": "Région",
@@ -51,12 +51,12 @@
}
},
"custom": {
"toggleAssistant": "Assistant {{name}}",
"toggleAssistant": "Activer l’assistant {{name}}",
"configured": "Connecté",
"needsSetup": "Autorisation requise",
"noAppId": "Aucun App ID",
"createAnother": "Créer un autre assistant",
"createHint": "Créez un bot Feishu distinct pour une autre équipe ou un autre flux.",
"createHint": "Créez un bot Feishu distinct pour une autre équipe, un autre espace ou un autre usage.",
"createAssistant": "Créer l’assistant",
"reconnect": "Reconnecter",
"countNone": "Aucun assistant connecté",
@@ -20,7 +20,7 @@
"appSecret": {
"label": "App Secret",
"placeholder": "Kosongkan untuk mempertahankan secret",
"help": "Tempel secret baru hanya saat rotasi kredensial."
"help": "Masukkan App Secret baru hanya untuk mengganti nilai yang tersimpan."
},
"domain": {
"label": "Wilayah",
@@ -32,7 +32,7 @@
"groupPolicy": {
"label": "Perilaku grup",
"choices": {
"mention": "Hanya sebutan",
"mention": "Hanya saat disebut",
"open": "Semua pesan",
"allowlist": "Daftar izin"
}
@@ -51,7 +51,7 @@
}
},
"custom": {
"toggleAssistant": "Asisten {{name}}",
"toggleAssistant": "Aktifkan asisten {{name}}",
"configured": "Terhubung",
"needsSetup": "Perlu otorisasi",
"noAppId": "Tidak ada App ID",
@@ -64,7 +64,7 @@
"countMany": "{{count}} asisten terhubung",
"qrAlt": "Kode QR koneksi Feishu",
"scanTitle": "Pindai dengan Feishu",
"scanDescription": "Pindai dengan Feishu atau Lark di ponsel. nanobot akan menyelesaikan setup setelah otorisasi.",
"scanDescription": "Pindai kode ini dengan Feishu atau Lark di ponsel. nanobot akan menyelesaikan penyiapan setelah Anda menyetujui akses.",
"waiting": "Menunggu otorisasi...",
"connected": "Feishu sudah terhubung.",
"stopped": "Koneksi dihentikan.",
@@ -51,7 +51,7 @@
}
},
"custom": {
"toggleAssistant": "{{name}} アシスタント",
"toggleAssistant": "アシスタント {{name}} を有効にする",
"configured": "接続済み",
"needsSetup": "認可が必要",
"noAppId": "App ID なし",
@@ -60,8 +60,8 @@
"createAssistant": "アシスタントを作成",
"reconnect": "再接続",
"countNone": "接続済みアシスタントなし",
"countOne": "1 個のアシスタントを接続中",
"countMany": "{{count}} 個のアシスタントを接続中",
"countOne": "接続済みアシスタント:1 件",
"countMany": "接続済みアシスタント:{{count}} 件",
"qrAlt": "Feishu 接続 QR コード",
"scanTitle": "Feishu でスキャン",
"scanDescription": "スマートフォンの Feishu または Lark でスキャンしてください。認可後に nanobot が設定を完了します。",
@@ -1,12 +1,12 @@
{
"description": "Feishu 채팅과 그룹에서 nanobot을 사용합니다.",
"requirements": "Feishu 앱 자격 증명, 이벤트 구독 및 게이트웨이",
"requirements": "Feishu 앱 인증 정보, 이벤트 구독 및 게이트웨이",
"setup": {
"primaryAction": "Feishu 연결",
"docsLabel": "Feishu 설정 가이드 열기",
"officialLabel": "Feishu 콘솔 열기",
"tryIt": "DM을 보내거나 그룹에서 Feishu 어시스턴트를 멘션하세요.",
"summary": "QR 코드로 Feishu 앱을 만들거나 연결하고 자격 증명을 자동 저장합니다.",
"summary": "QR 코드로 Feishu 앱을 만들거나 연결하고 인증 정보을 자동 저장합니다.",
"steps": [
"연결을 클릭하고 휴대폰의 Feishu 또는 Lark로 QR 코드를 스캔하세요.",
"앱 연결을 승인하면 nanobot이 App ID와 Secret을 자동 저장합니다.",
@@ -20,7 +20,7 @@
"appSecret": {
"label": "App Secret",
"placeholder": "현재 Secret을 유지하려면 비워 두세요",
"help": "자격 증명을 교체할 때만 새 App Secret을 붙여 넣으세요."
"help": "인증 정보을 교체할 때만 새 App Secret을 붙여 넣으세요."
},
"domain": {
"label": "지역",
@@ -42,7 +42,7 @@
"placeholder": "사용자 ID, 쉼표로 구분"
},
"topicIsolation": {
"label": "주제 격리",
"label": "주제별 대화 분리",
"choices": {
"true": "주제별로 세션 분리",
"false": "그룹에서 하나의 세션 공유"
@@ -51,7 +51,7 @@
}
},
"custom": {
"toggleAssistant": "{{name}} 어시스턴트",
"toggleAssistant": "{{name}} 어시스턴트 활성화",
"configured": "연결됨",
"needsSetup": "인증 필요",
"noAppId": "App ID 없음",
@@ -51,12 +51,12 @@
}
},
"custom": {
"toggleAssistant": "Assistente {{name}}",
"toggleAssistant": "Ativar assistente {{name}}",
"configured": "Conectado",
"needsSetup": "Precisa de autorização",
"noAppId": "Sem App ID",
"createAnother": "Criar outro assistente",
"createHint": "Crie um bot Feishu separado para outra equipe ou fluxo.",
"createHint": "Crie um bot Feishu separado para outra equipe, espaço ou fluxo de trabalho.",
"createAssistant": "Criar assistente",
"reconnect": "Reconectar",
"countNone": "Nenhum assistente conectado",
@@ -19,8 +19,8 @@
},
"appSecret": {
"label": "App Secret",
"placeholder": "Để trống để giữ secret hiện tại",
"help": "Chỉ dán secret mới khi xoay vòng thông tin xác thực."
"placeholder": "Để trống để giữ khóa hiện tại",
"help": "Chỉ nhập App Secret mới khi muốn thay thế giá trị đã lưu."
},
"domain": {
"label": "Khu vực",
@@ -51,7 +51,7 @@
}
},
"custom": {
"toggleAssistant": "Trợ lý {{name}}",
"toggleAssistant": "Bật trợ lý {{name}}",
"configured": "Đã kết nối",
"needsSetup": "Cần cấp quyền",
"noAppId": "Không có App ID",
@@ -7,10 +7,10 @@
"docsLabel": "開啟飛書設定指南",
"officialLabel": "開啟飛書開發者後台",
"tryIt": "向飛書助手傳送私訊,或在群組中提及它。",
"summary": "連接流程會透過二維碼建立或關聯飛書應用程式,並自動為 nanobot 儲存應用程式憑證。",
"summary": "連接流程會透過QR Code建立或關聯飛書應用程式,並自動為 nanobot 儲存應用程式憑證。",
"steps": [
"點擊連接,用手機飛書或 Lark 掃描二維碼。",
"批准應用程式連接,nanobot 會自動儲存 App ID 和 Secret。",
"點選連接,用手機飛書或 Lark 掃描QR Code。",
"核准應用程式連接,nanobot 會自動儲存 App ID 和 Secret。",
"向機器人傳送私訊,或在飛書群組中提及它以完成測試。"
],
"fields": {
@@ -20,7 +20,7 @@
},
"appSecret": {
"label": "App Secret",
"placeholder": "留空以保留現有密鑰",
"placeholder": "留空以保留現有金鑰",
"help": "僅在輪換憑證時貼上新的 App Secret。"
},
"domain": {