Repository navigation
后台设置页:把「公开初始化页面」开关移到「检查并升级数据库」上方 - #130
Merged
todosdev[bot] merged 1 commit intoOct 18, 2026
Merged
Conversation
Reorder the "公开初始化页面" switch card to sit directly above the "检查并升级数据库" card on the admin settings page. Text, toggle behavior, save logic and i18n keys are unchanged; only JSX order moved. Checkpoint: FHmzv05cHhgdvf5WpfZzp
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
setup_page_enabled)移动到「检查并升级数据库」卡片正上方,使两者相邻。Changes
apps/web/src/pages/admin/AdminSettingsPage.tsx<Card>原样从「邮箱验证」之后移动至「检查并升级数据库」之前。handleSetupPageToggle、handleRunSetup及相关 state、i18n key 均未动。Testing
pnpm check— 101 个文件全部通过。pnpm typecheck— web、worker 两个包均成功。pnpm build— web、worker 均成功。pnpm test— web 44 个用例、worker 60 个用例全部通过。无生成的 dist/ 产物需重建。