Queue mobile Search preview replies for offline delivery #959

Closed
opened 2026-08-16 10:50:59 +00:00 by rockachopa · 0 comments
Member

Problem

Mobile Search preview replies currently post only in the foreground. A connection failure blocks a Search triage pass even though the dashboard already has a durable, account-bound authored outbox with resumable evidence uploads. Routing these messages through ordinary assigned-work comment endpoints would weaken Search preview authorization.

Vertical slice

Durably admit text-only, photo-only, and mixed Search preview replies, then deliver them through the existing exact-target /preview/comments and /preview/attachments endpoints. Send & next advances only after IndexedDB admission succeeds. Preserve photo upload checkpoints and idempotency keys so reconnect resumes without duplicate uploads or comments.

Acceptance criteria

  • Search replies are account-bound authored outbox records with the exact issue/pull target kind.
  • Durable admission stores photo Blobs in IndexedDB and bounded metadata only in localStorage.
  • Admission failure retains the current preview, draft, photos, and Search position.
  • Reconnect uploads and comments through /preview/*?kind=..., never assigned-work endpoints.
  • Partial photo upload retry resumes from the first unconfirmed image and posts exactly one ordered comment.
  • Permanent authorization/target failures become attention-required; transient failures remain queued.
  • Focused behavioral tests, full suite, and the release mobile browser journey pass.

No historical issue or recent commit implements offline Search reply delivery; #805 is online reply-and-next, #955 adds online photos, and #957 preserves interrupted photo drafts only.

## Problem Mobile Search preview replies currently post only in the foreground. A connection failure blocks a Search triage pass even though the dashboard already has a durable, account-bound authored outbox with resumable evidence uploads. Routing these messages through ordinary assigned-work comment endpoints would weaken Search preview authorization. ## Vertical slice Durably admit text-only, photo-only, and mixed Search preview replies, then deliver them through the existing exact-target `/preview/comments` and `/preview/attachments` endpoints. `Send & next` advances only after IndexedDB admission succeeds. Preserve photo upload checkpoints and idempotency keys so reconnect resumes without duplicate uploads or comments. ## Acceptance criteria - Search replies are account-bound authored outbox records with the exact issue/pull target kind. - Durable admission stores photo Blobs in IndexedDB and bounded metadata only in localStorage. - Admission failure retains the current preview, draft, photos, and Search position. - Reconnect uploads and comments through `/preview/*?kind=...`, never assigned-work endpoints. - Partial photo upload retry resumes from the first unconfirmed image and posts exactly one ordered comment. - Permanent authorization/target failures become attention-required; transient failures remain queued. - Focused behavioral tests, full suite, and the release mobile browser journey pass. No historical issue or recent commit implements offline Search reply delivery; #805 is online reply-and-next, #955 adds online photos, and #957 preserves interrupted photo drafts only.
timmy was assigned by rockachopa 2026-08-16 10:50:59 +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#959
No description provided.