Set Week Ahead capacity from a private calendar import #1206

Closed
opened 2026-08-21 02:58:04 +00:00 by rockachopa · 0 comments
Member

Product gap

Week Ahead blocks confirmation when planned work exceeds capacity, but mobile operators must enter seven daily capacities by hand. Existing calendar support only exports plans; there is no private availability import.

Vertical slice

Add an on-device .ics import review in Week Ahead. The browser computes busy-time unions within configurable working hours, previews seven resulting capacities, and applies only aggregate minute totals to the existing synchronized week plan. Calendar contents never leave the device or enter persisted state.

Acceptance tests

  • A timed event subtracts only its overlap with working hours; overlapping events are not double-counted.
  • Events outside working hours do not reduce capacity; cross-midnight events affect the correct local days.
  • Import review covers the seven visible Week Ahead dates and supports cancel without mutation.
  • Applying updates all seven capacities in one local state transition and schedules the existing sync path once.
  • Invalid or oversized files show an actionable error and preserve the plan.
  • At 320×568 the import, review, and apply controls have no horizontal overflow or obscured action.
  • No raw calendar content or event metadata is persisted or submitted; only daily capacity totals are synchronized.

Non-duplication

Historical issue/PR review found only outbound calendar work (#1088 Agenda snapshot export; #1198 Week Ahead timed-block export) and manual capacity work (#459, #1188). No open/closed issue or recent commit implements calendar-derived Week Ahead capacity.

## Product gap Week Ahead blocks confirmation when planned work exceeds capacity, but mobile operators must enter seven daily capacities by hand. Existing calendar support only exports plans; there is no private availability import. ## Vertical slice Add an on-device `.ics` import review in Week Ahead. The browser computes busy-time unions within configurable working hours, previews seven resulting capacities, and applies only aggregate minute totals to the existing synchronized week plan. Calendar contents never leave the device or enter persisted state. ## Acceptance tests - A timed event subtracts only its overlap with working hours; overlapping events are not double-counted. - Events outside working hours do not reduce capacity; cross-midnight events affect the correct local days. - Import review covers the seven visible Week Ahead dates and supports cancel without mutation. - Applying updates all seven capacities in one local state transition and schedules the existing sync path once. - Invalid or oversized files show an actionable error and preserve the plan. - At 320×568 the import, review, and apply controls have no horizontal overflow or obscured action. - No raw calendar content or event metadata is persisted or submitted; only daily capacity totals are synchronized. ## Non-duplication Historical issue/PR review found only outbound calendar work (#1088 Agenda snapshot export; #1198 Week Ahead timed-block export) and manual capacity work (#459, #1188). No open/closed issue or recent commit implements calendar-derived Week Ahead capacity.
timmy was assigned by rockachopa 2026-08-21 02:58:05 +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#1206
No description provided.