Pause active Today timing across mobile Find Work and Queues #1080

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

Problem

A running Today timer is paused for Attention, quick capture, and Search, but continues while the operator opens Find Work or any general queue. Discovery and triage time is therefore incorrectly charged to the active item.

Vertical slice

Provide one durable, account-scoped detour lifecycle for Find Work and Queues. Opening either destination pauses the exact running Today item, visibly names it, and offers a 44px Return to Today action. Queue selection remains paused while the chosen queue is used. Closing/back/Return resumes at most once; manually paused or replaced work is never resumed.

Acceptance tests

  • A running item freezes when Find Work or Queues opens and destination dwell time is excluded.
  • Find Work and Queues render Today paused · <title> and a touch-safe Return to Today action at phone widths without horizontal overflow.
  • Close, Escape, browser Back, and Return resume the same item exactly once.
  • A manually paused or replaced item is not resurrected.
  • Durable interruption state restores after reload for the same account only.
  • Focused tests and packaged mobile browser coverage pass.

Evidence / duplicate check

frontend/dashboard.js currently calls beginAttention() only for Attention and launches Find/Queues without timer ownership. frontend/today-timer.js has destination-specific Capture/Search/Attention records but no Find/Queues detour. All 542 issue titles, 534 PR titles, 528 releases, and recent history were reviewed; adjacent shipped work #595, #1076, and #1078 is destination-specific and does not cover Find Work or general queues.

## Problem A running Today timer is paused for Attention, quick capture, and Search, but continues while the operator opens Find Work or any general queue. Discovery and triage time is therefore incorrectly charged to the active item. ## Vertical slice Provide one durable, account-scoped detour lifecycle for Find Work and Queues. Opening either destination pauses the exact running Today item, visibly names it, and offers a 44px Return to Today action. Queue selection remains paused while the chosen queue is used. Closing/back/Return resumes at most once; manually paused or replaced work is never resumed. ## Acceptance tests - A running item freezes when Find Work or Queues opens and destination dwell time is excluded. - Find Work and Queues render `Today paused · <title>` and a touch-safe Return to Today action at phone widths without horizontal overflow. - Close, Escape, browser Back, and Return resume the same item exactly once. - A manually paused or replaced item is not resurrected. - Durable interruption state restores after reload for the same account only. - Focused tests and packaged mobile browser coverage pass. ## Evidence / duplicate check `frontend/dashboard.js` currently calls `beginAttention()` only for Attention and launches Find/Queues without timer ownership. `frontend/today-timer.js` has destination-specific Capture/Search/Attention records but no Find/Queues detour. All 542 issue titles, 534 PR titles, 528 releases, and recent history were reviewed; adjacent shipped work #595, #1076, and #1078 is destination-specific and does not cover Find Work or general queues.
timmy self-assigned this 2026-08-18 13:25:14 +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#1080
No description provided.