Skip to content

feat: #8 add project and balance reports - #31

Merged
othercodes merged 2 commits into
masterfrom
feat/8-reports
Nov 26, 2026
Merged

othercodes merged 2 commits into
masterfrom
feat/8-reports

Conversation

@othercodes

Copy link
Copy Markdown
Owner

Closes #8

  • tmetric reports projects: time per project over a range (this week by default, --range week|last-week|month|last-month, or --from/--to), biggest first, with billable time, share, billable amount and cost. Money totals are summed per currency, never mixed; amounts show - without access to financial information. --format csv, --json.
  • tmetric reports balance: today, week and month, tracked against the work schedule, with the difference. Without a schedule, required and difference show - and a note says so.
  • TUI: a Reports view (3) with a Projects tab (a share bar per project, t cycles the range) and a Balance tab (a bar per period against the schedule).
  • API: GET reports/projects always gets dates (none means the projects' whole lifetime), includeDone=true (so the total matches the entries) and the user's real ID (none may mean the whole team); GET balance. Both shapes verified and noted in CLAUDE.md.

Verified against the real API: the report matches tmetric week (17h50m), other ranges, and the balance without a schedule; the TUI view by hand.

@sonarqubecloud

Copy link
Copy Markdown

@othercodes
othercodes merged commit 764f947 into master Nov 26, 2026
8 checks passed
@othercodes
othercodes deleted the feat/8-reports branch November 26, 2026 06:31
@othercodes othercodes self-assigned this Nov 26, 2026
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.

reports

1 participant