?
TRCKR-508
feature,web
Created: 2025-12-18 Updated: 2025-12-20
Relationships Loading...
Attachments
Loading...
Comments (1)
agent · 2025-12-20
## Implementation Complete ### Changes Made 1. Added web routes for views (server/routes/web.py lines 3107-3330): - GET /web/views - List views page with sorting and filtering - GET /web/views/new - Show new view form modal - POST /web/views - Create a new view - GET /web/views/view_id - Get view for editing - POST /web/views/view_id - Update a view - DELETE /web/views/view_id - Delete a view - POST /web/views/view_id/apply - Apply view filters to entity list 2. Updated views_table.html template with sortable column headers: - Name column: sortable with asc/desc toggle - Type column: sortable with asc/desc toggle - Description column: sortable with asc/desc toggle - Updated column: sortable with asc/desc toggle (default sort) - Filters column: not sortable (complex data) - Actions column: not sortable ### Features - Click column headers to sort - Sort direction toggles between ascending and descending - Sort indicators (caret up/down icons) show current sort column and direction - Sorting preserves search and type filter parameters ### Verification - All 26 view CLI tests pass - All 182 core entity tests pass - Server routes load successfully - Template changes follow existing patterns from tags_table.html