Skip to content

Comments

feat(happy-app): sort sessions by activity, show timestamps#695

Open
davidrimshnick wants to merge 1 commit intoslopus:mainfrom
davidrimshnick:feat/sort-sessions-by-activity
Open

feat(happy-app): sort sessions by activity, show timestamps#695
davidrimshnick wants to merge 1 commit intoslopus:mainfrom
davidrimshnick:feat/sort-sessions-by-activity

Conversation

@davidrimshnick
Copy link

Summary

  • Sort active session project groups by most recent activity (updatedAt) instead of alphabetically by path
  • Sort sessions within machine groups by updatedAt instead of createdAt
  • Show relative timestamps (e.g. "5 min ago", "2 hours ago") on inactive session list items
  • Applied to both regular and compact active session views

This is a frontend-only change — the CLI already sends updatedAt timestamps.

Closes #636

Test plan

  • Sessions sorted by updatedAt descending (most recent first) — 1 test
  • Project groups sorted by most recent session activity — 1 test
  • Activity-based sort takes priority over alphabetical path sort — 1 test
  • Typecheck passes

🤖 Generated with Claude Code

Sort active session project groups by most recent activity instead of
alphabetically by path, and display relative timestamps on inactive
session items so users can quickly find their most recent sessions.

- Sort project groups by latest session updatedAt (both views)
- Sort sessions within machine groups by updatedAt instead of createdAt
- Show relative time (e.g. "5 min ago") on inactive session list items
- Add tests for activity-based sorting logic

Closes slopus#636

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Sort connections by last activity, show timestamp

1 participant