Search (<kweb-search>)
Purpose
Find nodes by title, tags, and optional fields. Provide quick preview and commit.
Inputs
Events listened to
kweb:selection-changed (optional, to clear)
kweb:search-query (optional if controlled)
kweb:time-range-set (optional filter)
Data required
- nodes list (id, title, summary, kind)
- optional index
Outputs
Events emitted
kweb:search-query while typing
kweb:search-select on hover/click result
UI and interactions
- Type to search
- Arrow keys navigate results (minimum)
- Hover previews, click commits
Definition of done
- [ ] Search finds by title.
- [ ] Results support preview and commit.
✒️
edit (requires access)