Skip to content

feat: split history into Stats, Projects, and Sessions tabs - #62

Merged
stefanprodan merged 2 commits into
mainfrom
history-tabs
Sep 23, 2026
Merged

stefanprodan merged 2 commits into
mainfrom
history-tabs

Conversation

@stefanprodan

Copy link
Copy Markdown
Owner

Reworks the history (h) view into three tabs, cycled with ↹/←/→:

  • Stats — three rows of lists: Tokens | Models (tokens + share, top 5) | Activity (tokens/turns/sessions per active day, avg session, busiest day, active days, streak); top projects this week | this month | this year; Tools | MCP | Bash (programs Bash calls ran, parsed from each command's leading word). Values sit flush right, counts in cyan, and spare width evens the columns out. Narrower terminals wrap each row's third list below its first two, then stack.
  • Projects — the per-project table (top 20, +N more), moved out of Stats.
  • Sessions — unchanged.

The collector now keeps per-project tokens by day (for the calendar-period rankings) and per-program Bash counts.

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
@stefanprodan
stefanprodan merged commit 38e1d97 into main Sep 23, 2026
2 checks passed
@stefanprodan
stefanprodan deleted the history-tabs branch September 23, 2026 11:49
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