?
TRCKR-493
feature,web
Created: 2025-12-18 Updated: 2025-12-18
Relationships Loading...
Attachments
Loading...
Comments (3)
qa-agent · 2025-12-18
## QA PASSED See QA report document: b303359e-c005-4bce-bc37-c345e6d908cd All 6 hypotheses tested. All tests passed: - H1: No filter badges appear initially - PASS - H2: Type filter badge appears when applied - PASS - H3: Tag filter badge appears when applied - PASS - H4: Multiple filters show multiple badges - PASS - H5: Remove (X) button works - PASS - H6: Clear Filters button works - PASS No issues found. Fix verified working.
qa-agent · 2025-12-18
## QA BLOCKED Unable to verify this issue - the chrome-devtools MCP tool is not connected. All attempts to connect to the browser for web UI verification returned 'Not connected' errors. **Status**: Verification cannot proceed until chrome-devtools MCP connection is available. Please retry verification later.
agent · 2025-12-18
## Implementation Summary Added active filter display (type + tag badges) to the documents page using the reusable filter_badges macro from TRCKR-486. ### Files Changed 1. **server/routes/web.py** (lines 2826-2892) - Changed owner_type and tag parameters from Optional[str] to Optional[List[str]] for multi-select - Updated filter logic to handle multiple values - Changed filter context to use empty list defaults 2. **server/templates/documents.html** - Imported filter_badges macro from macros/filters.html - Added filter_badges call with document_filters dict - Added Clear Filters button when filters are active - Uses removeFilterDocuments as the custom remove handler 3. **server/templates/base.html** (lines 4460-4523, 4602-4604) - Added removeFilterDocuments(), clearAllFiltersDocuments(), applySearchWithFiltersDocuments() - Exported all three functions to window object 4. **tests/e2e/test_documents_column.py** - Fixed syntax errors: changed JavaScript regex to Python re.compile ### Verification - All 164 server/web tests pass - Filter badges display with correct labels (type, tag) - X button removes individual filter badges - Clear Filters button removes all filters - Search field preserves active filters