mirror of
https://github.com/jparkerweb/plan2code.git
synced 2026-11-16 04:45:33 -08:00
Polish the Auto Review launch pane and the Notepad button
AI Assisted
This commit is contained in:
1 parent
d32925cccf
commit
452d8e3895
3 files changed
+9
-3
No files matched your search
@@ -724,6 +724,7 @@ export function renderConfirm(main, entry) {
|
||||
// Implement's card reviews the phase before sign-off unless this is unticked.
|
||||
let review = null;
|
||||
if (entry.review) {
|
||||
pane.appendChild(el("hr", "confirm-rule"));
|
||||
const label = el("label", "confirm-review");
|
||||
review = el("input");
|
||||
review.type = "checkbox";
|
||||
@@ -732,7 +733,7 @@ export function renderConfirm(main, entry) {
|
||||
page.dashReview = review.checked;
|
||||
cmdCode.textContent = launchVariant(entry, review.checked).command;
|
||||
});
|
||||
label.append(review, el("span", null, "Review: a fresh pass over the phase's changes before sign-off"));
|
||||
label.append(review, el("span", null, "Auto Review: fresh agent pass over the phase's changes before sign-off"));
|
||||
pane.appendChild(label);
|
||||
}
|
||||
|
||||
|
||||
@@ -409,6 +409,7 @@
|
||||
.confirm-detail { margin: 0; font-size: 13px; color: var(--accent); }
|
||||
.confirm-spec { margin: 0; font-size: 13px; color: var(--ink-2); }
|
||||
.confirm-spec code { font-family: var(--mono); font-size: 12px; }
|
||||
.confirm-rule { width: 100%; height: 0; margin: 6px 0 2px; border: 0; border-top: 1px solid var(--accent); }
|
||||
.confirm-review { display: flex; gap: 8px; align-items: center; margin: 4px 0 8px; color: var(--ink-2); cursor: pointer; }
|
||||
.confirm-review input { accent-color: var(--accent, currentColor); }
|
||||
.confirm-cmd { margin: 2px 0 0; }
|
||||
|
||||
@@ -956,8 +956,12 @@
|
||||
}
|
||||
|
||||
/* The top bar's Notepad button: drawn and lit like the Subagents button. */
|
||||
.notepad-btn { border-color: var(--rule-2); color: var(--ink-2); display: inline-flex; align-items: center; justify-content: center; }
|
||||
.btn.notepad-btn { padding: 0 6px; align-self: stretch; }
|
||||
.notepad-btn { border-color: var(--rule-2); color: var(--ink-2); display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
|
||||
.btn.notepad-btn { padding: 0 8px; align-self: stretch; }
|
||||
.notepad-btn .notepad-label { font-size: 13px; line-height: 1; }
|
||||
.notepad-btn .np-band { fill: var(--ink-2); stroke: none; }
|
||||
.notepad-btn:hover:not(:disabled) .np-band { fill: var(--accent); }
|
||||
.notepad-btn:disabled .np-band { fill: var(--ink-3); }
|
||||
.notepad-btn svg { width: 16px; height: 16px; display: block; }
|
||||
.notepad-btn .np-page,
|
||||
.notepad-btn .np-ring,
|
||||
|
||||
Reference in new issue
Block a user