Skip to content

Commit 389c513

Browse files
Fix action-queue table columns to match real JSON schema
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 575699e commit 389c513

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -164,13 +164,13 @@ <h2>Action Queue</h2>
164164
const items = Array.isArray(rawItems) ? rawItems : (rawItems && typeof rawItems === 'object' && rawItems.pr_number ? [rawItems] : []);
165165
if (items.length) {
166166
const qHtml = `<table>
167-
<thead><tr><th>Repo</th><th>PR</th><th>Priority</th><th>Days Open</th><th>Action</th></tr></thead>
167+
<thead><tr><th>Repository</th><th>PR</th><th>Priority</th><th>Hours Since Feedback</th><th>Overdue</th></tr></thead>
168168
<tbody>${items.map(q => `<tr>
169-
<td>${q.repo || q.owner_repo || '—'}</td>
169+
<td>${q.repository || q.repo || '—'}</td>
170170
<td>${q.pr_number ? `<a href="${q.pr_url || '#'}" target="_blank">#${q.pr_number}</a>` : '—'}</td>
171171
<td>${q.priority || '—'}</td>
172-
<td class="num">${q.days_open || '—'}</td>
173-
<td>${q.action || q.next_action || '—'}</td>
172+
<td class="num">${q.hours_since_last_external != null ? q.hours_since_last_external.toFixed(1) + 'h' : '—'}</td>
173+
<td>${q.overdue_sla ? '<span class="badge gap">Overdue</span>' : '<span class="badge open">OK</span>'}</td>
174174
</tr>`).join('')}</tbody>
175175
</table>`;
176176
document.getElementById('queue-table').innerHTML = qHtml;

0 commit comments

Comments
 (0)