sync(zh): 上游交互图表系统全量同步(133 课 figure + 13 渲染模块)#24
Merged
Conversation
上游 PR #279(b963cf63..148de36)curriculum-wide interactive figure system: - A 类:133 个课程 docs/zh.md 各插入 1 个 ```figure 块,锚点与上游 en.md 一致(108 个在「动手构建」前、23 个在「实际使用」前、 2 个在「架构」前);figure 名属代码不翻。 debugging-neural-networks 类型 Practice→Build 随上游。 - B 类:13 个新 figures-*.js 渲染模块 + lesson-figures.js 升级 (LF 工具集 svgEl/select/clamp/lerp/raf + 新渲染器)1:1 照搬上游。 - C 类:lesson.html 仅手动加 13 个 script 引用 + 版本号 20260610e, zh 特化(findH2/Analytics/SEO)未动。 - 跳过上游 data.js 构建产物,本仓 node site/build.js 重建。 - .sync-upstream-base 推进至 148de36。 验证:figure 名序列 en/zh 全 133 文件一致;137 个 figure 名全部有 渲染器;本地冒烟页 137/137 挂载渲染成功;build --check 503 课通过。
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
概要
同步上游 PR #279(
b963cf63..148de366)curriculum-wide interactive figure system —— 134 widgets / 13 modules。改动
docs/zh.md各插 1 个```figure块,锚点与上游 en.md 严格一致:108 个在「动手构建」前、23 个在「实际使用」前、2 个在「架构」前(capstone 27/28)。figure 名属代码不翻。另随上游把 debugging-neural-networks 的**类型:** Practice → Buildsite/figures-*.js(约 5.9k 行)+lesson-figures.js升级版(LF 工具集导出 + 新渲染器),与上游 byte 级一致lesson.html仅手动追加 13 个 script 引用、版本号20260607a → 20260610e;findH2 / Vercel Analytics / 动态 SEO 等 zh 特化未动site/data.js构建产物(本仓node site/build.js重建,仅时间戳变化).sync-upstream-base推进至148de366验证
MOUNTED=137 FAIL=0,widget(滑杆/SVG 动画)真实交互正常node site/build.js --check通过(503 课 / 20 阶段,全部计数一致)attention-matrix(存量 figure)正常渲染零报错;新版 lesson-figures.js 的 mount/fallback 逻辑与旧版逐行一致没验证到的(fail-loud)