docs(11): create phase plan for tasks management — anytime completion and pre-population
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
|
||||
- ✅ **v1.0 MVP** — Phases 1-4 (shipped 2026-03-16)
|
||||
- ✅ **v1.1 Calendar & Polish** — Phases 5-7 (shipped 2026-03-16)
|
||||
- **v1.2 Polish & Task Management** — Phases 8-10 (in progress)
|
||||
- **v1.2 Polish & Task Management** — Phases 8-11 (in progress)
|
||||
|
||||
## Phases
|
||||
|
||||
@@ -31,11 +31,12 @@ See `milestones/v1.1-ROADMAP.md` for full phase details.
|
||||
|
||||
</details>
|
||||
|
||||
**v1.2 Polish & Task Management (Phases 8-10):**
|
||||
**v1.2 Polish & Task Management (Phases 8-11):**
|
||||
|
||||
- [x] **Phase 8: Task Delete** - Add smart delete action to tasks — hard delete if never completed, soft delete (deactivate) if completed at least once (completed 2026-03-18)
|
||||
- [x] **Phase 9: Task Creation UX** - Rework the frequency picker from flat preset chips to an intuitive "Every N units" interface with quick-select shortcuts (completed 2026-03-18)
|
||||
- [x] **Phase 10: Dead Code Cleanup** - Remove orphaned v1.0 daily plan files and verify no regressions (completed 2026-03-19)
|
||||
- [ ] **Phase 11: Tasks Management** - Allow task checking anytime and pre-populate recurring tasks within their interval window
|
||||
|
||||
## Phase Details
|
||||
|
||||
@@ -81,6 +82,24 @@ Plans:
|
||||
3. All 108+ tests pass after cleanup
|
||||
4. `dart analyze` reports zero issues
|
||||
|
||||
### Phase 11: Tasks Management - Allow task checking anytime and pre-populate recurring tasks
|
||||
**Goal**: Users can complete tasks on any day regardless of schedule, and recurring tasks appear on all applicable days within their interval window — making the app feel like a consistent checklist rather than a rigid scheduler
|
||||
**Depends on**: Phase 10
|
||||
**Requirements**: TM-01, TM-02, TM-03, TM-04, TM-05
|
||||
**Plans:** 2 plans
|
||||
Plans:
|
||||
- [ ] 11-01-PLAN.md — Anytime completion: remove checkbox restrictions, recalculate nextDueDate from today on non-due-day completion
|
||||
- [ ] 11-02-PLAN.md — Pre-population: virtual task instances in provider layer, period-completion filtering, muted visual styling
|
||||
**Success Criteria** (what must be TRUE):
|
||||
1. Checkboxes are always enabled on all calendar days (past, today, future) and in room task lists
|
||||
2. Completing a task on a non-due day recalculates nextDueDate from today, not the original due date
|
||||
3. A weekly task appears on all 7 days leading up to its due date
|
||||
4. A monthly task appears on all days within its current month interval
|
||||
5. Tasks already completed in the current interval period do not reappear as pre-populated
|
||||
6. Pre-populated tasks have a visually muted appearance (reduced opacity) compared to due-today tasks
|
||||
7. Overdue tasks retain their existing coral accent styling
|
||||
8. All tests pass and dart analyze reports zero issues
|
||||
|
||||
## Progress
|
||||
|
||||
| Phase | Milestone | Plans Complete | Status | Completed |
|
||||
@@ -92,6 +111,7 @@ Plans:
|
||||
| 5. Calendar Strip | v1.1 | 2/2 | Complete | 2026-03-16 |
|
||||
| 6. Task History | v1.1 | 1/1 | Complete | 2026-03-16 |
|
||||
| 7. Task Sorting | v1.1 | 2/2 | Complete | 2026-03-16 |
|
||||
| 8. Task Delete | 2/2 | Complete | 2026-03-18 | - |
|
||||
| 9. Task Creation UX | 1/1 | Complete | 2026-03-18 | - |
|
||||
| 10. Dead Code Cleanup | v1.2 | Complete | 2026-03-19 | 2026-03-19 |
|
||||
| 8. Task Delete | v1.2 | 2/2 | Complete | 2026-03-18 |
|
||||
| 9. Task Creation UX | v1.2 | 1/1 | Complete | 2026-03-18 |
|
||||
| 10. Dead Code Cleanup | v1.2 | 1/1 | Complete | 2026-03-19 |
|
||||
| 11. Tasks Management | v1.2 | 0/2 | Planned | - |
|
||||
|
||||
Reference in New Issue
Block a user