epimetheus: remove dead disagreement_types UI card
Ganymede review finding — the review-summary API no longer returns disagreement_types, so the card always showed "No disagreements." Removed the JS loop and HTML table. Pentagon-Agent: Epimetheus <0144398e-4ed3-4fe2-95a3-3d72e1abf887> Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
143adb09e9
commit
d8a64d479f
1 changed files with 0 additions and 13 deletions
|
|
@ -194,12 +194,6 @@ fetch('/api/review-summary?days=30')
|
||||||
reasonRows += '<tr><td><code>' + esc(r.reason) + '</code></td><td>' + r.count + '</td></tr>';
|
reasonRows += '<tr><td><code>' + esc(r.reason) + '</code></td><td>' + r.count + '</td></tr>';
|
||||||
}}
|
}}
|
||||||
|
|
||||||
// Disagreement types
|
|
||||||
let disagreeRows = '';
|
|
||||||
for (const d of (data.disagreement_types || [])) {{
|
|
||||||
disagreeRows += '<tr><td>' + esc(d.type) + '</td><td>' + d.count + '</td></tr>';
|
|
||||||
}}
|
|
||||||
|
|
||||||
el.innerHTML = `
|
el.innerHTML = `
|
||||||
<div class="grid">
|
<div class="grid">
|
||||||
<div class="card"><div class="label">Total Reviews</div><div class="hero-value">${{data.total}}</div></div>
|
<div class="card"><div class="label">Total Reviews</div><div class="hero-value">${{data.total}}</div></div>
|
||||||
|
|
@ -215,13 +209,6 @@ fetch('/api/review-summary?days=30')
|
||||||
${{reasonRows || '<tr><td colspan="2" style="color:#8b949e">No rejections</td></tr>'}}
|
${{reasonRows || '<tr><td colspan="2" style="color:#8b949e">No rejections</td></tr>'}}
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<div class="card">
|
|
||||||
<div style="font-weight:600;margin-bottom:8px">Disagreement Types</div>
|
|
||||||
<table>
|
|
||||||
<tr><th>Type</th><th>Count</th></tr>
|
|
||||||
${{disagreeRows || '<tr><td colspan="2" style="color:#8b949e">No disagreements</td></tr>'}}
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
</div>`;
|
</div>`;
|
||||||
}}).catch(() => {{
|
}}).catch(() => {{
|
||||||
document.getElementById('review-container').innerHTML =
|
document.getElementById('review-container').innerHTML =
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue