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

@@ -5,7 +5,7 @@
"docsLabel": "Open Discord setup",
"officialLabel": "Open Discord portal",
"tryIt": "Mention the bot in a server or send it a direct message.",
"summary": "Enable turns on Discord support. Discord still needs a bot token and server permissions.",
"summary": "Connecting Discord requires a bot token and the appropriate server permissions.",
"steps": [
"Create a bot in Discord Developer Portal and copy its token.",
"Invite the bot to your server with message read/send and slash command permissions.",
@@ -1,11 +1,11 @@
{
"description": "Usa nanobot en servidores y mensajes directos de Discord.",
"requirements": "Token del bot de Discord, permisos y gateway",
"requirements": "Token del bot de Discord, permisos y pasarela",
"setup": {
"docsLabel": "Abrir guía de Discord",
"officialLabel": "Abrir portal de Discord",
"tryIt": "Menciona al bot en un servidor o envíale un mensaje directo.",
"summary": "Activar habilita Discord. Aún necesitas el token del bot y permisos del servidor.",
"summary": "Para conectar Discord necesitas un token de bot y los permisos adecuados en el servidor.",
"steps": [
"Crea un bot en Discord Developer Portal y copia su token.",
"Invítalo al servidor con permisos para leer/enviar mensajes y usar comandos slash.",
@@ -27,7 +27,7 @@
"choices": {
"mention": "Solo menciones",
"open": "Todos los mensajes",
"allowlist": "Lista permitida"
"allowlist": "Lista de permitidos"
}
},
"allowFrom": {
@@ -5,7 +5,7 @@
"docsLabel": "Ouvrir le guide Discord",
"officialLabel": "Ouvrir le portail Discord",
"tryIt": "Mentionnez le bot sur un serveur ou envoyez-lui un message privé.",
"summary": "L’activation ouvre la prise en charge de Discord. Un jeton de bot et des permissions serveur restent nécessaires.",
"summary": "La connexion à Discord nécessite un jeton de bot et les permissions appropriées sur le serveur.",
"steps": [
"Créez un bot dans le portail développeur Discord et copiez son jeton.",
"Invitez-le sur votre serveur avec les permissions de lecture, d’envoi et de commandes slash.",
@@ -5,7 +5,7 @@
"docsLabel": "Buka panduan Discord",
"officialLabel": "Buka portal Discord",
"tryIt": "Sebut bot di server atau kirim pesan langsung.",
"summary": "Mengaktifkan akan menyalakan dukungan Discord. Token bot dan izin server tetap diperlukan.",
"summary": "Untuk menghubungkan Discord, Anda memerlukan token bot dan izin yang sesuai di server.",
"steps": [
"Buat bot di Discord Developer Portal dan salin tokennya.",
"Undang bot ke server dengan izin baca/kirim pesan dan perintah slash.",
@@ -18,14 +18,14 @@
"help": "Buat dari halaman Bot di Discord Developer Portal."
},
"allowChannels": {
"label": "Channel yang diizinkan",
"placeholder": "ID channel, dipisahkan koma",
"help": "Kosongkan untuk mengizinkan semua channel yang dapat dibaca bot."
"label": "Kanal yang diizinkan",
"placeholder": "ID kanal, dipisahkan koma",
"help": "Kosongkan untuk mengizinkan semua kanal yang dapat dibaca bot."
},
"groupPolicy": {
"label": "Perilaku grup",
"choices": {
"mention": "Hanya sebutan",
"mention": "Hanya saat disebut",
"open": "Semua pesan",
"allowlist": "Daftar izin"
}
@@ -5,7 +5,7 @@
"docsLabel": "Discord 設定ガイドを開く",
"officialLabel": "Discord ポータルを開く",
"tryIt": "サーバーでボットをメンションするか、DM を送信します。",
"summary": "有効化すると Discord 対応がオンになります。ボットトークンとサーバー権限が必要です。",
"summary": "Discord への接続には、ボットトークンとサーバー上の適切な権限が必要です。",
"steps": [
"Discord Developer Portal でボットを作成し、トークンをコピーします。",
"メッセージの読み書きとスラッシュコマンド権限を付けてサーバーに招待します。",
@@ -5,7 +5,7 @@
"docsLabel": "Discord 설정 가이드 열기",
"officialLabel": "Discord 포털 열기",
"tryIt": "서버에서 봇을 멘션하거나 DM을 보내세요.",
"summary": "활성화하면 Discord 지원이 켜집니다. 봇 토큰과 서버 권한이 필요합니다.",
"summary": "Discord에 연결하려면 봇 토큰과 서버 내 접근 권한이 필요합니다.",
"steps": [
"Discord Developer Portal에서 봇을 만들고 토큰을 복사하세요.",
"메시지 읽기/보내기 및 슬래시 명령 권한으로 서버에 초대하세요.",
@@ -5,7 +5,7 @@
"docsLabel": "Abrir guia do Discord",
"officialLabel": "Abrir portal do Discord",
"tryIt": "Mencione o bot em um servidor ou envie uma mensagem direta.",
"summary": "Ativar liga o suporte ao Discord. O token do bot e as permissões do servidor ainda são necessários.",
"summary": "Para conectar o Discord, você precisa de um token de bot e das permissões adequadas no servidor.",
"steps": [
"Crie um bot no Discord Developer Portal e copie o token.",
"Convide-o para o servidor com permissões de leitura/envio e comandos slash.",
@@ -3,9 +3,9 @@
"requirements": "Token bot Discord, quyền và gateway",
"setup": {
"docsLabel": "Mở hướng dẫn Discord",
"officialLabel": "Mở cổng Discord",
"officialLabel": "Mở cổng nhà phát triển Discord",
"tryIt": "Nhắc bot trong máy chủ hoặc gửi tin nhắn riêng.",
"summary": "Bật sẽ kích hoạt hỗ trợ Discord. Bạn vẫn cần token bot và quyền trên máy chủ.",
"summary": "Để kết nối Discord, bạn cần token bot và các quyền phù hợp trên máy chủ.",
"steps": [
"Tạo bot trong Discord Developer Portal và sao chép token.",
"Mời bot vào máy chủ với quyền đọc/gửi tin nhắn và lệnh slash.",
@@ -5,7 +5,7 @@
"docsLabel": "打开 Discord 配置指南",
"officialLabel": "打开 Discord 开发者后台",
"tryIt": "在服务器中提及机器人,或向它发送私信。",
"summary": "启用只会打开 Discord 支持;还需要机器人令牌和服务器权限。",
"summary": "连接 Discord 需要机器人令牌,以及机器人在服务器中的相应权限。",
"steps": [
"在 Discord Developer Portal 中创建机器人并复制令牌。",
"将机器人邀请到服务器,并授予读取/发送消息及斜杠命令权限。",
@@ -5,7 +5,7 @@
"docsLabel": "開啟 Discord 設定指南",
"officialLabel": "開啟 Discord 開發者後台",
"tryIt": "在伺服器中提及機器人,或向它傳送私訊。",
"summary": "啟用只會開啟 Discord 支援;還需要機器人權杖和伺服器權限。",
"summary": "連接 Discord 需要機器人權杖,以及機器人在伺服器中的適當權限。",
"steps": [
"在 Discord Developer Portal 中建立機器人並複製權杖。",
"將機器人邀請到伺服器,並授予讀取/傳送訊息及斜線指令權限。",