Chunk 7: Source Picker Popover UI

↗ view on GitHub · Gadoes · 2026-05-02 · 488ea9b4

- Create SourcePickerPopover component with search, region grouping, state
  badges (Always on / Connected / Connect / Permission required), region_glyph
  display, and checkbox hooks for Chunk 8 scope toggling
- Create SourcesPill component showing 'Sources · N active' in chat toolbar
- Integrate SourcesPill + SourcePickerPopover into ChatInput.tsx
- Closes on outside click and Escape key
- Footer 'Add custom MCP server' placeholder (disabled for v1)
- 16 component tests covering popover open/close, region order, search
  filtering, state badges, region_glyph, and checkbox callbacks
- tsc --noEmit passes; all 51 frontend tests pass

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Repository Gadoes/dispumike
Author Gadoes <62180984+Gadoes@users.noreply.github.com>
Authored
Parents bb72208c
Stats 3 files changed , +613 , -1
Part of Source Connections, Picker UI, and Per-Query Scope Toggling

Capture this commit into my fork

Download a Markdown prompt that tells Claude how to port this exact commit into your working tree. Run it via claude -p < capture-commit-488ea9b4.md from inside the repo you want the change in.

⬇ Download capture-commit-488ea9b4.md