A need may be paused: its card stays, with no form and a button that does not press
Test / test (pull_request) Successful in 1m12s

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GT37Z1Xtfd9pUuQtMTg6Yt
This commit is contained in:
Bendik Aagaard Lynghaug
2026-09-30 20:09:14 +02:00
co-authored by Claude Opus 5.5
parent e2497941c8
commit 9368086d81
7 changed files with 56 additions and 13 deletions
+5 -3
View File
@@ -180,11 +180,13 @@ fn check_needs(
}
}
if failed == 0 {
let planned = file.needs.iter().filter(|n| n.planned).count();
let planned = file.needs.iter().filter(|n| n.planned && !n.paused).count();
let paused = file.needs.iter().filter(|n| n.paused).count();
println!(
"OK: {} need(s) structurally met, {} planned, {} persona(s)",
file.needs.len() - planned,
"OK: {} need(s) structurally met, {} planned, {} paused, {} persona(s)",
file.needs.len() - planned - paused,
planned,
paused,
file.personas.len()
);
}