fix(web): show clustering max-distance section for all semisupervised methods (v1-v5) #1497
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/admin-distance-visible-v5"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Production runs
clustering_method = semisupervised-v5, but the Admin → Discovery → Faces & Clustering tab hid the Clustering-Maximaldistanz section entirely for v3/v4/v5:isSemisupervisedActivehardcoded['semisupervised-v1','semisupervised-v2']. The single clustering parameter (clustering_max_distance, spec 050 / ADR 0101, one endpoint for all semisupervised methods) was therefore not changeable from the UI at all while v5 is active.Fix
AdminDiscoveryTab.svelte: visibility predicate is now a prefix check (startsWith('semisupervised-')), preserving the draft-else-stored resolution semantics. Covers v1–v5 and future semisupervised methods.(semisupervised-v1)suffix fromadminClusteringDistanceTitlein de/en/da.semisupervised-v5is the stored method (the production scenario; the dropdown itself still lists only v1/v2 — noted as follow-up).Validation
npm run checkin apps/web: 0 errors (pre-existing a11y warnings untouched)