feat(shared): 提取 Trump 共享模块 + SettingsPage 拆分#219
Merged
Conversation
…38 lines) Extract 27 settings sections, 12 primitives, 13 domain cards, and shared utilities from the monolithic SettingsPage.tsx into a modular directory structure under `src/components/settings/`. Pure file split — no logic, CSS, or behavior changes.
从 dev/trump 提取(原提交: 8a289ff, 47fb14f, 84ebd34, ee69349)。 workbenchState: Redux-style reducer for 9 entity collections, 15+ event types workbenchDataMode: 5 data modes (live/offline/mock/loading/unavailable) hubClient: Typed Hub REST client factory with auth, IM, devices, agents surfaceMetadata: App surface registry with status tracking Co-Authored-By: Xavier-Trump <2933243959@qq.com>
DeliciousBuding
added a commit
that referenced
this pull request
May 27, 2026
This was referenced May 27, 2026
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.
来源
从
dev/trump分支(Xavier-Trump)提取的清洁代码。原 PR: #192-#201, #215 — 全部 MERGED 到 dev/trump,未曾合入主线。
包含
共享模块(全新文件,零冲突)
workbenchState.ts— Redux-style reducer,管理 9 个实体集合,15+ 事件类型workbenchDataMode.ts— 5 种数据模式分类器(live/offline/mock/loading/unavailable)hubClient.ts— 类型化 Hub REST client factory,覆盖 auth/IM/devices/agents/OIDCsurfaceMetadata.ts— 应用表面元数据注册表SettingsPage 拆分
审查结论(7 agent 并行审查)
验证
Co-Authored-By: Xavier-Trump 2933243959@qq.com