Add batch actions for multi-task completion (Phase 7)
Implement batch task completion feature allowing users to select and complete multiple care tasks at once. Adds edit mode to Today View with selection checkmarks, floating BatchActionBar, and confirmation dialog for completing more than 3 tasks. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -157,7 +157,7 @@ final class CreateCareScheduleUseCaseTests: XCTestCase {
|
||||
|
||||
// Then
|
||||
let wateringTasks = result.tasks.filter { $0.type == .watering }
|
||||
XCTAssertTrue(wateringTasks.allSatisfy { $0.notes?.contains("thorough") ?? false })
|
||||
XCTAssertTrue(wateringTasks.allSatisfy { $0.notes.contains("thorough") })
|
||||
}
|
||||
|
||||
func testExecute_WateringTasks_HaveCorrectPlantID() async throws {
|
||||
@@ -242,7 +242,7 @@ final class CreateCareScheduleUseCaseTests: XCTestCase {
|
||||
|
||||
// Then
|
||||
let fertilizerTasks = result.tasks.filter { $0.type == .fertilizing }
|
||||
XCTAssertTrue(fertilizerTasks.allSatisfy { $0.notes?.contains("highNitrogen") ?? false })
|
||||
XCTAssertTrue(fertilizerTasks.allSatisfy { $0.notes.contains("highNitrogen") })
|
||||
}
|
||||
|
||||
// MARK: - User Preferences Tests
|
||||
|
||||
Reference in New Issue
Block a user