Skip to content

Add screenshot post-capture actions#1897

Draft
ryanr14 wants to merge 5 commits into
CapSoftware:mainfrom
ryanr14:codex/cap-screenshot-post-capture-actions
Draft

Add screenshot post-capture actions#1897
ryanr14 wants to merge 5 commits into
CapSoftware:mainfrom
ryanr14:codex/cap-screenshot-post-capture-actions

Conversation

@ryanr14
Copy link
Copy Markdown

@ryanr14 ryanr14 commented Jun 7, 2026

Summary

  • Add a screenshot post-capture setting for opening the editor, showing the overlay, copying, saving a PNG, or uploading.
  • Route screenshot hotkeys, tray actions, and deeplink area captures through the shared post-capture handler.
  • Harden one-shot area screenshot deeplinks so they do not persist screenshot mode or leak pending post-capture actions.

Validation

  • pnpm exec biome check apps/desktop/src/utils/tauri.ts apps/desktop/src/routes/target-select-overlay.tsx "apps/desktop/src/routes/(window-chrome)/settings/general.tsx" apps/desktop/src/utils/general-settings.ts apps/desktop/src/utils/general-settings.test.ts
  • pnpm --dir apps/desktop exec vitest run src/utils/general-settings.test.ts
  • pnpm --dir apps/desktop exec tsc -p tsconfig.json --noEmit
  • cargo test -p cap-desktop deeplink_actions::tests --lib
  • cargo check -p cap-desktop --lib
  • git merge-tree "$(git merge-base HEAD origin/main)" HEAD origin/main has no conflict markers locally

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