UserSearch
Client combobox-style search. Props: optional placeholder, className, onUserSelect.
Flow
- Requires authenticated session (
useSession); debounced fetch when query length ≥ 2. - Keyboard navigation (arrow keys, enter) and click-outside to close.
- Results render
Usernamerows; default selection navigates to/profile/{id}viauseRouter. - Loading and auth error states surfaced inline.
Styles: UserSearch.css.
Sources: src/app/components/user-search/UserSearch.tsx, src/app/components/username/Username.tsx