0bf32ae1ad
refactor(database): remove unused table mapping and data classes
...
CI / ci (push) Has been cancelled
Build and Release to F-Droid / ci (push) Successful in 11m4s
Build and Release to F-Droid / build-and-deploy (push) Successful in 12m9s
- Deleted table `map` methods, data classes, and companions in schema verification code.
- Updated migrations for more precise version checks.
2026-03-19 15:27:03 +01:00
b2f14dcd97
feat(08-01): add isActive filters to CalendarDao, DailyPlanDao, RoomsDao
...
- CalendarDao: filter all 6 task queries (watchTasksForDate,
watchTasksForDateInRoom, watchOverdueTasks, watchOverdueTasksInRoom,
getTaskCount, getTaskCountInRoom) by isActive=true
- DailyPlanDao: filter all 3 queries (watchAllTasksWithRoomName,
getOverdueAndTodayTaskCount, getOverdueTaskCount) by isActive=true
- RoomsDao: filter watchRoomWithStats task query by isActive=true
- Update migration test: add schema_v3.dart, test v1->v3 and v2->v3 paths
- Update database_test schemaVersion assertion to expect 3
- Fix test helpers in home_screen_test and task_list_screen_test to pass isActive=true
2026-03-18 20:56:34 +01:00
998f2be87f
docs(phase-2): complete context and implementation planning
...
- Documented comprehensive plan for Phase 2: Rooms and Tasks
- Includes feature scope, requirements, implementation decisions, UI/UX specifics, and scheduling logic
- Updated schema: added Room and Task tables with CRUD and recurrence support
- Added implementation details for room/task templates, cleanliness indicators, and overdue task handling
- Generated Drift schemas for database versioning (v1 → v2) with test coverage
2026-03-16 18:39:00 +01:00
d2e452655c
feat(02-01): Drift tables, DAOs, scheduling utility, domain models with tests
...
- Add Rooms, Tasks, TaskCompletions Drift tables with schema v2 migration
- Create RoomsDao with CRUD, watchAll, watchWithStats, cascade delete, reorder
- Create TasksDao with CRUD, watchInRoom (sorted by due), completeTask, overdue detection
- Implement calculateNextDueDate and catchUpToPresent pure scheduling functions
- Define IntervalType enum (8 types), EffortLevel enum, FrequencyInterval model
- Add formatRelativeDate German formatter and curatedRoomIcons icon list
- Enable PRAGMA foreign_keys in beforeOpen migration strategy
- All 30 unit tests passing (17 scheduling + 6 rooms DAO + 7 tasks DAO)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-15 21:50:12 +01:00