Files
HouseHoldKeaper/.planning/phases/02-rooms-and-tasks/02-05-PLAN.md

111 lines
3.8 KiB
Markdown

---
phase: 02-rooms-and-tasks
plan: 05
type: execute
wave: 4
depends_on: ["02-04"]
files_modified: []
autonomous: false
requirements:
- ROOM-01
- ROOM-02
- ROOM-03
- ROOM-04
- ROOM-05
- TASK-01
- TASK-02
- TASK-03
- TASK-04
- TASK-05
- TASK-06
- TASK-07
- TASK-08
- TMPL-01
- TMPL-02
must_haves:
truths:
- "All Phase 2 features are visually and functionally verified on a running app"
artifacts: []
key_links: []
---
<objective>
Visual and functional verification of all Phase 2 features on a running app. This is the final checkpoint before marking Phase 2 complete.
Purpose: Confirms that all room management, task management, template selection, completion scheduling, and overdue highlighting work correctly as an integrated whole.
Output: User confirmation that Phase 2 is feature-complete.
</objective>
<execution_context>
@/home/jlmak/.claude/get-shit-done/workflows/execute-plan.md
@/home/jlmak/.claude/get-shit-done/templates/summary.md
</execution_context>
<context>
@.planning/PROJECT.md
@.planning/ROADMAP.md
@.planning/phases/02-rooms-and-tasks/2-CONTEXT.md
@.planning/phases/02-rooms-and-tasks/02-04-SUMMARY.md
</context>
<tasks>
<task type="checkpoint:human-verify" gate="blocking">
<name>Task 1: Visual and functional verification of all Phase 2 features</name>
<files></files>
<action>
Run the app with `flutter run` and have the user verify all Phase 2 features.
Complete room and task management system built:
- Room CRUD with 2-column card grid, icon picker, drag-and-drop reorder, cascade delete
- Task CRUD with frequency intervals, effort levels, date picker
- Task completion with auto-scheduling of next due date
- Overdue highlighting (warm coral due date text)
- Room cards with cleanliness indicator bar (green to yellow to red)
- German-language template selection after room creation (14 room types)
- All UI strings localized via ARB
Verification steps for user:
Test 1 - Room creation with templates (ROOM-01, TMPL-01, TMPL-02): Tap "Raum erstellen" FAB, enter "Kueche", select kitchen icon, save. Verify template picker appears. Check 2-3 templates, tap "Hinzufuegen". Verify tasks created in room.
Test 2 - Custom room without templates: Create room "Mein Hobbyraum". Verify NO template picker, direct navigation to empty task list.
Test 3 - Task creation and editing (TASK-01, TASK-02, TASK-04, TASK-05): Create task with name, "Woechentlich" frequency, "Mittel" effort. Tap row to edit, change frequency. Verify update.
Test 4 - Task completion (TASK-07): Tap checkbox. Verify next due date updates.
Test 5 - Overdue highlighting (TASK-08): Verify overdue tasks show warm coral due date text.
Test 6 - Room cards (ROOM-05): Verify 2-column grid with icon, name, due count, cleanliness bar.
Test 7 - Room reorder (ROOM-04): Drag room card to new position. Verify order persists.
Test 8 - Room edit and delete (ROOM-02, ROOM-03): Edit room name/icon. Delete room with cascade warning.
Test 9 - Task delete (TASK-03): Long-press task, confirm deletion.
Test 10 - Task sorting (TASK-06): Create tasks with different dates, verify due-date sort order.
</action>
<verify>User types "approved" or describes issues</verify>
<done>All 10 test scenarios pass. Phase 2 features confirmed working on running app.</done>
</task>
</tasks>
<verification>
User confirms all Phase 2 features work correctly on a running device/emulator.
</verification>
<success_criteria>
- All 10 test scenarios pass visual/functional verification
- Room CRUD, task CRUD, templates, completion, overdue, cleanliness indicator all working
- No crashes or unexpected behavior
</success_criteria>
<output>
After completion, create `.planning/phases/02-rooms-and-tasks/02-05-SUMMARY.md`
</output>