Add Back to the dashboard to the loop's end screen

AI Assisted
This commit is contained in:
jparkerweb committed 2026-11-02 13:23:13 -08:00
1 parent c8d12a3d99
commit 26cb17f04a
10 files changed
+62 -7

No files matched your search

+2 -2
View File
@@ -2540,7 +2540,7 @@ fn stop_loop(ctx: &Ctx, cause: StopCause, line: String, can: &[&str]) {
"evidence": "evidence",
"phases": phase_rows(&rec),
"uncommitted": uncommitted,
"can": can,
"can": can.iter().copied().chain(["dashboard"]).collect::<Vec<_>>(),
},
});
post_end(ctx, &rec, &patch);
@@ -2609,7 +2609,7 @@ fn finish(ctx: &Ctx) {
"line": one_line(&said),
"phases": phase_rows(&rec),
"uncommitted": [],
"can": ["finalize"],
"can": ["finalize", "dashboard"],
});
if let Some(id) = evidence {
end["evidence"] = json!(id);