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

+86 -18
View File
@@ -1,27 +1,21 @@
{
"displayName": "Correo electrónico",
"description": "Permite que nanobot reciba y responda correos.",
"requirements": "Bandeja IMAP, envío SMTP, contraseña de app y consentimiento explícito",
"setup": {
"docsLabel": "Abrir guía de Email",
"officialLabel": "Abrir guía de contraseñas de app",
"tryIt": "Envía un correo de prueba al buzón conectado.",
"summary": "Email lee mensajes por IMAP y responde por SMTP. Usa un buzón dedicado y da tu consentimiento antes de activarlo.",
"steps": [
"Crea un buzón dedicado y, si hace falta, una contraseña de app.",
"Elige un proveedor o introduce manualmente IMAP y SMTP.",
"Da tu consentimiento, guarda y activa Email; después envía un mensaje de prueba."
],
"presetLabel": "Relleno rápido",
"sections": {
"receiving": "Recepción de correo",
"sending": "Envío de correo"
},
"presets": {
"gmail": "Gmail",
"outlook": "Outlook",
"icloud": "iCloud",
"custom": "Personalizado"
"icloud": "iCloud"
},
"fields": {
"consentGranted": {
"label": "Permitir que nanobot lea y envíe correos",
"help": "Activa esta opción para permitir el acceso al buzón. Comprueba que sea el buzón dedicado al bot.",
"choices": {
"true": "Concedido",
"false": "No concedido"
@@ -37,8 +31,7 @@
},
"imapPassword": {
"label": "Contraseña IMAP",
"placeholder": "Contraseña de app",
"help": "Usa una contraseña de app si el proveedor la exige."
"placeholder": "Contraseña de app"
},
"smtpHost": {
"label": "Host SMTP",
@@ -50,8 +43,7 @@
},
"smtpPassword": {
"label": "Contraseña SMTP",
"placeholder": "Contraseña de app",
"help": "Normalmente es la misma que para IMAP."
"placeholder": "Contraseña de app"
},
"imapPort": {
"label": "Puerto IMAP",
@@ -71,8 +63,7 @@
},
"allowFrom": {
"label": "Remitentes permitidos",
"placeholder": "Correos separados por comas",
"help": "Déjalo vacío para exigir vinculación previa."
"placeholder": "Correos separados por comas"
},
"verifyDkim": {
"label": "Verificar DKIM",
@@ -87,6 +78,83 @@
"true": "Activado",
"false": "Desactivado"
}
},
"imapMailbox": {
"label": "buzón IMAP"
},
"imapUseSsl": {
"label": "SSL IMAP",
"choices": {
"true": "encendido",
"false": "Apagado"
}
},
"smtpUseTls": {
"label": "TLS SMTP",
"choices": {
"true": "encendido",
"false": "Apagado"
}
},
"smtpUseSsl": {
"label": "SSL SMTP",
"choices": {
"true": "encendido",
"false": "Apagado"
}
},
"autoReplyEnabled": {
"label": "Respuestas automáticas",
"choices": {
"true": "encendido",
"false": "Apagado"
}
},
"markSeen": {
"label": "Marcar como leído",
"choices": {
"true": "encendido",
"false": "Apagado"
}
},
"postAction": {
"label": "Después del procesamiento",
"choices": {
"delete": "Eliminar",
"move": "Mover"
}
},
"postActionMoveMailbox": {
"label": "Mover al buzón"
},
"postActionExpunge": {
"label": "Aplicar permanentemente la acción",
"choices": {
"true": "encendido",
"false": "Apagado"
}
},
"postActionIgnoreSkipped": {
"label": "Ignorar mensajes omitidos",
"choices": {
"true": "encendido",
"false": "Apagado"
}
},
"maxBodyChars": {
"label": "Longitud máxima del cuerpo"
},
"subjectPrefix": {
"label": "Prefijo del asunto de respuesta"
},
"allowedAttachmentTypes": {
"label": "Tipos de archivos adjuntos permitidos"
},
"maxAttachmentSize": {
"label": "Tamaño máximo de archivo adjunto"
},
"maxAttachmentsPerEmail": {
"label": "Archivos adjuntos máximos"
}
}
}