mirror of
https://github.com/jparkerweb/plan2code.git
synced 2026-11-16 20:45:33 -08:00
Add Back to the dashboard to the loop's end screen
AI Assisted
This commit is contained in:
1 parent
c8d12a3d99
commit
26cb17f04a
10 files changed
+62
-7
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user