Attach photo evidence to mobile Search preview replies #955

Closed
opened 2026-08-16 09:21:51 +00:00 by timmy · 0 comments
Owner

Product gap

Mobile Search preview supports conversation reading, text replies, voice dictation, and Send & next, but cannot attach photo evidence. Assigned issue, pull-request, and unread-update composers already support capture/library selection, five-photo review, captions, editing/redaction, metadata stripping, and retry-safe uploads. Field operators must leave Search and relocate an item to share evidence.

Scope

Add photo evidence to commentable issue/PR Search previews. Reuse the existing evidence controller and sanitization path; authorize uploads against the exact visible preview target; allow photo-only replies; preserve upload checkpoints across retry; and advance only after uploads and comment confirmation.

Acceptance tests

  • Commentable Search previews expose 44px camera and library actions and accept up to five ordered PNG/JPEG/WebP images.
  • Photo-only and text-plus-photo replies post ordered Markdown to the exact preview target.
  • Mismatched kind/repository/number is rejected before upload.
  • Failed upload/comment keeps draft and evidence; retry does not duplicate confirmed uploads or comments.
  • Send & next remains on the result until delivery is confirmed, then advances exactly once.
  • At 320px and 390px, controls do not create page-level horizontal overflow.

Evidence / non-duplication

Current frontend/search-preview.js posts a body-only JSON reply and rejects empty text; frontend/index.html has no Search attachment controls. Historical issue/PR review found Search conversation/reply work (#803/#805), Search voice dictation (#953/#954), and photo evidence for assigned conversations (#941–#950), but no Search-preview photo workflow. Recent origin/main at 053f32c contains no implementation of this behavior.

## Product gap Mobile Search preview supports conversation reading, text replies, voice dictation, and Send & next, but cannot attach photo evidence. Assigned issue, pull-request, and unread-update composers already support capture/library selection, five-photo review, captions, editing/redaction, metadata stripping, and retry-safe uploads. Field operators must leave Search and relocate an item to share evidence. ## Scope Add photo evidence to commentable issue/PR Search previews. Reuse the existing evidence controller and sanitization path; authorize uploads against the exact visible preview target; allow photo-only replies; preserve upload checkpoints across retry; and advance only after uploads and comment confirmation. ## Acceptance tests - Commentable Search previews expose 44px camera and library actions and accept up to five ordered PNG/JPEG/WebP images. - Photo-only and text-plus-photo replies post ordered Markdown to the exact preview target. - Mismatched kind/repository/number is rejected before upload. - Failed upload/comment keeps draft and evidence; retry does not duplicate confirmed uploads or comments. - Send & next remains on the result until delivery is confirmed, then advances exactly once. - At 320px and 390px, controls do not create page-level horizontal overflow. ## Evidence / non-duplication Current `frontend/search-preview.js` posts a body-only JSON reply and rejects empty text; `frontend/index.html` has no Search attachment controls. Historical issue/PR review found Search conversation/reply work (#803/#805), Search voice dictation (#953/#954), and photo evidence for assigned conversations (#941–#950), but no Search-preview photo workflow. Recent `origin/main` at 053f32c contains no implementation of this behavior.
timmy self-assigned this 2026-08-16 09:21:51 +00:00
timmy closed this issue 2026-08-16 09:34:06 +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#955
No description provided.