fix(dashboard): namespace autocomplete doesn't filter by input. Fixes #3408 #5076
All Vouch review confidence checks passed
Residual risk 0.16 = Change Risk (0.41) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.41 · 210 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.320
Shallow Review Depth
shallow_review_depth
0.289
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #5076"
general
weight: 0.35
kostis-codefresh
Summary
The NAMESPACE
<AutoComplete>in the dashboard header (ui/src/app/components/header/header.tsx) never filtered itsoptionsby the typed input. Ant Design'sAutoCompletedoes not filter by default unless you pass an explicitfilterOptionprop, so typing into the namespace search box always showed the full, unfiltered namespace list in its original order — making it hard to find a namespace in a cluster with many of them.This is the same bug reported in #3408 back in 2024. That issue has a comment pointing at the exact same one-line fix, but it looks like it was closed without the fix ever actually being merged — still reproduces today on
masterand on the latest release (v1.9.1).Change
Add a case-insensitive
filterOptionto the<AutoComplete>so the dropdown only shows namespaces whose name contains the typed substring:Net diff is a single line.
Checklist
[x] This is a bug fix (#3408)
[x] PR title is conventional and suffixes the issue number
[x] Commit is signed off (DCO)
[ ] Builds green — CI will confirm
[ ] No existing unit tests cover
header.tsx; happy to add one if requested, wanted to confirm scope first given this is a one-line prop addition[x] Ran
tsc --noEmitlocally before/after — identical pre-existing error set (215, none inheader.tsx), so this change introduces no new type errors🤖 Generated with Claude Code