Simplify compare verdict to fail, success, and pass rate.

Treat missing+mismatch as fail, match as success, and added as a special filter; show three right-aligned sheet badges.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-09-18 10:41:24 +08:00
parent 357b831f2d
commit bb00ec91f4
6 changed files with 189 additions and 148 deletions

View file

@ -10263,8 +10263,8 @@ html.login-page--paused .login-page__flare {
.bs-cmp-nav__legend {
display: grid;
grid-template-columns: repeat(4, 1.6em);
gap: 2px;
grid-template-columns: repeat(3, minmax(1.6em, auto));
gap: 4px 6px;
justify-items: end;
margin-top: 6px;
margin-left: auto;
@ -10273,6 +10273,40 @@ html.login-page--paused .login-page__flare {
font-weight: 700;
}
.bs-cmp-nav__stats {
display: inline-grid;
grid-template-columns: repeat(3, minmax(1.6em, auto));
gap: 2px 6px;
justify-items: end;
align-items: center;
flex: 0 0 auto;
font-variant-numeric: tabular-nums;
}
.bs-cmp-nav__num {
font-size: 11px;
font-weight: 700;
line-height: 1;
color: #475569;
opacity: 0.55;
}
.bs-cmp-nav__num--fail.is-hot {
color: #f87171;
opacity: 1;
}
.bs-cmp-nav__num--ok.is-hot {
color: #4ade80;
opacity: 1;
}
.bs-cmp-nav__num--rate {
color: #93c5fd;
opacity: 0.95;
min-width: 2.6em;
}
.bs-cmp-nav__list {
flex: 1 1 auto;
min-height: 0;
@ -10336,44 +10370,6 @@ html.login-page--paused .login-page__flare {
min-width: 0;
}
.bs-cmp-nav__stats {
display: inline-grid;
grid-template-columns: repeat(4, 1.6em);
gap: 2px;
justify-items: end;
align-items: center;
flex: 0 0 auto;
font-variant-numeric: tabular-nums;
}
.bs-cmp-nav__num {
font-size: 11px;
font-weight: 700;
line-height: 1;
color: #475569;
opacity: 0.55;
}
.bs-cmp-nav__num--removed.is-hot {
color: #f87171;
opacity: 1;
}
.bs-cmp-nav__num--added.is-hot {
color: #4ade80;
opacity: 1;
}
.bs-cmp-nav__num--changed.is-hot {
color: #fbbf24;
opacity: 1;
}
.bs-cmp-nav__num--unchanged {
color: #94a3b8;
opacity: 0.85;
}
.bs-cmp-main {
display: flex;
flex-direction: column;