Description
The NLFilterBar component commits the current input as a filter when the user blurs (clicks away from) the input field. This is unexpected behavior — users may click elsewhere to dismiss their typing, not to commit it.
Location
dashboard/src/components/shared/NLFilterBar.tsx line ~154:
onBlur={() => { if (inputValue.trim()) commitInput(); }}
Steps to Reproduce
- Go to Sessions page
- Start typing a filter like "active sessions"
- Click somewhere else on the page (e.g., a nav item, scrolling)
- Filter is committed as chips without the user pressing Enter
Expected Behavior
Filters should only commit on explicit actions:
- Enter key
- Comma
- Clicking a submit button
Blur should NOT commit — it is not an intentional filter action.
Fix
Remove the onBlur handler or replace with a clear button pattern. Users who type and click away are implicitly cancelling, not confirming.
Environment
- Aegis Dashboard (all versions with NLFilterBar)
- All browsers
Description
The NLFilterBar component commits the current input as a filter when the user blurs (clicks away from) the input field. This is unexpected behavior — users may click elsewhere to dismiss their typing, not to commit it.
Location
dashboard/src/components/shared/NLFilterBar.tsxline ~154:Steps to Reproduce
Expected Behavior
Filters should only commit on explicit actions:
Blur should NOT commit — it is not an intentional filter action.
Fix
Remove the
onBlurhandler or replace with a clear button pattern. Users who type and click away are implicitly cancelling, not confirming.Environment