Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Accounting: share product, SKU, rate, unbilled and recurring reads (unbilled paging is a no-op)

オープン
#99 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
リファクタリング
明瞭さ
おおむね明確
活発さ
活発
技術スタック
csharp

調査の方向性

Start by tracing the listed tools and commands through ProjectLookup, RateLookupResult, and WeekCheckResult, then compare the CLI and MCP request paths. Check how unbilled paging, sorting, totals, miss shapes, and recurring empty responses currently behave. Done means the migration checklist is covered, executable parity rows pass, and the MCP schema changes are intentional.

索引モデルが issue の本文から書いたものです。

説明

Priority: P3 Type: Refactor

Why

Same pattern as invoices: direct API calls on both surfaces with separate miss handling and request construction.

  • GetProduct / GetRecurringInvoice: {found:false} + exit 1 on the CLI, null on MCP.
  • ListAllSkus is on the MCP-only allowlist, but product list --prepaid already covers the prepaid subset; the unrestricted listing has no CLI command.
  • ListClientRates and rate list build the filter/paging/sort query separately, and treat a blank emp id differently.
  • Unbilled paging does nothing. GetUnallocatedTimesheetsByClientAsync ignores pageSize, skip, sortField and direction, yet unbilled list and GetUnbilledTimesheetsForClient both advertise them. An agent paging with skip gets the same full list every time and double-counts.
  • recurring list --json prints nothing on an empty response.

Migrate

  • Tools: ListProducts, GetProduct, ListAllSkus, GetProductDiscountsForClient, ListClientRates, GetClientsWithOutstandingTime, GetUnbilledTimesheetsForClient, ListRecurringInvoices, GetRecurringInvoice.
  • Shared miss shape for single-entity gets.
  • sku list (or product list --all-skus) CLI command; remove ListAllSkus from the allowlist.
  • One rate-list request builder shared by rate list and ListClientRates.
  • Unbilled: page/sort client-side in one shared report, or remove the parameters from both surfaces. Move the hour/amount totals out of Unbilled/ListCommand.
  • Executable parity rows.

How

ProjectLookup / RateLookupResult for reads, WeekCheckResult for the unbilled report.

Contract

Removing the unbilled parameters, or making them work, changes the MCP schema; the miss shapes are 0.4.0.

Part of #38.

主要言語
C#
スター
3
フォーク
0
平均マージ
28分
マージ済み PR(30日)
31

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

SSWConsulting/TimePro.Tools のほかの issue

SSWConsulting/TimePro.Tools の issue をすべて見る

似ている issue

C# の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。