Assign and start work from global search #413

Closed
opened 2026-08-09 17:00:45 +00:00 by rockachopa · 0 comments
Member

Problem

Global Search is a first-class mobile task, but an operator who finds a specific open issue can only assign it and then leave the focused search flow. The existing Find flow can assign and start work immediately, so exact-title search requires extra navigation and planning steps.

Scope

Add an end-to-end Search preview action that reuses the proven Today planning and durable work-session flow:

  • open, unassigned issues offer Assign & start alongside Assign to me;
  • issues already assigned to the operator offer Start in Today without another claim request;
  • closed issues, pull requests, and work assigned to another operator remain read-only;
  • Today capacity is checked before mutation;
  • successful starts add the issue once to Today, queue existing sync/offline warming, start the durable session, and open the issue;
  • partial failures report the confirmed state truthfully and preserve a recovery path.

Acceptance tests

  • At phone width, eligible Search previews expose touch-safe start actions.
  • Repeated taps while pending send at most one claim request.
  • A successful claim adds the issue once to Today and starts its durable work session.
  • Already-owned work starts without a claim mutation.
  • A full Today plan prevents claiming and explains recovery.
  • Claim failure leaves Today and session state unchanged and remains retryable.
  • Closed, pull-request, and other-owned results never expose start actions.
  • Browser Back preserves the Search query and result position.

Implementation must follow strict RED-GREEN-REFACTOR and include focused plus full-suite verification.

## Problem Global Search is a first-class mobile task, but an operator who finds a specific open issue can only assign it and then leave the focused search flow. The existing Find flow can assign and start work immediately, so exact-title search requires extra navigation and planning steps. ## Scope Add an end-to-end Search preview action that reuses the proven Today planning and durable work-session flow: - open, unassigned issues offer **Assign & start** alongside **Assign to me**; - issues already assigned to the operator offer **Start in Today** without another claim request; - closed issues, pull requests, and work assigned to another operator remain read-only; - Today capacity is checked before mutation; - successful starts add the issue once to Today, queue existing sync/offline warming, start the durable session, and open the issue; - partial failures report the confirmed state truthfully and preserve a recovery path. ## Acceptance tests - [ ] At phone width, eligible Search previews expose touch-safe start actions. - [ ] Repeated taps while pending send at most one claim request. - [ ] A successful claim adds the issue once to Today and starts its durable work session. - [ ] Already-owned work starts without a claim mutation. - [ ] A full Today plan prevents claiming and explains recovery. - [ ] Claim failure leaves Today and session state unchanged and remains retryable. - [ ] Closed, pull-request, and other-owned results never expose start actions. - [ ] Browser Back preserves the Search query and result position. Implementation must follow strict RED-GREEN-REFACTOR and include focused plus full-suite verification.
timmy was assigned by rockachopa 2026-08-09 17:00:45 +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#413
No description provided.