TUI: optimize fuzzy filtering and consolidate time formatting

- Extract formatRelativeTime to shared utility for reuse across components
- Optimize FilterableSelectList with pre-lowercased searchTextLower field (avoids toLowerCase on every keystroke)
- Implement custom fuzzy matching with space-separated token support and word boundary scoring
- Use matchesKey utility for consistent keybinding handling (arrows, vim j/k, ctrl+p/n)
- Fix searchable-select-list to support vim keybindings consistently
- Fix system-prompt runtimeInfo null check with nullish coalescing operator
This commit is contained in:
CJ Winslow
2026-01-18 23:55:16 -08:00
committed by Peter Steinberger
parent 1d9d5b30ce
commit a28c271488
5 changed files with 1409 additions and 1373 deletions

File diff suppressed because it is too large Load Diff