UI: 按 A 布局精修控制台、外观设置与 OAuth 页面 - #3
Merged
Merged
Conversation
Polish the shared desktop shell, four-column overview and 40/60 auth layout. Add local SVG presentation helpers and functional theme preview cards while preserving account-scoped preferences, read-only APIs, CSRF forms and CSP. Keep metrics source-backed and add presentation regression tests.
Owner
Author
CI 复核结果提交仍为
保留首轮异常记录,不把重跑后成功解释为首轮没有问题:
这次没有为获得绿灯放宽后端安全逻辑或修改上述测试。建议后续单独改善这些时序/资源相关测试的确定性。本 PR 仍未合并、未部署;实际域名和浏览器的注册/TOTP/ChatGPT OAuth 体验需要部署前复核。 |
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.
本次实现
将已确认的 Layout A 从设计参考落实到现有
web/console展示层,不重做认证或数据接口。保持不变
账户隔离、OAuth/PKCE、CSRF、CSP、回调白名单、只读 MCP/BFF、源版本分页、延迟响应账户校验、现有权限禁用状态、handoff 和生产配置均未改动。无新增运行依赖、外部字体/CDN、数据库迁移、真实凭证或个人数据。未合并或部署。
验证
已在本次工作环境执行:
node --check。node --test services/oauth/test/console-ui.test.mjs services/oauth/test/console-layout-a.test.mjs:16 passed,0 failed / skipped。**验证限制:**本地仅 Node 22.16.0,未在本地运行项目要求 Node 24+ 的完整后端/OAuth 套件。容器无法完整克隆仓库;所需原始前端文件与现有 UI 测试均按远端 Git blob SHA 核验一致。浏览器测试使用内存加载展示代码和合成 fetch,不是实际 ES module/CSP 加载、真实注册/TOTP/OAuth 或生产多账户验收。完整项目结果以此 PR 的 CI 为准;截图只使用合成记录。
建议复核
在支持的 Node 24+ 环境跑仓库现有隔离套件;随后通过已有
services/oauth/test/helpers/console-preview.mjs合成账户夹具检查真实资源加载、登录与 OAuth 页面。未批准管理动作仍保持关闭。