Persist weekly availability defaults for rolling Week Ahead dates #1256

Closed
opened 2026-08-22 07:52:27 +00:00 by timmy · 0 comments
Owner

Problem

Week Ahead creates a rolling seven-date window, but every newly introduced date starts without capacity. Operators with a stable schedule must repeatedly re-enter or re-import the same availability. Existing date-specific capacity work (#1206, #1208, #1212, #1226) does not persist reusable weekday defaults.

Slice

Add an encrypted, account-bound Monday–Sunday availability profile to the existing revisioned Week Ahead plan. Missing date capacities inherit the matching weekday default; explicit date capacities remain overrides. Operators can set or disable defaults from the mobile Week Ahead overview.

Acceptance

  • Save seven bounded weekday capacities, including zero, through the existing revision-conflict-safe Week API.
  • A newly rolling date inherits its weekday default; explicit date capacity remains unchanged.
  • Existing plans without defaults deserialize unchanged.
  • Mobile controls are labelled, touch-safe, reachable at 320px, and distinguish Default/Override in text.
  • Offline staged changes retain the profile and flush once.
  • Focused and full suites pass.
## Problem Week Ahead creates a rolling seven-date window, but every newly introduced date starts without capacity. Operators with a stable schedule must repeatedly re-enter or re-import the same availability. Existing date-specific capacity work (#1206, #1208, #1212, #1226) does not persist reusable weekday defaults. ## Slice Add an encrypted, account-bound Monday–Sunday availability profile to the existing revisioned Week Ahead plan. Missing date capacities inherit the matching weekday default; explicit date capacities remain overrides. Operators can set or disable defaults from the mobile Week Ahead overview. ## Acceptance - Save seven bounded weekday capacities, including zero, through the existing revision-conflict-safe Week API. - A newly rolling date inherits its weekday default; explicit date capacity remains unchanged. - Existing plans without defaults deserialize unchanged. - Mobile controls are labelled, touch-safe, reachable at 320px, and distinguish Default/Override in text. - Offline staged changes retain the profile and flush once. - Focused and full suites pass.
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#1256
No description provided.