Repository navigation
管理后台邮件页:把「发送测试邮件」移到「保存」按钮下方 - #129
Merged
todosdev[bot] merged 1 commit intoOct 18, 2026
Merged
Conversation
Relocate the "send test email" section in AdminEmailPage so the page order becomes config section → save button → test email section. Pure reorder; save/submit behavior and the test-email request logic are unchanged. Checkpoint: vaUmFNx2MUiwLEMexpQWt
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.
Summary
Changes
web/src/pages/admin/AdminEmailPage.tsxtype="submit"按钮 +saveMsg提示)上移到邮件服务配置区块之后。emailProvider !== "none"条件包裹的卡片:收件人输入框、type="button"发送按钮、成功/错误提示)移到保存按钮行之后,仍位于<form>内。type="submit"、测试邮件按钮仍为type="button";测试邮件仍调用POST /admin/system/settings/test-email,请求中禁用、收件人为空时禁用等逻辑均保留;区块卡片样式与space-y-6间距不变。Testing
pnpm install --frozen-lockfile✅pnpm format:check✅pnpm typecheck✅(web + worker 均通过)pnpm build✅pnpm lint✅(仅 2 条 warning + 1 条 info,位于未改动的PasswordPromptDialog.tsx与worker/src/routes/items.ts,为既有问题,与本次改动无关)本地未起开发环境逐一手动验证页面顺序(改动的语法与构建均已通过校验,逻辑为纯重排,行为不变)。