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

+16
View File
@@ -21,6 +21,21 @@ SETUP_SPEC = ChannelSetupSpec(
"allowFrom": field("list"),
"verifyDkim": field("bool", default=True),
"verifySpf": field("bool", default=True),
"imapMailbox": field(default="INBOX"),
"imapUseSsl": field("bool", default=True),
"smtpUseTls": field("bool", default=True),
"smtpUseSsl": field("bool", default=False),
"autoReplyEnabled": field("bool", default=True),
"markSeen": field("bool", default=True),
"postAction": field("enum", choices={"delete", "move"}),
"postActionMoveMailbox": field(),
"postActionExpunge": field("bool", default=False),
"postActionIgnoreSkipped": field("bool", default=True),
"maxBodyChars": field("int", default=12000),
"subjectPrefix": field(default="Re: "),
"allowedAttachmentTypes": field("list"),
"maxAttachmentSize": field("int", default=2_000_000),
"maxAttachmentsPerEmail": field("int", default=5),
},
required=required_fields(
"consentGranted",
@@ -33,6 +48,7 @@ SETUP_SPEC = ChannelSetupSpec(
),
official_url="https://support.google.com/accounts/answer/185833",
validator=validate,
verifies_connection=True,
)
PLUGIN = ChannelPlugin(