Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Accounting: shared timesheet query and project-summary reports for CLI and MCP

Open
#100 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
42/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Active
Tech stack
csharp

Research direction

Trace the QueryTimesheets, GetProjectsSummary, tp query, tp summary, and tp report entry points, then read WeekCoverageService and WeekCheckResult for the intended service/result pattern. Compare their current filtering, grouping, totals, envelopes, and empId handling. Done means shared TimesheetQuery and ProjectSummaryReport behavior with executable parity, including the documented 0.4.0 contract change.

Written by the indexing model from the issue text.

Description

Priority: P3 Type: Refactor

Why

QueryTimesheets / tp query and GetProjectsSummary / tp summary each build TimesheetSummaryFilter and their totals independently.

  • tp query parses and trims its filters and groups/totals in the command; QueryTimesheets passes strings and arrays straight through.
  • tp summary wraps rows in {startDate, endDate, projects, totalHours, billableHours}; MCP returns raw rows. MCP accepts empId; tp summary always uses the current user. tp report repeats the summary totals.

Migrate

  • A TimesheetQuery request/report used by tp query and QueryTimesheets (filter parsing and validation, grouping, totals).
  • A ProjectSummaryReport used by tp summary, tp report and GetProjectsSummary; add --emp-id to tp summary.
  • Executable parity rows.

How

WeekCoverageService + WeekCheckResult: fetch in the service, one result document, adapters render.

Contract

GetProjectsSummary gaining the envelope is a 0.4.0 change.

Part of #38.

Dominant language
C#
Stars
3
Forks
0
Avg merge
7m
Merged PRs (30d)
30

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

  • No Dockerfile or Docker Compose file
  • No pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from SSWConsulting/TimePro.Tools

All issues in SSWConsulting/TimePro.Tools

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.