Skip to content

Add in-game preview capture workflow - #31

Open
NooriSeiros wants to merge 1 commit into
jpbhatt21:nosfrom
NooriSeiros:codex/preview-capture
Open

Add in-game preview capture workflow#31
NooriSeiros wants to merge 1 commit into
jpbhatt21:nosfrom
NooriSeiros:codex/preview-capture

Conversation

@NooriSeiros

Copy link
Copy Markdown

Summary

  • Adds a Capture from Game action to the existing preview image workflow.
  • Places a transparent selection overlay over the game window; drag selects the preview area, right mouse temporarily passes control back to the game camera, and Esc cancels safely.
  • Shows the captured crop for confirmation with Recapture and Use This Preview actions.
  • Validates temporary capture paths, limits oversized images, removes stale crop metadata, and backs up the previous preview before replacement.
  • Returns a clear unsupported-platform error outside Windows.

Validation

  • npm run build
  • cargo check
  • cargo test preview_capture --lib (2 passed)
  • Targeted ESLint check (no new errors; one existing warning remains in ModPreview.tsx)

@jpbhatt21
jpbhatt21 changed the base branch from main to nos July 22, 2026 17:28
@NooriSeiros
NooriSeiros force-pushed the codex/preview-capture branch from e01a7a6 to da6c6fa Compare July 22, 2026 18:03
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.

1 participant