[UX] Tier 1: Enhanced Session History Search & Filtering #35
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Overview
Implement comprehensive search and filtering capabilities for Session History to dramatically improve findability of past troubleshooting sessions.
Context
Engineers need to quickly reference past sessions by ticket number, client name, date, or tree used. Current implementation only has:
tree_snapshotJSONBResearch shows well-designed search can improve task completion by 75%.
Features to Implement
1. Ticket Number Search
2. Client Name Search/Filter
3. Date Range Filtering
started_atORcompleted_at4. Tree Name Filter
tree_snapshot.name5. Combined Search UI
Technical Approach
Backend Changes
GET /api/v1/sessionsendpoint:ticket_numberquery param (ILIKE search)client_namequery param (ILIKE search)tree_namequery param (JSONB path query)started_after/started_beforequery paramscompleted_after/completed_beforequery paramstree_namefield to Session model for performanceFrontend Changes
SessionFilterscomponentSessionHistoryPageAcceptance Criteria
Performance Considerations
ticket_number,client_name,started_attree_snapshot->'name'if query is slowEstimated Effort
2-3 days (backend + frontend work)
Priority
Critical - Engineers rely heavily on searching past sessions for documentation and troubleshooting patterns