From 138d3000486f645b167cca610a0f979aaf191b30 Mon Sep 17 00:00:00 2001 From: Adam Moussa Date: Wed, 1 Jul 2026 19:46:15 -0400 Subject: [PATCH] Add sidebar quick buttons and Dependabot review rendering Add Expand all / Collapse all controls and a Dependabot-only filter to the top of the queue sidebar. Render the dependency-risk assessment in the detail view (update-type and risk badges, packages, reasons, title and description notes) reusing the post, revise, and auto-merge controls, and show a risk chip on Dependabot rows in the queue. Reviews without a "_kind" fall back to the code-review layout. --- static/index.html | 101 +++++++++++++++++++++++++++++++++++++--------- 1 file changed, 82 insertions(+), 19 deletions(-) diff --git a/static/index.html b/static/index.html index 1d20900..10d1556 100644 --- a/static/index.html +++ b/static/index.html @@ -44,7 +44,11 @@ button.primary { background: var(--accent); color: #0b0e14; border-color: var(--accent); font-weight: 600; } button.danger { border-color: var(--block); } .layout { display: grid; grid-template-columns: 340px 1fr; height: calc(100vh - 51px); } - .queue { border-right: 1px solid var(--line); overflow-y: auto; background: var(--panel); } + .queue-col { display: flex; flex-direction: column; border-right: 1px solid var(--line); overflow: hidden; background: var(--panel); } + .queue-tools { display: flex; gap: 6px; padding: 8px 10px; border-bottom: 1px solid var(--line); background: var(--panel-2); } + .queue-tools button { font-size: 12px; padding: 4px 9px; } + .queue-tools button.on { background: var(--accent); color: #0b0e14; border-color: var(--accent); font-weight: 600; } + .queue { overflow-y: auto; background: var(--panel); flex: 1; } .queue-item { padding: 12px 16px; border-bottom: 1px solid var(--line); cursor: pointer; } @@ -84,6 +88,12 @@ .rec.APPROVE { color: var(--nit); border-color: var(--nit); } .rec.REQUEST_CHANGES { color: var(--block); border-color: var(--block); } .rec.COMMENT { color: var(--fix); border-color: var(--fix); } + .rec.dep-safe, .rec.dep-low_risk { color: var(--nit); border-color: var(--nit); } + .rec.dep-risky { color: var(--fix); border-color: var(--fix); } + .rec.dep-breaking { color: var(--block); border-color: var(--block); } + .badge.dep-safe, .badge.dep-low_risk { color: var(--nit); border-color: var(--nit); } + .badge.dep-risky { color: var(--fix); border-color: var(--fix); } + .badge.dep-breaking { color: var(--block); border-color: var(--block); } .summary { background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 8px; padding: 14px 16px; margin: 8px 0 16px; } .cat { margin: 14px 0; } @@ -127,14 +137,21 @@
-
Loading queue...
+
+
+ + + +
+
Loading queue...
+
Select a PR. Reviews are prepared automatically in the background.