docs(05-01): complete calendar data layer plan — CalendarDao, providers, l10n
- 05-01-SUMMARY.md: execution results with deviations, decisions, self-check - STATE.md: current position updated to Plan 01 complete, 3 new decisions - ROADMAP.md: Phase 5 in progress (1/2 plans complete) - REQUIREMENTS.md: CAL-02 and CAL-05 marked complete
This commit is contained in:
@@ -1,16 +1,16 @@
|
||||
---
|
||||
gsd_state_version: 1.0
|
||||
milestone: v1.1
|
||||
milestone_name: Calendar & Polish
|
||||
status: ready
|
||||
stopped_at: Roadmap created — ready for Phase 5
|
||||
last_updated: "2026-03-16T21:00:00.000Z"
|
||||
last_activity: 2026-03-16 — Roadmap created for v1.1 (phases 5-7)
|
||||
milestone: v1.0
|
||||
milestone_name: milestone
|
||||
status: planning
|
||||
stopped_at: Completed 05-calendar-strip 05-01-PLAN.md
|
||||
last_updated: "2026-03-16T20:25:46.918Z"
|
||||
last_activity: 2026-03-16 — Roadmap for v1.1 written (phases 5-7)
|
||||
progress:
|
||||
total_phases: 3
|
||||
completed_phases: 0
|
||||
total_plans: 0
|
||||
completed_plans: 0
|
||||
total_plans: 2
|
||||
completed_plans: 1
|
||||
percent: 0
|
||||
---
|
||||
|
||||
@@ -26,12 +26,12 @@ See: .planning/PROJECT.md (updated 2026-03-16)
|
||||
## Current Position
|
||||
|
||||
Phase: 5 — Calendar Strip
|
||||
Plan: Not started
|
||||
Status: Ready to plan Phase 5
|
||||
Last activity: 2026-03-16 — Roadmap for v1.1 written (phases 5-7)
|
||||
Plan: 1/2 complete (Plan 01 done)
|
||||
Status: In Progress
|
||||
Last activity: 2026-03-16 — Completed Phase 5 Plan 01 (CalendarDao + providers)
|
||||
|
||||
```
|
||||
Progress: [ ░░░░░░░░░░░░░░░░░░░░ ] 0% (0/3 phases)
|
||||
Progress: [█████░░░░░] 50% (1/2 plans in Phase 5)
|
||||
```
|
||||
|
||||
## Performance Metrics
|
||||
@@ -42,6 +42,7 @@ Progress: [ ░░░░░░░░░░░░░░░░░░░░ ] 0% (0
|
||||
| Plans | 13 | TBD |
|
||||
| LOC (lib) | 7,773 | TBD |
|
||||
| Tests | 89 | TBD |
|
||||
| Phase 05-calendar-strip P01 | 5 | 2 tasks | 10 files |
|
||||
|
||||
## Accumulated Context
|
||||
|
||||
@@ -53,6 +54,9 @@ Progress: [ ░░░░░░░░░░░░░░░░░░░░ ] 0% (0
|
||||
| Phase 5 before Phase 6 and 7 | Calendar strip is the primary UI surface; history and sorting operate within or alongside it |
|
||||
| Phase 6 and 7 both depend on Phase 5 only | History and sorting are independent of each other — could execute in either order |
|
||||
| HIST-01 and HIST-02 in same phase | Data layer (HIST-01) is only 1-2 DAO additions; grouping with the UI (HIST-02) keeps the phase coherent |
|
||||
| Used NotifierProvider<SelectedDateNotifier> instead of deprecated StateProvider | Riverpod 3.x removed StateProvider; NotifierProvider is the correct replacement |
|
||||
| calendarDayProvider fetches overdue tasks with .first in asyncMap when isToday | Consistent with dailyPlanProvider pattern; avoids combining two streams |
|
||||
| watchTasksForDate sorts alphabetically by task name | Same-day tasks have no meaningful time-based order; alpha sort is deterministic and user-friendly |
|
||||
|
||||
### Pending Todos
|
||||
|
||||
@@ -60,12 +64,12 @@ None.
|
||||
|
||||
### Blockers/Concerns
|
||||
|
||||
- The existing HomeScreen (daily plan with overdue/today/upcoming) will be replaced entirely in Phase 5. Verify no other screen references the daily plan provider before deleting it, or migrate references.
|
||||
- CAL-05 (overdue carry-over with color accent) requires a query that returns tasks by their original due date relative to a selected day — confirm the existing DailyPlanDao can be adapted or a new CalendarDao is needed.
|
||||
- The existing HomeScreen (daily plan with overdue/today/upcoming) will be replaced entirely in Phase 5. Plan 02 will handle migrating or removing the dailyPlanProvider reference.
|
||||
- CAL-05 resolved: new CalendarDao created with date-parameterized queries; overdue tasks shown only when viewing today.
|
||||
|
||||
## Session Continuity
|
||||
|
||||
Last session: 2026-03-16
|
||||
Stopped at: Roadmap created, ready for Phase 5 planning
|
||||
Last session: 2026-03-16T20:25:46.916Z
|
||||
Stopped at: Completed 05-calendar-strip 05-01-PLAN.md
|
||||
Resume file: None
|
||||
Next action: `/gsd:plan-phase 5`
|
||||
|
||||
Reference in New Issue
Block a user