Duplicated playground logic between guide and playground, two copies diverged
维护者通常 2 天内回复
评估
调研方向
Start by comparing the version sort and filter in GuideCompilerSettings.res with Playground.res around lines 1660-1686, then the Executing arm of CompilerManagerHook.res, GuideRuntimeImport.res line 44, and TryRoute.res lines 15-16. The issue names the duplicated pieces but does not say which copy should win or what shared module should hold them, so agree that with the maintainers before editing. Done would mean one shared implementation with the existing playground and guide behaviour unchanged.
由索引模型根据 Issue 内容生成。
描述
Version filter and sort (GuideCompilerSettings.res vs Playground.res:1660-1686; the playground's digit-concatenation sort misorders v12.10.0), import collector (GuideRuntimeTransform.res vs Babel.PlaygroundValidator), runtime-import mapping, console helpers, the TryRoute loader.
the runtime-import mapping in CompilerManagerHook.res (Executing arm) runs only on the playground's Run paths (Playground.res:1299,1347); the guide never reaches it and keeps its own copy, so only CdnMeta is actually shared (GuideRuntimeImport.res:44). Node.Process.Env has one consumer (TryRoute.res:15-16) and the guide re-declares the same variables.
Line numbers refer to master at ff3eac6e.
- 主要语言
- MDX
- 星标
- 1.9k
- 派生
- 261
- 平均合并
- 3 天 13 小时
- 30 天内合并 PR
- 37
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
rescript-lang/rescript-lang.org 的其他 Issue
-
Semantic drift analysis: results可能已有人在做 @fhammerschmidt 于 15 天前认领。 未关闭
rescript-lang/rescript-lang.org#1421 · 1 条评论 · 已指派 1 人 ·
维护者通常 2 天内回复
-
Guide compiler is unpinned and lessons are never validated可能已有人在做 @fhammerschmidt 于 14 天前认领。 未关闭
难度 4/5 3-5 天 新手友好度 35/100
rescript-lang/rescript-lang.org#1405 ·
维护者通常 2 天内回复
-
enhancement playground react
难度 5/5 一周以上 新手友好度 35/100
rescript-lang/rescript-lang.org#1377 ·
维护者通常 2 天内回复
-
enhancement react syntax lookup
难度 5/5 一周以上 新手友好度 30/100
rescript-lang/rescript-lang.org#1376 ·
维护者通常 2 天内回复
-
enhancement react
难度 5/5 一周以上 新手友好度 35/100
rescript-lang/rescript-lang.org#1375 ·
维护者通常 2 天内回复
查看 rescript-lang/rescript-lang.org 的全部 Issue
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 68/100
GDQuest/learn-gdscript#1452 ·
-
enhancement
难度 2/5 1-3 小时 新手友好度 75/100
chenasraf/nextcloud-forum#348 ·
-
`WebGL: INVALID_VALUE: uniform3fv: no array` with shadows on and a BLEND glTF material on AMD radeonsi (uniform array with zero locations)可能已有人在做 @hanneslipusch 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 88/100
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 90/100
EasyCorp/EasyAdminBundle#7875 ·
维护者通常 2 天内回复
-
bug priority: medium Review effort [1-5]: 3 status: needs-triage type: bug
难度 2/5 1-3 小时 新手友好度 82/100
carlos-emr/carlos#5258 ·
维护者通常 1 天内回复