@yemi33/minions 0.1.92 → 0.1.94
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +10 -0
- package/dashboard/js/render-prd.js +5 -4
- package/dashboard/js/render-prs.js +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -36,11 +36,12 @@ function renderPrd(prd, prog) {
|
|
|
36
36
|
actions = ' <button class="pr-pager-btn" style="font-size:9px;padding:1px 6px;color:var(--green);border-color:var(--green);margin-left:4px" onclick="planApprove(\'' + escHtml(prdFile) + '\',this)">Approve</button>';
|
|
37
37
|
} else if (effectiveStatus === 'completed') {
|
|
38
38
|
actions = ' <button class="pr-pager-btn" style="font-size:9px;padding:1px 6px;color:var(--green);border-color:var(--green);margin-left:4px" onclick="triggerVerify(\'' + escHtml(prdFile) + '\',this)">Verify</button>' +
|
|
39
|
-
' <button class="pr-pager-btn" style="font-size:9px;padding:1px 6px;
|
|
39
|
+
' <button class="pr-pager-btn" style="font-size:9px;padding:1px 6px;margin-left:4px" onclick="planArchive(\'' + escHtml(prdFile) + '\',this)">Archive</button>';
|
|
40
40
|
} else if (effectiveStatus === 'in-progress') {
|
|
41
41
|
actions = ' <button class="pr-pager-btn" style="font-size:9px;padding:1px 6px;color:var(--yellow);border-color:var(--yellow);margin-left:4px" onclick="planPause(\'' + escHtml(prdFile) + '\',this)">Pause</button>';
|
|
42
42
|
} else if (effectiveStatus === 'paused') {
|
|
43
|
-
actions = ' <button class="pr-pager-btn" style="font-size:9px;padding:1px 6px;color:var(--green);border-color:var(--green);margin-left:4px" onclick="planApprove(\'' + escHtml(prdFile) + '\',this)">Resume</button>'
|
|
43
|
+
actions = ' <button class="pr-pager-btn" style="font-size:9px;padding:1px 6px;color:var(--green);border-color:var(--green);margin-left:4px" onclick="planApprove(\'' + escHtml(prdFile) + '\',this)">Resume</button>' +
|
|
44
|
+
' <button class="pr-pager-btn" style="font-size:9px;padding:1px 6px;margin-left:4px" onclick="planArchive(\'' + escHtml(prdFile) + '\',this)">Archive</button>';
|
|
44
45
|
}
|
|
45
46
|
}
|
|
46
47
|
badge.innerHTML = '<span style="font-weight:600;font-size:11px;color:' + (statusColors[effectiveStatus] || 'var(--muted)') + '">' + (statusLabels[effectiveStatus] || effectiveStatus) + '</span>' +
|
|
@@ -238,7 +239,7 @@ function renderPrdProgress(prog) {
|
|
|
238
239
|
? '<span onclick="event.stopPropagation();triggerVerify(\'' + escHtml(g.file) + '\',this)" style="color:var(--green);cursor:pointer;font-size:9px;padding:1px 6px;background:rgba(63,185,80,0.1);border:1px solid rgba(63,185,80,0.3);border-radius:3px">Verify</span>'
|
|
239
240
|
: '<span onclick="event.stopPropagation();planPause(\'' + escHtml(g.file) + '\',this)" style="color:var(--yellow);cursor:pointer;font-size:9px;padding:1px 6px;background:rgba(210,153,34,0.1);border:1px solid rgba(210,153,34,0.3);border-radius:3px">Pause</span>';
|
|
240
241
|
const archiveBtn = isCompleted
|
|
241
|
-
? '<span onclick="event.stopPropagation();planArchive(\'' + escHtml(g.file) + '\')" style="color:var(--muted);cursor:pointer;font-size:9px;padding:1px 6px;background:var(--surface);border:1px solid var(--border);border-radius:3px">Archive</span>'
|
|
242
|
+
? '<span onclick="event.stopPropagation();planArchive(\'' + escHtml(g.file) + '\',this)" style="color:var(--muted);cursor:pointer;font-size:9px;padding:1px 6px;background:var(--surface);border:1px solid var(--border);border-radius:3px">Archive</span>'
|
|
242
243
|
: '';
|
|
243
244
|
const deleteBtn = '<span onclick="event.stopPropagation();planDelete(\'' + escHtml(g.file) + '\')" style="color:var(--red);cursor:pointer;font-size:9px;padding:1px 6px;background:rgba(248,81,73,0.1);border:1px solid rgba(248,81,73,0.3);border-radius:3px">Delete</span>';
|
|
244
245
|
const sourcePlanLink = g.sourcePlan
|
|
@@ -398,7 +399,7 @@ function renderPrdProgress(prog) {
|
|
|
398
399
|
}
|
|
399
400
|
|
|
400
401
|
function renderE2eSection(planFile) {
|
|
401
|
-
const prs = e2eByPlan[planFile] ||
|
|
402
|
+
const prs = e2eByPlan[planFile] || [];
|
|
402
403
|
const guide = guideByPlan[planFile];
|
|
403
404
|
if (prs.length === 0 && !guide) return '';
|
|
404
405
|
let html = '<div style="margin:6px 0 10px;padding:6px 10px;background:rgba(56,139,253,0.08);border:1px solid rgba(56,139,253,0.25);border-radius:4px">';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
let allPrs = [];
|
|
4
4
|
let prPage = 0;
|
|
5
|
-
const PR_PER_PAGE =
|
|
5
|
+
const PR_PER_PAGE = 25;
|
|
6
6
|
|
|
7
7
|
function prRow(pr) {
|
|
8
8
|
// Minions review (agent) state — separate from ADO human review
|
|
@@ -84,7 +84,7 @@ function openModal(i) {
|
|
|
84
84
|
document.getElementById('modal-title').textContent = item.name;
|
|
85
85
|
document.getElementById('modal-body').innerHTML =
|
|
86
86
|
'<div style="margin-bottom:12px"><button class="pr-pager-btn" style="font-size:10px;padding:3px 10px" onclick="promoteToKB(\'' + escHtml(item.name) + '\')">Add to Knowledge Base</button></div>' +
|
|
87
|
-
'<
|
|
87
|
+
'<div style="font-size:12px;line-height:1.7;color:var(--muted)">' + renderMd(item.content) + '</div>';
|
|
88
88
|
_modalDocContext = { title: item.name, content: item.content, selection: '' };
|
|
89
89
|
_modalFilePath = 'notes/inbox/' + item.name; showModalQa();
|
|
90
90
|
// Clear notification badge when opening this document
|
package/package.json
CHANGED