Implement a search overlay for filtering and navigating cues. Press s to open a centered modal, type to filter, use j/k to navigate, and press Enter to seek to the selected cue. Audio continues playing while search
is open.
Changes
internal/ui/search/search.go — New search component with real-time filtering, results list, and preview pane
internal/ui/styles.go — Added SearchMatchStyle and SearchSelectedStyle
internal/app/keys.go — Added Search keybinding (s key)
internal/ui/legend/legend.go — Added search to Nav legend
internal/app/app.go — Integrated search overlay into app
Features
Centered modal with two-column layout (results + preview)
Real-time filtering with case-insensitive text matching
Match highlighting and result navigation
Full cue preview with timestamps and surrounding context
Enter to seek, Esc to close without seeking
Testing
go build ./…
Run: ./playback audio.mp3 -t transcript.srt
Press s to open search
Type to filter, j/k to navigate, Enter to seek, Esc to close
# Search Overlay Feature
## Summary
Implement a search overlay for filtering and navigating cues. Press `s` to open a centered modal, type to filter, use `j`/`k` to navigate, and press `Enter` to seek to the selected cue. Audio continues playing while search
is open.
## Changes
- **`internal/ui/search/search.go`** — New search component with real-time filtering, results list, and preview pane
- **`internal/ui/styles.go`** — Added `SearchMatchStyle` and `SearchSelectedStyle`
- **`internal/app/keys.go`** — Added `Search` keybinding (`s` key)
- **`internal/ui/legend/legend.go`** — Added search to Nav legend
- **`internal/ui/transcript/transcript.go`** — Added `AllCues()` accessor
- **`internal/app/app.go`** — Integrated search overlay into app
## Features
- Centered modal with two-column layout (results + preview)
- Real-time filtering with case-insensitive text matching
- Match highlighting and result navigation
- Full cue preview with timestamps and surrounding context
- Enter to seek, Esc to close without seeking
## Testing
1. `go build ./…`
2. Run: `./playback audio.mp3 -t transcript.srt`
3. Press `s` to open search
4. Type to filter, `j`/`k` to navigate, `Enter` to seek, `Esc` to close
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Search Overlay Feature
Summary
Implement a search overlay for filtering and navigating cues. Press
sto open a centered modal, type to filter, usej/kto navigate, and pressEnterto seek to the selected cue. Audio continues playing while searchis open.
Changes
internal/ui/search/search.go— New search component with real-time filtering, results list, and preview paneinternal/ui/styles.go— AddedSearchMatchStyleandSearchSelectedStyleinternal/app/keys.go— AddedSearchkeybinding (skey)internal/ui/legend/legend.go— Added search to Nav legendinternal/ui/transcript/transcript.go— AddedAllCues()accessorinternal/app/app.go— Integrated search overlay into appFeatures
Testing
go build ./…./playback audio.mp3 -t transcript.srtsto open searchj/kto navigate,Enterto seek,Escto close