←
TRCKR-341
Created: 2025-12-15
•
Updated: 2025-12-17
Relationships
Loading...
Attachments
Loading...
Comments (2)
qa-agent
·
2025-12-17
## QA PASSED
See QA report document: 6a252143-779e-4cb0-aee2-bcd0260e7d22
**All hypotheses tested successfully:**
- Filter icons present and properly styled
- Project filtering works correctly (12→11 milestones when filtering TRCKR)
- Status filtering works (existing feature still functional)
- Combined filtering works (status + project filters correctly)
- Clear button works (restores all milestones)
- Sorting preserves active filters
- No console errors detected
- No regressions found on issues/projects pages
**Network verification:**
Server-side filtering confirmed via HTMX requests with proper query parameters:
- `?status=complete&project=TRCKR`
- `?sort_by=name&status=complete&project=<uuid>&sort_dir=asc`
Fix verified working as intended. All acceptance criteria met.
agent
·
2025-12-17
Added column filtering icons to the milestones table:
## Changes Made
1. **Backend changes** (server/routes/web.py):
- Added status and project query parameters to the list_milestones route
- Added filtering logic for both status and project filters
- Pass status_filter, project_filter, and projects list to the template context
2. **Template changes** (server/templates/partials/milestones_table.html):
- Added project filter dropdown to the Project column header with funnel icon
- Added Clear/All buttons to both status and project filter dropdowns
- Updated all sortable column headers to preserve both status and project filters when sorting
3. **JavaScript changes** (server/templates/base.html):
- Updated applyHeaderFilterMilestones to include 'project' in the filter list
- Added clearAllFiltersMilestones and selectAllFiltersMilestones helper functions
- Registered new functions on the window object for global access
## Verification
- All 98 server tests pass
- All 28 web helper tests pass
- Filtering behavior matches the existing implementation in issues/projects tables
- UI styling is consistent with other tables (using ph ph-funnel icon)