Add a timed mobile break and return-to-Today flow #1036

Closed
opened 2026-08-17 18:51:42 +00:00 by rockachopa · 0 comments
Member

Evidence

The active mobile Today HUD offers only Done & next, Pause timer, and Adjust remaining plan. Pause is binary and persists no planned return deadline, so an intentional lunch/call break is indistinguishable from an abandoned timer. A read-only audit of all 520 issue titles, recent PRs, and commit subjects found no timed-break or return-reminder implementation.

User outcome

A mobile user can take a bounded timed break, keep the current Today item selected, return after reload/backgrounding, and explicitly resume when the break expires. Expiry must never restart tracked time automatically.

Acceptance criteria

  • Mobile Today HUD exposes Take break while an item is active.
  • A Back-safe, accessible sheet offers 5/15/30-minute presets and bounded custom minutes.
  • Starting a break pauses elapsed-time accumulation and persists an absolute deadline without changing Today item order or Gitea state.
  • Reload/background restores the same deadline; expiry remains paused and provides an in-app Resume Today action.
  • Cancel is side-effect free; resume and expiry are idempotent.
  • At 320x568 and 390x844 there is no horizontal overflow, primary controls are at least 44px, and the sheet respects safe areas.
  • Behavioral unit tests and packaged mobile journey pass, followed by the full suite.
## Evidence The active mobile Today HUD offers only Done & next, Pause timer, and Adjust remaining plan. Pause is binary and persists no planned return deadline, so an intentional lunch/call break is indistinguishable from an abandoned timer. A read-only audit of all 520 issue titles, recent PRs, and commit subjects found no timed-break or return-reminder implementation. ## User outcome A mobile user can take a bounded timed break, keep the current Today item selected, return after reload/backgrounding, and explicitly resume when the break expires. Expiry must never restart tracked time automatically. ## Acceptance criteria - Mobile Today HUD exposes Take break while an item is active. - A Back-safe, accessible sheet offers 5/15/30-minute presets and bounded custom minutes. - Starting a break pauses elapsed-time accumulation and persists an absolute deadline without changing Today item order or Gitea state. - Reload/background restores the same deadline; expiry remains paused and provides an in-app Resume Today action. - Cancel is side-effect free; resume and expiry are idempotent. - At 320x568 and 390x844 there is no horizontal overflow, primary controls are at least 44px, and the sheet respects safe areas. - Behavioral unit tests and packaged mobile journey pass, followed by the full suite.
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#1036
No description provided.