Repository navigation
Built-in screenshot mode and wiki screenshot workflow - #101
Conversation
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.
There was a problem hiding this comment.
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.
|
Queued for approval, waiting for the checks:
WoggleSL Review · requested by a maintainer from the review board |
There was a problem hiding this comment.
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
|
Squash-merged into WoggleSL Review · requested by a maintainer from the review board |
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