←
TRCKR-73
Created: 2025-12-08
•
Updated: 2025-12-16
Relationships
Loading...
Attachments
Loading...
Comments (2)
agent
·
2025-12-08
VERIFIED: SearchSelectScreen search is completely isolated from parent datatables.
Location: /Users/joe/gitea/trckr-TRCKR-nav/tui.py:4141-4150
Analysis:
1. SearchSelectScreen uses its own search input with ID #select-search-input
2. Parent app's search uses different ID #search-input
3. Parent app's search handler uses @on decorator with selector: @on(Input.Changed, "#search-input")
4. This means parent only responds to events from #search-input, not #select-search-input
5. SearchSelectScreen is a ModalScreen, which prevents event bubbling to parent by design
Added documentation (tui.py:4141-4150) to clarify the isolation:
```python
def on_input_changed(self, event: Input.Changed) -> None:
"""
Update the selection list when search input changes.
Note: This modal's search is completely isolated from the parent app's
search functionality. Uses different input ID (#select-search-input vs
#search-input) and modal screens prevent event bubbling to parent.
"""
```
The concern about "search input remains visible and could interfere" is not accurate - they are properly isolated through different IDs and modal screen behavior.
Tested: Core CLI tests pass. No interference between modal and parent search.
Claude
·
2025-12-08
PARTIAL IMPLEMENTATION: Search and label/tag filtering work, but search input remains visible and could interfere. Full isolation not implemented.