feat: add search filtering to shared libraries tab#142
Conversation
Implements case-insensitive search in the General tab (shared libraries) matching the pattern used in Static, Dynamic, and Strings tabs. Users can press "/" to filter dependencies by name or path. Fixes orhun#45
Codecov Reportβ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #142 +/- ##
========================================
- Coverage 3.41% 3.39% -0.02%
========================================
Files 19 19
Lines 2201 2217 +16
========================================
Hits 75 75
- Misses 2126 2142 +16 β View full report in Codecov by Sentry. π New features to boost your workflow:
|
|
Hey, thanks for the PR! When I press |
Mirrors the pattern from render_static_analysis (src/tui/ui.rs:751-771) so the search input is visible when filtering the Dependencies table on the General tab. Adds a bottom-border title with the search query and renders the cursor while in input mode. The input line is constructed inline (rather than reusing get_input_line) because the existing helper borrows from state, which conflicts with the later mutable borrow of state.list.state in render_stateful_widget.
|
Looking into it now |
|
Pushed the bottom-border indicator ( CI reds aside from One thing surfaced during testing: each keystroke rebuilds |
|
Indicator is now in the Dependencies block bottom border, mirroring the Bottom border of the Dependencies block across the input lifecycle: Baseline (no input mode): After After typing After The Full keystroke captures (200x80 tmux pane) and the docker attestation script are in commit |
Adds
/search functionality to the General tab (shared libraries).Closes #45