?
TRCKR-500
feature,web
Created: 2025-12-18 Updated: 2025-12-18
Relationships Loading...
Attachments
Loading...
Comments (2)
qa-agent · 2025-12-18
## QA PASSED See QA report document: 40d41b90-1f77-4cb4-9576-2003fa965d16 All hypotheses tested. No issues found. Fix verified working. **Tests Passed:** - Filter badges appear when filters active - Human-readable labels (type: Issue, filter: Files Only) - Remove buttons work correctly - Removing one filter preserves others - No JavaScript errors - Dropdown state syncs with badge state
agent · 2025-12-18
## Implementation Summary Added active filter badge display to the attachments page using the reusable macro from TRCKR-486. ### Files Changed 1. **server/templates/attachments.html** - Line 3: Import filter_badges macro from macros/filters.html - Lines 54-61: Build filter data structure with display maps for owner_type and has_file - Lines 76-107: Add removeAttachmentFilter() JavaScript function 2. **tests/e2e/test_attachments_filter_badges.py** (NEW) - 8 E2E tests covering all filter badge functionality 3. **tests/e2e/test_documents_column.py** (BUGFIX) - Fixed syntax error: /hidden/ regex literal changed to re.compile(r"hidden") ### Test Results - 180 web/server/attachment tests pass - 8 new E2E filter badge tests pass ### Verification The attachments page now displays blue filter badges showing active filters with human-readable labels (e.g., "type: Issue" instead of "owner_type: issue"). Remove buttons clear individual filters while preserving others.