Crop and redact mobile evidence before filing #829

Closed
opened 2026-08-14 14:24:40 +00:00 by timmy · 0 comments
Owner

Problem

Mobile operators can capture, order, and explain screenshots, but must leave Stackchain to crop irrelevant UI or hide tokens, usernames, notifications, and other private pixels. The current error copy even tells users to crop externally.

Vertical slice

Add an offline-capable, phone-width editor for the selected evidence screenshot. Operators can crop and place opaque redaction rectangles, undo/reset, then apply a flattened derivative or cancel without changing the original. Applying replaces only that evidence item while preserving its note and ordered position; drafts, outbox retries, and uploads must receive only the derivative.

Acceptance criteria

  • Edit screenshot opens the currently selected evidence image.
  • Crop and opaque redaction operations are reflected in the exported derivative.
  • Undo/reset and cancel are non-destructive.
  • Apply preserves note/order, rotates upload identity, and serializes/uploads only the derivative.
  • Dialog is keyboard accessible, restores focus, uses 44px touch targets, and fits 320px mobile width without page overflow.
  • Editor is included in the offline shell.
  • Focused behavioral tests and full suite pass.

Non-duplication evidence

Read-only review of 418 Gitea issue records, current open PRs, and recent git history found no crop, screenshot editing, annotation, or pixel-redaction feature. Recent #823-#828 cover bundles, review/reorder, and notes only.

## Problem Mobile operators can capture, order, and explain screenshots, but must leave Stackchain to crop irrelevant UI or hide tokens, usernames, notifications, and other private pixels. The current error copy even tells users to crop externally. ## Vertical slice Add an offline-capable, phone-width editor for the selected evidence screenshot. Operators can crop and place opaque redaction rectangles, undo/reset, then apply a flattened derivative or cancel without changing the original. Applying replaces only that evidence item while preserving its note and ordered position; drafts, outbox retries, and uploads must receive only the derivative. ## Acceptance criteria - Edit screenshot opens the currently selected evidence image. - Crop and opaque redaction operations are reflected in the exported derivative. - Undo/reset and cancel are non-destructive. - Apply preserves note/order, rotates upload identity, and serializes/uploads only the derivative. - Dialog is keyboard accessible, restores focus, uses 44px touch targets, and fits 320px mobile width without page overflow. - Editor is included in the offline shell. - Focused behavioral tests and full suite pass. ## Non-duplication evidence Read-only review of 418 Gitea issue records, current open PRs, and recent git history found no crop, screenshot editing, annotation, or pixel-redaction feature. Recent #823-#828 cover bundles, review/reorder, and notes only.
timmy self-assigned this 2026-08-14 14:24:40 +00:00
timmy closed this issue 2026-08-14 14:36:30 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: stackchain/stackchain-dashboard#829
No description provided.