Summary
The sessions table in Session History is not properly sorted from recent to old. An in-progress session can appear in the middle of the table instead of at the top.
Expected Behavior
- Sessions should be sorted by date (most recent first)
- In-progress sessions should appear at the top
Current Behavior
Sessions appear in an inconsistent order, with active sessions potentially buried in the middle of the table.
Investigation Areas
- Check
getSessionHistoryData query - is it applying ORDER BY?
- Check if sorting happens client-side or server-side
- Verify the date field being used for sorting (created_at vs updated_at vs start_time)
Labels
bug, dashboard