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 Matrix setup",
"officialLabel": "Open Matrix clients",
"tryIt": "Invite the Matrix account into a room and send a test message.",
"summary": "Matrix needs a homeserver account and either password login or an access token.",
"summary": "Enter your Matrix homeserver and sign in with a password or access token.",
"steps": [
"Create or choose a Matrix account for nanobot.",
"Enter the homeserver, user ID, and either password or access-token credentials.",
@@ -27,7 +27,7 @@
},
"accessToken": {
"label": "Access token",
"placeholder": "Optional token login",
"placeholder": "Enter an access token",
"help": "Preferred when your Matrix client exposes an access token."
},
"deviceId": {
@@ -1,19 +1,19 @@
{
"description": "Usa nanobot desde salas de Matrix.",
"requirements": "Homeserver, token de cuenta y acceso a salas",
"requirements": "Servidor de la cuenta, credenciales de acceso y permisos para las salas",
"setup": {
"docsLabel": "Abrir guía de Matrix",
"officialLabel": "Abrir lista de clientes Matrix",
"tryIt": "Invita la cuenta de Matrix a una sala y envía un mensaje de prueba.",
"summary": "Matrix necesita una cuenta de homeserver y acceso por contraseña o token.",
"summary": "Introduce el servidor de tu cuenta de Matrix e inicia sesión con una contraseña o un token de acceso.",
"steps": [
"Crea o elige una cuenta de Matrix para nanobot.",
"Introduce el homeserver, ID de usuario y contraseña o token de acceso.",
"Introduce el servidor de tu cuenta, el ID de usuario y la contraseña o el token de acceso.",
"Guarda y activa Matrix, invita la cuenta a una sala y envía un mensaje de prueba."
],
"fields": {
"homeserver": {
"label": "Homeserver",
"label": "Servidor de la cuenta",
"placeholder": "https://matrix.org"
},
"userId": {
@@ -27,7 +27,7 @@
},
"accessToken": {
"label": "Token de acceso",
"placeholder": "Acceso opcional con token",
"placeholder": "Introduce un token de acceso",
"help": "Preferible si tu cliente Matrix muestra un token de acceso."
},
"deviceId": {
@@ -40,7 +40,7 @@
"choices": {
"mention": "Solo menciones",
"open": "Todos los mensajes",
"allowlist": "Lista permitida"
"allowlist": "Lista de permitidos"
}
}
}
@@ -5,7 +5,7 @@
"docsLabel": "Ouvrir le guide Matrix",
"officialLabel": "Ouvrir la liste des clients Matrix",
"tryIt": "Invitez le compte Matrix dans un salon et envoyez un message test.",
"summary": "Matrix nécessite un compte sur un serveur d’accueil et une connexion par mot de passe ou jeton d’accès.",
"summary": "Saisissez le serveur de votre compte Matrix et connectez-vous avec un mot de passe ou un jeton d’accès.",
"steps": [
"Créez ou choisissez un compte Matrix pour nanobot.",
"Saisissez le serveur, l’ID utilisateur et le mot de passe ou le jeton d’accès.",
@@ -27,7 +27,7 @@
},
"accessToken": {
"label": "Jeton d’accès",
"placeholder": "Connexion facultative par jeton",
"placeholder": "Saisir un jeton d’accès",
"help": "À privilégier si votre client Matrix expose un jeton d’accès."
},
"deviceId": {
@@ -1,19 +1,19 @@
{
"description": "Gunakan nanobot dari ruang Matrix.",
"requirements": "Homeserver, token akun, dan akses ruang",
"requirements": "Server akun, kredensial, dan akses ruang",
"setup": {
"docsLabel": "Buka panduan Matrix",
"officialLabel": "Buka daftar klien Matrix",
"tryIt": "Undang akun Matrix ke ruang dan kirim pesan uji.",
"summary": "Matrix memerlukan akun homeserver dan login dengan kata sandi atau token akses.",
"summary": "Masukkan server akun Matrix, lalu masuk dengan kata sandi atau token akses.",
"steps": [
"Buat atau pilih akun Matrix untuk nanobot.",
"Masukkan homeserver, ID pengguna, dan kata sandi atau token akses.",
"Masukkan server akun, ID pengguna, serta kata sandi atau token akses.",
"Simpan dan aktifkan Matrix, undang akun ke ruang, lalu kirim pesan uji."
],
"fields": {
"homeserver": {
"label": "Homeserver",
"label": "Server akun",
"placeholder": "https://matrix.org"
},
"userId": {
@@ -27,7 +27,7 @@
},
"accessToken": {
"label": "Token akses",
"placeholder": "Login token opsional",
"placeholder": "Masukkan token akses",
"help": "Disarankan jika klien Matrix menyediakan token akses."
},
"deviceId": {
@@ -38,7 +38,7 @@
"groupPolicy": {
"label": "Perilaku grup",
"choices": {
"mention": "Hanya sebutan",
"mention": "Hanya saat disebut",
"open": "Semua pesan",
"allowlist": "Daftar izin"
}
@@ -5,7 +5,7 @@
"docsLabel": "Matrix 設定ガイドを開く",
"officialLabel": "Matrix クライアント一覧を開く",
"tryIt": "Matrix アカウントをルームに招待し、テストメッセージを送信します。",
"summary": "Matrix にはホームサーバーのアカウントと、パスワードまたはアクセストークンが必要です。",
"summary": "Matrix アカウントのホームサーバーを入力し、パスワードまたはアクセストークンでログインします。",
"steps": [
"nanobot 用の Matrix アカウントを作成または選択します。",
"ホームサーバー、ユーザー ID、パスワードまたはアクセストークンを入力します。",
@@ -27,7 +27,7 @@
},
"accessToken": {
"label": "アクセストークン",
"placeholder": "任意のトークンログイン",
"placeholder": "アクセストークンを入力",
"help": "Matrix クライアントでアクセストークンを取得できる場合に推奨します。"
},
"deviceId": {
@@ -5,7 +5,7 @@
"docsLabel": "Matrix 설정 가이드 열기",
"officialLabel": "Matrix 클라이언트 목록 열기",
"tryIt": "Matrix 계정을 룸에 초대하고 테스트 메시지를 보내세요.",
"summary": "Matrix에는 홈서버 계정과 비밀번호 또는 액세스 토큰이 필요합니다.",
"summary": "Matrix 계정의 홈서버를 입력하고 비밀번호 또는 액세스 토큰으로 로그인하세요.",
"steps": [
"nanobot용 Matrix 계정을 만들거나 선택하세요.",
"홈서버, 사용자 ID, 비밀번호 또는 액세스 토큰을 입력하세요.",
@@ -27,7 +27,7 @@
},
"accessToken": {
"label": "액세스 토큰",
"placeholder": "선택적 토큰 로그인",
"placeholder": "액세스 토큰 입력",
"help": "Matrix 클라이언트에서 토큰을 확인할 수 있다면 권장합니다."
},
"deviceId": {
@@ -1,19 +1,19 @@
{
"description": "Use o nanobot em salas do Matrix.",
"requirements": "Homeserver, token da conta e acesso às salas",
"requirements": "Servidor da conta, credenciais e acesso às salas",
"setup": {
"docsLabel": "Abrir guia do Matrix",
"officialLabel": "Abrir lista de clientes Matrix",
"tryIt": "Convide a conta Matrix para uma sala e envie uma mensagem de teste.",
"summary": "O Matrix precisa de uma conta no homeserver e login por senha ou token de acesso.",
"summary": "Informe o servidor da sua conta Matrix e entre com uma senha ou um token de acesso.",
"steps": [
"Crie ou escolha uma conta Matrix para o nanobot.",
"Informe o homeserver, ID de usuário e senha ou token de acesso.",
"Informe o servidor da conta, o ID de usuário e a senha ou o token de acesso.",
"Salve e ative o Matrix, convide a conta para uma sala e envie uma mensagem de teste."
],
"fields": {
"homeserver": {
"label": "Homeserver",
"label": "Servidor da conta",
"placeholder": "https://matrix.org"
},
"userId": {
@@ -27,7 +27,7 @@
},
"accessToken": {
"label": "Token de acesso",
"placeholder": "Login opcional por token",
"placeholder": "Informe um token de acesso",
"help": "Preferível quando o cliente Matrix fornece um token."
},
"deviceId": {
@@ -1,19 +1,19 @@
{
"description": "Sử dụng nanobot từ các phòng Matrix.",
"requirements": "Homeserver, token tài khoản và quyền truy cập phòng",
"requirements": "Máy chủ tài khoản, thông tin đăng nhập và quyền truy cập phòng",
"setup": {
"docsLabel": "Mở hướng dẫn Matrix",
"officialLabel": "Mở danh sách ứng dụng Matrix",
"tryIt": "Mời tài khoản Matrix vào phòng và gửi tin nhắn thử.",
"summary": "Matrix cần tài khoản homeserver và đăng nhập bằng mật khẩu hoặc token truy cập.",
"summary": "Nhập máy chủ của tài khoản Matrix rồi đăng nhập bằng mật khẩu hoặc token truy cập.",
"steps": [
"Tạo hoặc chọn tài khoản Matrix cho nanobot.",
"Nhập homeserver, ID người dùng và mật khẩu hoặc token truy cập.",
"Nhập máy chủ tài khoản, ID người dùng và mật khẩu hoặc token truy cập.",
"Lưu và bật Matrix, mời tài khoản vào phòng rồi gửi tin nhắn thử."
],
"fields": {
"homeserver": {
"label": "Homeserver",
"label": "Máy chủ tài khoản",
"placeholder": "https://matrix.org"
},
"userId": {
@@ -27,7 +27,7 @@
},
"accessToken": {
"label": "Token truy cập",
"placeholder": "Đăng nhập token tùy chọn",
"placeholder": "Nhập token truy cập",
"help": "Nên dùng khi ứng dụng Matrix cung cấp token truy cập."
},
"deviceId": {
@@ -5,7 +5,7 @@
"docsLabel": "打开 Matrix 配置指南",
"officialLabel": "打开 Matrix 客户端列表",
"tryIt": "将 Matrix 账户邀请进房间并发送一条测试消息。",
"summary": "Matrix 需要主服务器账户,并使用密码或访问令牌登录。",
"summary": "填写 Matrix 账户所在的服务器,并使用密码或访问令牌登录。",
"steps": [
"为 nanobot 创建或选择一个 Matrix 账户。",
"填写主服务器、用户 ID,以及密码或访问令牌凭据。",
@@ -13,7 +13,7 @@
],
"fields": {
"homeserver": {
"label": "主服务器",
"label": "账户服务器",
"placeholder": "https://matrix.org"
},
"userId": {
@@ -27,7 +27,7 @@
},
"accessToken": {
"label": "访问令牌",
"placeholder": "可选的令牌登录",
"placeholder": "输入访问令牌",
"help": "如果 Matrix 客户端可以显示访问令牌,建议使用该方式。"
},
"deviceId": {
@@ -5,7 +5,7 @@
"docsLabel": "開啟 Matrix 設定指南",
"officialLabel": "開啟 Matrix 用戶端列表",
"tryIt": "將 Matrix 帳戶邀請進房間並傳送一則測試訊息。",
"summary": "Matrix 需要主伺服器帳戶,並使用密碼或存取權杖登入。",
"summary": "填入 Matrix 帳戶所在的伺服器,並使用密碼或存取權杖登入。",
"steps": [
"為 nanobot 建立或選擇一個 Matrix 帳戶。",
"填入主伺服器、使用者 ID,以及密碼或存取權杖憑證。",
@@ -13,7 +13,7 @@
],
"fields": {
"homeserver": {
"label": "主伺服器",
"label": "帳戶伺服器",
"placeholder": "https://matrix.org"
},
"userId": {
@@ -27,7 +27,7 @@
},
"accessToken": {
"label": "存取權杖",
"placeholder": "可選的權杖登入",
"placeholder": "輸入存取權杖",
"help": "若 Matrix 用戶端可顯示存取權杖,建議使用此方式。"
},
"deviceId": {