mirror of
https://github.com/jparkerweb/plan2code.git
synced 2026-11-29 21:21:18 -08:00
Give Help a Review Loop topic and open it from both Review Loop links
AI Assisted
This commit is contained in:
1 parent
bcb6e43dbd
commit
e0f82cc36b
12 files changed
+152
-14
No files matched your search
@@ -832,7 +832,7 @@ function loopHelpLink(entry) {
|
||||
const review = entry && entry.skill === REVIEW_LOOP_SKILL;
|
||||
const a = el("button", "dash-card-link", review ? "How the Review Loop works" : "How the loop works");
|
||||
a.type = "button";
|
||||
a.addEventListener("click", () => hooks.openHelpOn("loop"));
|
||||
a.addEventListener("click", () => hooks.openHelpOn(review ? "review-loop" : "loop"));
|
||||
return a;
|
||||
}
|
||||
|
||||
|
||||
@@ -186,9 +186,9 @@ export function renderReviewLoopSetup(main) {
|
||||
back.type = "button";
|
||||
back.addEventListener("click", close);
|
||||
actions.appendChild(back);
|
||||
const help = el("button", "linky loop-help", "How the loop works");
|
||||
const help = el("button", "linky loop-help", "How the Review Loop works");
|
||||
help.type = "button";
|
||||
help.addEventListener("click", () => hooks.openHelpOn("loop"));
|
||||
help.addEventListener("click", () => hooks.openHelpOn("review-loop"));
|
||||
actions.appendChild(help);
|
||||
pane.appendChild(actions);
|
||||
main.appendChild(pane);
|
||||
|
||||
Reference in new issue
Block a user