feat(search): rank titles and filter by kind (#274)
ci / web (push) Successful in 1m27s
ci / rust (push) Successful in 2m46s
e2e / e2e (push) Failing after 1m48s
ci / image (push) Successful in 2m49s

This commit was merged in pull request #274.
This commit is contained in:
2026-09-20 18:12:37 +01:00
parent 3c6c07843e
commit dab3c06dd7
5 changed files with 401 additions and 92 deletions
+23
View File
@@ -622,6 +622,29 @@ body {
gap: var(--space-3);
}
/* the kind filter narrows both groups at once, so it sits above them rather
than inside either head. Its counts are the whole point — they say what
the filter is holding back, so an empty group never reads as no match. */
.deck-filter {
display: flex;
flex-wrap: wrap;
gap: var(--space-2);
margin: 0 0 var(--space-6);
}
.control-filter {
gap: var(--space-2);
}
.filter-count {
color: var(--ink-faint);
font-variant-numeric: tabular-nums;
}
.control-filter[aria-pressed="true"] .filter-count {
color: var(--ink-muted);
}
/* a sweep in flight borrows the rail's probing-lamp idiom, inline */
.deck-status .lamp {
display: inline-block;