[dedup] workshop-explanatory-diagrams.md + workshop-ui-screenshots.md: duplicate "Render and QA" SVG section (sim=0.771)

Open Beginner friendly
#6,045 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Active
Tech stack
github-actions, markdown, playwright
Domain
documentation

Research direction

Read the "Render and QA the Diagram" section in .github/workflows/workshop-explanatory-diagrams.md and the "Render and QA Generated SVGs" section in .github/workflows/workshop-ui-screenshots.md, then compare them with the existing "Theme-aware workshop images" section in .github/workflows/guidelines.md. Move the shared render-and-QA procedure into that canonical section, leave each workflow only its container-specific details plus a reference back, then run gh aw compile and commit the regenerated .lock.yml files. Done means both workflows still read correctly, the procedure exists once, and the compiled lock files match the sources.

Written by the indexing model from the issue text.

Description

dedup documentation
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 before continuing ...
Recommended consolidation
  • Canonical home: .github/workflows/guidelines.md (already holds "Theme-aware workshop images"), as a shared "Render and QA SVG pairs" section.
  • Replace the duplicated procedure in both workflow files with a short reference to that section, keeping only workflow-specific details (diagram containers: boxes/chips/badges/callouts vs. UI containers: buttons/tabs/dialogs/panels).
  • Recompile both workflows with gh aw compile and commit the .lock.yml files.

This issue is ready for an automated agent to resolve.

Generated by 🧹 Markdown Dedup · copilot · auto · ~19 AIC · ⌖ ~1 AIC · ⊞ 4.5K · ◷

  • expires on Nov 24, 2026, 5:30 AM UTC
Dominant language
JavaScript
Stars
61
Forks
43
Avg merge
10h 38m
Merged PRs (30d)
12

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

  • No Dockerfile or Docker Compose file
  • No pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from githubnext/gh-aw-workshop

All issues in githubnext/gh-aw-workshop

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.