Skip to content

feat: track session types and display activity in project subtitles#220

Merged
matt2e merged 1 commit intomainfrom
track-session-types
Feb 19, 2026
Merged

feat: track session types and display activity in project subtitles#220
matt2e merged 1 commit intomainfrom
track-session-types

Conversation

@matt2e
Copy link
Contributor

@matt2e matt2e commented Feb 19, 2026

Track session types for running sessions and display activity summaries in project card subtitles.

Changes

  • projectStateStore: Add getRunningSessionTypes() method that returns session types for all running sessions in a project, delegating type lookups to the unified session registry.
  • BranchCard / RemoteBranchCard: Register sessions with their actual session type instead of hardcoded 'other'.
  • utils.ts: Add pluralize(), sessionTypeLabel(), and projectSubtitle() helpers that build human-readable activity descriptions (e.g. "2 repos · making a commit and a note").
  • ProjectsList / ProjectsSidebar: Replace static location text and plain repo counts with the new projectSubtitle() that shows repo count plus any active session activity.

Register actual session types (commit, note, review) instead of 'other'
when starting sessions in BranchCard and RemoteBranchCard.

Add getRunningSessionTypes() to ProjectStateStore to retrieve the types
of all running sessions for a given project.

Add projectSubtitle() utility that builds descriptive subtitles combining
repo count with active session activity, e.g.:
- "1 repo"
- "2 repos · making a commit"
- "1 repo · making a commit and a note"
- "2 repos · pushing changes"

Update ProjectsList and ProjectsSidebar to use projectSubtitle() for
card and sidebar item subtitles.
@matt2e matt2e merged commit c64a936 into main Feb 19, 2026
3 checks passed
@matt2e matt2e deleted the track-session-types branch February 19, 2026 21:10
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.

1 participant

Comments