feat(webui): improve setup flows across chat channels (NAN-112) (#5356)

* feat(webui): improve channel setup flows

* fix(webui): refine channel setup interactions (NAN-112)

* fix(webui): keep email setup sections channel-owned

* fix(webui): remove concrete channel details from shared components

* refactor(webui): remove unused channel setup resources

* fix(webui): finish channel-owned setup boundaries

* fix(webui): update channel switches optimistically

* test(channels): remove obsolete absence assertions

* fix(webui): flatten channel instance settings disclosure

* fix(webui): complete channel setup and connection flows

* fix(whatsapp): wait for session database release

* fix(webui): preserve scrolling channel controls

* fix(webui): stage channel connection checks

* fix(channels): align verification actions

* fix(email): expose connection checks

* fix(webui): align channel field actions

* fix(email): verify account credentials

* fix(wecom): bypass system proxy for websocket

* fix(channels): stabilize async connection cleanup

* fix(webui): autosave channel credentials

* fix(email): make provider presets non-destructive

* test(weixin): isolate persisted QR credentials
This commit is contained in:
chengyongru authored and GitHub committed 2026-09-11 15:22:14 +08:00
1 parent 3cc3012b3a
commit e8a29a0087
291 files changed
+12194 -3979

No files matched your search

+42 -24
View File
@@ -42,8 +42,8 @@
"description": "nanobot web UI — chat with your nanobot workspace."
},
"pairing": {
"title": "Pair a chat user",
"description": "Enter the pairing code shown in the chat.",
"title": "Pair your chat account",
"description": "Enter the pairing code you received in chat.",
"code": "Pairing code",
"matched": "Matched {{channel}}. Connecting...",
"expiresInline": "Code expires {{expires}}.",
@@ -983,7 +983,6 @@
"requires": "Requires: {{requirements}}",
"setUp": "Set up",
"setupGuide": "Setup guide",
"setupSummary": "Enable only turns on nanobot support. Add the platform credentials, then restart nanobot.",
"configKeys": "Config keys",
"enable": "Enable channel",
"disable": "Disable channel",
@@ -997,7 +996,8 @@
"open": "Open",
"checkedAndEnabled": "Checked and enabled.",
"checking": "Checking...",
"checkOnly": "Check only",
"help": "Help",
"checkOnly": "Check",
"commandCopied": "Command copied.",
"commandCopyFailed": "Could not copy command.",
"configuredInstances": "{{count}} instances configured",
@@ -1015,7 +1015,6 @@
"runtimeStarting": "Starting",
"runtimeStopped": "Not running",
"managedByWebui": "Managed by WebUI",
"officialGuide": "Official guide",
"optional": "Optional",
"providerPreset": "Provider",
"requiredSetup": "Required setup",
@@ -1024,21 +1023,51 @@
"savedSettings": "Settings saved.",
"saveSettings": "Save settings",
"selectChannel": "View {{name}} settings",
"setupSteps": "Next steps",
"showSecret": "Show secret",
"toggleChannel": "{{name}} channel",
"toggleInstance": "{{name}} instance",
"tryIt": "Try it",
"validationFailed": "Check the required setup before enabling.",
"completeSetupToEnable": "Complete the required setup below, then nanobot can enable this channel.",
"chooseCredentialMethod": "Choose one credential method",
"or": "or",
"fieldRequired": "Required to complete setup.",
"secretWillBeRemoved": "Will be removed",
"keepSavedSecret": "Keep saved credential",
"removeSavedSecret": "Remove saved credential",
"sections": {
"account": "Account",
"credentials": "Credentials",
"connection": "Connection",
"access": "Access",
"behavior": "Behavior",
"security": "Security"
},
"validation": {
"connected": "Connected",
"configured": "Configured manually",
"configured": "Not verified",
"needs_setup": "Needs setup",
"invalid": "Invalid",
"invalid": "Connection failed",
"unsupported": "Manual setup"
},
"configuredInstances_one": "{{count}} instance configured",
"configuredInstances_other": "{{count}} instances configured"
"configuredInstances_other": "{{count}} instances configured",
"validationMessages": {
"connected": "Connection verified.",
"unverified": "Connection not verified.",
"missing": "Complete the required fields.",
"invalid": "Connection check failed.",
"unsupported": "Connection testing is not supported for this channel yet.",
"present": "Filled in",
"required": "Required",
"manual": "Connection testing is not supported for this channel yet."
},
"search": "Search channels",
"filterEnabled": "Enabled",
"noResults": "No matching channels",
"install": "Install",
"installChannel": "Install {{name}}",
"noInstallNeeded": "No installation needed",
"installNeeded": "Requires dependencies"
},
"nanobotFeatures": {
"enabled": "Enabled",
@@ -1049,7 +1078,9 @@
"installSupport": "Install support",
"installConfirmTitle": "Install support for {{name}}?",
"installConfirmDescription": "nanobot will add what {{name}} needs, then turn it on. Continue?",
"installOnlyConfirmDescription": "nanobot will install what {{name}} needs. You can connect it after installation.",
"installConfirmAction": "Install and enable",
"installOnlyConfirmAction": "Install support",
"websocketRequired": "Required for WebUI",
"channelDisabled": "Channel is disabled",
"notEnabled": "Not enabled"
@@ -1114,20 +1145,7 @@
},
"channels": {
"api": "API",
"cli": "CLI",
"dingtalk": "DingTalk",
"discord": "Discord",
"email": "Email",
"feishu": "Feishu",
"matrix": "Matrix",
"msteams": "Microsoft Teams",
"qq": "QQ",
"slack": "Slack",
"telegram": "Telegram",
"wechat": "WeChat",
"wecom": "WeCom",
"weixin": "WeChat",
"whatsapp": "WhatsApp"
"cli": "CLI"
},
"schedule": {
"at": "At {{time}}",