Open assigned pull requests from mobile Search #785

Closed
opened 2026-08-14 00:20:18 +00:00 by timmy · 0 comments
Owner

User problem

Mobile Search can find and preview pull requests, but every pull-request preview is read-only even when the pull request is already assigned to the authenticated operator. The operator must leave Stackchain for Gitea despite an existing native My Work pull-request workspace.

Scope

  • Show Open in My Work for an open pull request assigned to the current operator.
  • Reuse the canonical native pull-request route and sheet without mutating assignment.
  • Preserve the Search route/query underneath so browser Back returns to the same Search session.
  • Keep non-assigned pull requests read-only with the existing Gitea fallback.

Acceptance tests

  • Assigned pull previews expose the native handoff; unassigned pulls remain read-only.
  • Handoff resolves the matching My Work pull and opens its canonical route exactly once.
  • Browser Back restores Search with its query/result session.
  • Existing issue claim/start behavior remains unchanged.
  • Focused Search/My Work/history tests and the full suite pass.

Evidence

origin/main currently restricts the preview CTA to assigned_to_me && kind === issue, while the backend preview already reports assigned_to_me for both issues and pulls and My Work already supports canonical pull routes. Historical issue/PR titles and recent commits contain Search preview, Search resumability, and native PR workflows, but no assigned-PR Search-to-My-Work handoff.

## User problem Mobile Search can find and preview pull requests, but every pull-request preview is read-only even when the pull request is already assigned to the authenticated operator. The operator must leave Stackchain for Gitea despite an existing native My Work pull-request workspace. ## Scope - Show **Open in My Work** for an open pull request assigned to the current operator. - Reuse the canonical native pull-request route and sheet without mutating assignment. - Preserve the Search route/query underneath so browser Back returns to the same Search session. - Keep non-assigned pull requests read-only with the existing Gitea fallback. ## Acceptance tests - Assigned pull previews expose the native handoff; unassigned pulls remain read-only. - Handoff resolves the matching My Work pull and opens its canonical route exactly once. - Browser Back restores Search with its query/result session. - Existing issue claim/start behavior remains unchanged. - Focused Search/My Work/history tests and the full suite pass. ## Evidence `origin/main` currently restricts the preview CTA to `assigned_to_me && kind === issue`, while the backend preview already reports `assigned_to_me` for both issues and pulls and My Work already supports canonical pull routes. Historical issue/PR titles and recent commits contain Search preview, Search resumability, and native PR workflows, but no assigned-PR Search-to-My-Work handoff.
timmy closed this issue 2026-08-14 00:27:41 +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#785
No description provided.