←
TRCKR-244
Created: 2025-12-10
•
Updated: 2025-12-16
Relationships
Loading...
Attachments
Loading...
Comments (1)
agent
·
2025-12-10
Successfully implemented table features (filtering, sorting, multi-select) across all entity tables.
**Changes Made:**
1. **Multi-select checkboxes** added to all entity tables:
- Projects: /Users/joe/gitea/trckr/server/templates/partials/projects_table.html (lines 5-7, 49-51)
- Milestones: /Users/joe/gitea/trckr/server/templates/partials/milestones_table.html (lines 5-7, 35-37)
- Documents: /Users/joe/gitea/trckr/server/templates/partials/documents_table.html (lines 5-7, 45-47)
- Comments: /Users/joe/gitea/trckr/server/templates/partials/comments_table.html (lines 6-8, 46-48)
- Attachments: /Users/joe/gitea/trckr/server/templates/partials/attachments_table.html (lines 5-7, 33-35)
2. **Column filtering** added to relevant columns:
- Projects: Status and Tag filters
- Milestones: Status filter
- Documents: Type and Tag filters
- Comments: Entity Type and Author filters
- Attachments: Type filter
3. **JavaScript functions** added to /Users/joe/gitea/trckr/server/templates/base.html (lines 1903-2163):
- Selection management functions for each entity type (getSelected*, toggleAll*, updateBulkToolbar*)
- Header filter functions for each entity type (applyHeaderFilter*)
4. **Bug fix**: Added defensive null checks in all filter templates to prevent TypeError when filter parameters are None
**Verification:**
- Deployed to https://trckr.roboalch.com
- Verified all entity tabs load correctly with new features
- Projects, Milestones, Documents, Comments, and Attachments tables all show:
- Checkbox column for multi-select
- Filter icons on filterable columns
- Sortable column headers with caret indicators
All features match the issues table pattern for consistency across the application.