Skip to content

refactor(web): 接入 FastUI npm 设计基础与设置控件 - #11

Merged
HsukqiLee merged 9 commits into
mainfrom
feat/shared-foundations
Nov 11, 2026
Merged

HsukqiLee merged 9 commits into
mainfrom
feat/shared-foundations

Conversation

@HsukqiLee

@HsukqiLee HsukqiLee commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

最新 main 适配结果(2026-11-11)

  • 当前Head:29578f9cc02c7031c58065034c480a23a878f503
  • 已整合main:3f99d405f990af6d177f4affb316da5c8c25a0c9
  • 采用保留历史的普通合并与非强制推送;后续main历史改写已通过新旧tip完全相同的tree证明后,仅接入历史,未改变验证后的文件内容。
  • 已重新检查GitHub合并状态,无文本冲突;这不等同于自动合入/部署许可。

保留最新工作台、字体/typography、团队/新建论文、项目浏览器、LaTeX/MCP、FastDeploy v2.0.2及SDK0.1.2。483个远程测试和validate通过;完整CI在smoke等待main已移除的“溯源记录”按钮超时,保持Draft,不宣称Checks全绿。

原正文中的“存在冲突/待升级旧SDK”等为创建时快照,已由本节更新;保留历史以便审阅。当前实际Checks仍以GitHub页面为准。共享npm包仍精确0.1.2,独立审计未提交修复未擅自混入。


摘要

  • 使用 npm FastUI foundation/react 0.1.2,替换重复 palette 和 vscrui token 映射。

  • 项目设置页直接消费共享 Button/TextField,保持受控表单和保存流程。

  • 浏览器入口初始化唯一主题 controller;无 DOM 的 Node 导入不访问 document。

依赖与范围

Refs #10。依赖为已公开 npm 0.1.2,框架包内部精确依赖同版 foundation;包含的静态制品按版本/摘要供应。

不包含其他产品源码、凭据、私有工程素材或非 Fast 系服务。未合并或部署。

已执行验证

  • Web 83 项测试、类型检查和生产构建通过。

  • 真实 Chromium 冷启动、跨标签/system、设置保存及输入节点/焦点/草稿保持通过。

  • npm 精确版本与锁的干净安装及运行字节一致性通过独立复核。

上述结果针对已评审共享分支的固定基线;PR merge-ref 检查以本次 GitHub Checks 为准,不把旧结果说成最新 main 整合结果。

合并前关注

  • 历史分支全套 CI 有两份 evaluation fixture 缺失;当前 main 已补齐,旧失败不能冒充整合后的结果。

  • main 已加入新工作台、字体、LaTeX/MCP、项目浏览器和 SDK 0.1.2;本 PR 必须在整合时保留这些成果。

Draft:已确认与当前 main 存在冲突

以下为真实三方 merge-tree 检查结果。此 PR 用于保留可审阅改动;解决冲突、保留最新产品设计/认证语义、重跑整合回归后才能 Ready/Merge。本次未自动 rebase/merge 或选择一边覆盖。

  • apps/web/src/components/workspace/ProjectSettingsEditor.tsx

  • apps/web/src/main.tsx

  • apps/web/src/styles.css

  • apps/web/src/styles/tokens.css

固定审阅坐标

  • Base main:2d2f92306c6cac60d496f0f84bc8c7d1087c5887

  • Head:7b9bb6379e0766b08eb60f599a0a82e1f9079eaf

全部待合提交:


378f3e923b36448655d1f4f08d222ed6414dfd9c refactor: consume shared FastUI palette and settings controls

3efcf38f051ff19e4d09092042c45fa4c2db4d7b fix: initialize shared theme at the browser entry point

7b9bb6379e0766b08eb60f599a0a82e1f9079eaf chore: consume verified npm UI and transport releases

完整基线差异概况:


apps/web/package.json                              |   5 +-

 apps/web/scripts/fastui-browser.mjs                | 131 ++++++++++++++++

 apps/web/src/App.tsx                               |   2 -

 .../workspace/ProjectSettingsEditor.module.css     |   1 +

 .../components/workspace/ProjectSettingsEditor.tsx |  27 ++--

 apps/web/src/lib/theme.test.ts                     |  19 +++

 apps/web/src/lib/theme.ts                          |  26 ++--

 apps/web/src/main.tsx                              |   6 +

 apps/web/src/styles.css                            |  91 ++++--------

 apps/web/src/styles/tokens.css                     | 165 +++------------------

 bun.lock                                           |   6 +

 11 files changed, 251 insertions(+), 228 deletions(-)

Use immutable public release artifacts and retain product-specific behavior. Independent review and real release installation recorded in the sharing handoff.
@HsukqiLee

Copy link
Copy Markdown
Contributor Author

当前 main 在开 PR 前后仍持续推进;本 PR 已保持 Draft,并明确记录 ProjectSettingsEditor/main/styles/tokens 冲突。必须保留最新主分支的新工作台、项目浏览器、编译/MCP 与 SDK 0.1.2;未自动选择一边或强推。Checks 中已有失败也需在整合后的 merge-ref 重验,不能沿用旧基线的成功或失败结论。

HsukqiLee and others added 5 commits November 11, 2026 22:42
Preserve current product behavior, FastCAS 0.1.2 and the published FastUI integration. Independently reviewed against main 78c2237 and PR head 7b9bb63.
Preserve current product behavior, FastCAS 0.1.2 and the published FastUI integration. Independently reviewed against main ac60b24 and PR head 92aaa2e.
Preserve current product behavior, FastCAS 0.1.2 and the published FastUI integration. Independently reviewed against main 95b5f58 and PR head 72df4b4.
Remote main 3f99d40 has exactly the same tree 5b6fc9e as independently reviewed main 95b5f58. Preserve the reviewed integration content without any file changes.
@HsukqiLee

Copy link
Copy Markdown
Contributor Author

最新 main 适配结果(2026-11-11)

  • 当前Head:29578f9cc02c7031c58065034c480a23a878f503
  • 已整合main:3f99d405f990af6d177f4affb316da5c8c25a0c9
  • 采用保留历史的普通合并与非强制推送;后续main历史改写已通过新旧tip完全相同的tree证明后,仅接入历史,未改变验证后的文件内容。
  • 已重新检查GitHub合并状态,无文本冲突;这不等同于自动合入/部署许可。

保留最新工作台、字体/typography、团队/新建论文、项目浏览器、LaTeX/MCP、FastDeploy v2.0.2及SDK0.1.2。483个远程测试和validate通过;完整CI在smoke等待main已移除的“溯源记录”按钮超时,保持Draft,不宣称Checks全绿。

原正文中的“存在冲突/待升级旧SDK”等为创建时快照,已由本节更新;保留历史以便审阅。当前实际Checks仍以GitHub页面为准。共享npm包仍精确0.1.2,独立审计未提交修复未擅自混入。

@HsukqiLee
HsukqiLee marked this pull request as ready for review November 11, 2026 18:00
@HsukqiLee
HsukqiLee merged commit 6fe8672 into main Nov 11, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants