tfe: redirect internal metadata links from /repertoire to /search

redirect internal metadata links from /repertoire to /search, add query param for search bar prefill, fix filter visibility on desktop

 redirect metadata links from /repertoire to /search, prefill search bar, fix filter visibility

 link metadata to /search, preserve keyword filter in form, show active keyword chip
This commit is contained in:
Pontoporeia
2026-07-10 14:16:36 +02:00
parent f5a7d70fbc
commit f427352a71
4 changed files with 63 additions and 8 deletions
+32
View File
@@ -537,6 +537,38 @@
cursor: default;
}
/* Active keyword chip in filter bar */
.search-active-keyword {
display: inline-flex;
align-items: center;
gap: var(--space-3xs);
background: var(--surface-secondary);
border: 1px solid var(--border-secondary);
border-radius: var(--radius-sm);
padding: var(--space-3xs) var(--space-xs);
font-size: var(--step--2);
color: var(--text-secondary);
white-space: nowrap;
}
.search-active-keyword strong {
color: var(--text-primary);
font-weight: 500;
}
.search-keyword-remove {
color: var(--text-secondary);
text-decoration: none;
font-size: 1.1em;
line-height: 1;
padding: 0 var(--space-4xs);
margin-left: var(--space-4xs);
}
.search-keyword-remove:hover {
color: var(--accent-primary);
}
.search-filter-select {
font-size: var(--step--1);
padding: var(--space-3xs) var(--space-2xs);