Share resumable mobile Search previews #787

Closed
opened 2026-08-14 00:50:23 +00:00 by timmy · 0 comments
Owner

User flow

From a mobile Search preview, share the canonical Stackchain preview URL through the native share sheet or clipboard fallback. The recipient must resume the same bounded Search query and work preview after authentication, while the sender stays in context.

Evidence

Search preview currently exposes assignment/start and “Open in Gitea” only (frontend/index.html), despite canonical bounded search/preview URLs already being produced by frontend/task-overlay-history.js and a proven native-share/clipboard helper existing in frontend/work-route.js. Historical issue-title and recent-commit searches found no Search-preview sharing flow.

Acceptance criteria

  • Search preview has an accessible 44px-safe Share result action.
  • Native Web Share receives the canonical same-origin preview URL; clipboard is the fallback.
  • Success, cancellation, and error states are truthful and do not close or reset Search.
  • Anonymous recipients preserve only validated bounded search and preview fields through token or passkey sign-in.
  • Malformed, duplicate, unknown, or oversized continuation fields are rejected.
  • Focused behavioral tests and the full suite pass.
## User flow From a mobile Search preview, share the canonical Stackchain preview URL through the native share sheet or clipboard fallback. The recipient must resume the same bounded Search query and work preview after authentication, while the sender stays in context. ## Evidence Search preview currently exposes assignment/start and “Open in Gitea” only (`frontend/index.html`), despite canonical bounded `search`/`preview` URLs already being produced by `frontend/task-overlay-history.js` and a proven native-share/clipboard helper existing in `frontend/work-route.js`. Historical issue-title and recent-commit searches found no Search-preview sharing flow. ## Acceptance criteria - Search preview has an accessible 44px-safe Share result action. - Native Web Share receives the canonical same-origin preview URL; clipboard is the fallback. - Success, cancellation, and error states are truthful and do not close or reset Search. - Anonymous recipients preserve only validated bounded `search` and `preview` fields through token or passkey sign-in. - Malformed, duplicate, unknown, or oversized continuation fields are rejected. - Focused behavioral tests and the full suite pass.
timmy self-assigned this 2026-08-14 00:50:23 +00:00
timmy closed this issue 2026-08-14 01:07: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#787
No description provided.