Repository navigation
ONE-26: Email 通知渠道每用户 SMTP 配置界面 - #136
Merged
Merged
Conversation
…el (ONE-26) Add smtp_host / smtp_port / smtp_username / smtp_password / smtp_from and from_name to the Email channel form in Channel Management, keeping the frozen notification_configs.email_config contract: - smtp_port stays a string on input and in the PUT body. - smtp_password uses a password input; the API echoes •••••• and the value is submitted back unchanged (or empty) so the backend keeps the old one. - Email field labels/hints are localized through new channels.* keys in zh.json / en.json; other channels keep their existing labels. - Values are trimmed before submitting; the Email card explains that it is independent of Settings → Email Service (system mail untouched). Co-authored-by: multica-agent <github@multica.ai>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ONE-26 前端:Email 通知渠道每用户 SMTP 配置界面。
smtp_host、smtp_port、smtp_username、smtp_password、smtp_from,并补上from_name(契约字段)。smtp_port输入与提交均为字符串(inputMode=numeric仅改善移动端键盘)。smtp_password为 password 输入:GET 回显••••••,原样(或空)提交即保留旧值,前端不做明文回显。channels.*,zh/en 各 8 条),其他渠道保持原样。验证:
cd web && pnpm build(tsc -b + vite build)通过;biome lint .无新增问题;headless Chrome 手测见子单评论。