Skip to content

Built-in screenshot mode and wiki screenshot workflow - #101

Merged
wogglesl-review[bot] merged 1 commit into
mainfrom
wiki-screenshots
Dec 3, 2026
Merged

wogglesl-review[bot] merged 1 commit into
mainfrom
wiki-screenshots

Conversation

@R3disme

@R3disme R3disme commented Dec 3, 2026

Copy link
Copy Markdown
Member

What and why

`woggle --screenshot --out <file.png>` opens one wiki scene through the app's own messages on a fixed seed (local test IRC server, Norwegian, 1280x800), waits until it is drawn and saves the cropped window. It refuses to run when a Wayland session is set. A workflow renders every scene on pull requests (artifact only, read-only token) and, after a successful main build, pushes changed images to the wiki and comments the list on the merged PR.

Part of #18 and #11.

How it was tested

Builds locally; scenes are rendered by the preview job on this PR (images below once it has run). No GUI was run on the dev machine.

Wiki

Wiki: not needed - this tool keeps the wiki images current.

Checklist

  • One change only, branched from the latest `main`
  • Tested on the local test server only

woggle --screenshot <scene> --out <file.png> starts a throwaway portable
folder and a local test IRC server, opens the scene through the app's own
messages and saves the cropped window. It refuses to run when a Wayland
session is set, so it cannot open on a real desktop. The workflow renders
every scene on pull requests (artifact only) and, after a successful main
build, pushes changed images to the wiki and comments on the merged PR.
@R3disme
R3disme requested review from a team as code owners December 3, 2026 13:32
@R3disme R3disme added the In-Review Finished and waiting for a maintainer's review label Dec 3, 2026
Copilot AI balanced review requested due to automatic review settings December 3, 2026 13:32

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@wogglesl-review

Copy link
Copy Markdown

Queued for approval, waiting for the checks:

  • ✅ Build linux-x86_64
  • ⏳ Build windows-x86_64
  • ❌ fmt (not required)
  • ❌ dispatch (not required)
  • ❌ wiki (not required)
  • ✅ retake screenshots (not required)
  • ✅ codeql (actions) (not required)
  • ✅ sync (not required)
  • ✅ dispatch (not required)
  • ✅ wiki (not required)
  • ⏳ codeql (rust) (not required)
  • ⏳ clippy (not required)
  • ⏳ preview screenshots (not required)
  • ✅ screenshots out of date (not required)
  • ✅ screenshots out of date (not required)
  • ✅ Build macos-universal (not required)
  • ⏳ test (not required)
  • ✅ Build flatpak-x86_64 (not required)
  • ✅ cargo-deny (not required)
  • ✅ unsafe (not required)
  • ✅ dependency-review (not required)
  • ✅ secrets (not required)
  • ✅ workflows (not required)
  • ❌ typos (not required)
  • ✅ translations (not required)
  • ✅ flag-lists (not required)
  • ✅ CodeQL (not required)

WoggleSL Review · requested by a maintainer from the review board

@wogglesl-review wogglesl-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved by a maintainer on the review board.

Checks

  • ✅ Build linux-x86_64
  • ✅ Build windows-x86_64
  • ❌ fmt (not required)
  • ❌ dispatch (not required)
  • ❌ wiki (not required)
  • ✅ retake screenshots (not required)
  • ✅ codeql (actions) (not required)
  • ✅ sync (not required)
  • ✅ dispatch (not required)
  • ✅ wiki (not required)
  • ⏳ codeql (rust) (not required)
  • ❌ clippy (not required)
  • ⏳ preview screenshots (not required)
  • ✅ screenshots out of date (not required)
  • ✅ screenshots out of date (not required)
  • ✅ Build macos-universal (not required)
  • ⏳ test (not required)
  • ✅ Build flatpak-x86_64 (not required)
  • ✅ Release (not required)
  • ✅ cargo-deny (not required)
  • ✅ unsafe (not required)
  • ✅ dependency-review (not required)
  • ✅ secrets (not required)
  • ✅ workflows (not required)
  • ❌ typos (not required)
  • ✅ translations (not required)
  • ✅ flag-lists (not required)
  • ✅ CodeQL (not required)

Change: 15 files, +1610 / -2, 1 commit(s) by @R3disme
Merges into: main without conflicts

WoggleSL Review · requested by a maintainer from the review board

@wogglesl-review
wogglesl-review Bot merged commit 3ba686b into main Dec 3, 2026
22 of 28 checks passed
@wogglesl-review

Copy link
Copy Markdown

Squash-merged into main as 3ba686b.

WoggleSL Review · requested by a maintainer from the review board

@wogglesl-review
wogglesl-review Bot deleted the wiki-screenshots branch December 3, 2026 13:39
@wogglesl-review wogglesl-review Bot removed the In-Review Finished and waiting for a maintainer's review label Dec 3, 2026
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