[dedup] workshop-explanatory-diagrams.md + workshop-ui-screenshots.md: duplicate "Render and QA" SVG instructions (sim=0.771)
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 72/100
- Issue 类型
- 文档
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- github-actions, javascript, playwright
调研方向
阅读.github/workflows/guidelines.md和提到的两个workflow文件,对比共用的SVG渲染说明与各workflow的具体指导。将共用的浅色和深色模式Playwright检查、文本容纳检查以及check-svg-visual-language.js步骤移至指南,并将图表和截图的具体说明保留在各自的文件中。运行gh aw compile,并确认已生成更新后的.lock.yml文件。
由索引模型根据 Issue 内容生成。
描述
Duplicated sections
.github/workflows/workshop-explanatory-diagrams.md— Workshop Explanatory Diagram Generator > Render and QA the Diagram.github/workflows/workshop-ui-screenshots.md— Workshop UI Screenshot Generator > Render and QA Generated SVGs
Overlap
Start a local static file server from the repository root so workshop/images/ is reachable on (127.0.0.1/redacted)
Use Playwright with colorScheme: "light" to render the exact <picture> block and confirm its currentSrc ends with -light.svg.
Repeat with colorScheme: "dark" and confirm currentSrc ends with -dark.svg.
If any text bleeds out of its box, fix both SVGs ... Re-render ... Run scripts/check-svg-visual-language.js with SVG_FILES set ...
Recommended consolidation
- Canonical home:
.github/workflows/guidelines.md, in the "Theme-aware workshop images" area, which already holds shared SVG rules. A shared import would also work. - Move the common Playwright light/dark render, text-containment check and
check-svg-visual-language.jssteps there. - Keep in each workflow only what is specific to it: diagrams (boxes, chips, badges, callouts) vs UI screenshots (buttons, tabs, dialogs, panels).
- Recompile with
gh aw compileand commit the updated.lock.ymlfiles.
This issue is ready for an automated agent to resolve.
Generated by 🧹 Markdown Dedup · copilot · auto · ~18 AIC · ⌖ ~1 AIC · ⊞ 4.5K · ◷
- expires on Dec 2, 2026, 5:37 AM UTC
- 主要语言
- JavaScript
- 星标
- 61
- 派生
- 45
- 平均合并
- 11 小时 50 分钟
- 30 天内合并 PR
- 12
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
githubnext/gh-aw-workshop 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 85/100
githubnext/gh-aw-workshop#6379 ·
维护者通常 1 天内回复
-
feedback simulation workshop
难度 2/5 1-3 小时 新手友好度 76/100
githubnext/gh-aw-workshop#6376 ·
维护者通常 1 天内回复
-
curriculum documentation quality
难度 2/5 1-3 小时 新手友好度 76/100
githubnext/gh-aw-workshop#6363 ·
维护者通常 1 天内回复
-
curriculum documentation quality
难度 2/5 1-3 小时 新手友好度 68/100
githubnext/gh-aw-workshop#6362 ·
维护者通常 1 天内回复
-
curriculum documentation quality
难度 2/5 1-3 小时 新手友好度 78/100
githubnext/gh-aw-workshop#6357 ·
维护者通常 1 天内回复
查看 githubnext/gh-aw-workshop 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
salesforce/sa11y#1022 ·
-
check:passed logos:edit
难度 1/5 1 小时以内 新手友好度 66/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
trezor/trezor-user-env#421 ·
-
难度 2/5 1-3 小时 新手友好度 67/100
-
Mend: dependency security vulnerability
难度 2/5 1-3 小时 新手友好度 65/100
ManageIQ/manageiq-ui-service#2259 ·
维护者通常 1 天内回复