Add lean review issues: up to two problem tags plus short note.

Persist review_issues, enforce max two on save, and show issue breakdown in stats.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-10-21 20:56:32 +08:00
parent 1bf353c505
commit 01ed885646
6 changed files with 165 additions and 10 deletions
+28
View File
@@ -94,6 +94,34 @@ input, select, textarea {
input:focus, select:focus, textarea:focus { border-color: var(--accent); }
label { display: block; margin: 0 0 6px; color: #a9a9ff; font-size: 13px; }
.form-row { margin-bottom: 12px; }
.issue-checks {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.issue-chip {
display: inline-flex;
align-items: center;
gap: 6px;
margin: 0;
padding: 6px 10px;
border: 1px solid var(--border);
border-radius: 10px;
background: #161622;
color: var(--text);
font-size: 13px;
cursor: pointer;
user-select: none;
}
.issue-chip input {
accent-color: var(--accent);
margin: 0;
}
.issue-chip:has(input:checked) {
border-color: rgba(246, 70, 93, 0.55);
background: rgba(246, 70, 93, 0.12);
color: #ffb4bc;
}
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { padding: 10px 8px; border-bottom: 1px solid var(--border); text-align: left; }