Plan the next seven days from mobile #1177

Closed
opened 2026-08-20 10:53:35 +00:00 by timmy · 0 comments
Owner

Evidence

My Work exposes Plan Today and Plan Tomorrow, while Agenda is deadline-only. The current tomorrow_plans record and frontend/tomorrow-plan.js hard-code one future local date, so operators must rebuild commitments one day at a time and cannot see capacity collisions across the week. Historical issue/PR titles and recent commits contain no Week Ahead, weekly-plan, seven-day-plan, or multi-day-plan implementation; the closest completed work is the independent Tomorrow/rollover flow in #1152-#1176.

User flow

Add a touch-safe Week Ahead queue. It opens the existing ordered planner with seven local-date tabs, shows planned versus available minutes for each date, and saves each dated plan independently without changing Today or Gitea due dates. The next due dated plan promotes into Today exactly once and later dates remain intact. Existing Tomorrow data appears in tomorrow's slot.

Acceptance tests

  • At 320x568 and 390x844, Queues -> Week Ahead exposes seven date controls with no horizontal page overflow and 44px touch targets.
  • Each date preserves its own ordered IDs, estimates, capacity, and revision; a stale write returns the complete server week for review.
  • Saving one date does not mutate Today, an active timer, Gitea due dates, or other planned dates.
  • Existing Tomorrow state migrates into the next-day slot without losing order, estimates, capacity, timezone, or promotion behavior.
  • On local-day rollover, the due plan promotes exactly once and is removed while all later dates remain.
  • Private weekly state is account-scoped and encrypted at rest.
  • Focused behavioral tests and the full suite pass; packaged mobile flow is included in the release gate.
## Evidence My Work exposes Plan Today and Plan Tomorrow, while Agenda is deadline-only. The current `tomorrow_plans` record and `frontend/tomorrow-plan.js` hard-code one future local date, so operators must rebuild commitments one day at a time and cannot see capacity collisions across the week. Historical issue/PR titles and recent commits contain no Week Ahead, weekly-plan, seven-day-plan, or multi-day-plan implementation; the closest completed work is the independent Tomorrow/rollover flow in #1152-#1176. ## User flow Add a touch-safe **Week Ahead** queue. It opens the existing ordered planner with seven local-date tabs, shows planned versus available minutes for each date, and saves each dated plan independently without changing Today or Gitea due dates. The next due dated plan promotes into Today exactly once and later dates remain intact. Existing Tomorrow data appears in tomorrow's slot. ## Acceptance tests - At 320x568 and 390x844, Queues -> Week Ahead exposes seven date controls with no horizontal page overflow and 44px touch targets. - Each date preserves its own ordered IDs, estimates, capacity, and revision; a stale write returns the complete server week for review. - Saving one date does not mutate Today, an active timer, Gitea due dates, or other planned dates. - Existing Tomorrow state migrates into the next-day slot without losing order, estimates, capacity, timezone, or promotion behavior. - On local-day rollover, the due plan promotes exactly once and is removed while all later dates remain. - Private weekly state is account-scoped and encrypted at rest. - Focused behavioral tests and the full suite pass; packaged mobile flow is included in the release gate.
timmy self-assigned this 2026-08-20 10:53:35 +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#1177
No description provided.