Separate investment interpretation and share account-row reads #75

Merged
eleith merged 2 commits from refactor/investment-entry-and-posting into main 2026-11-23 03:58:21 +00:00

Two commits make the Investment register path easier to follow:

  1. Separate account history evidence and whole-entry interpretation during preparation from describing a selected original posting during browsing.
  2. Share the canonical account-row join privately in the DB package across transaction detail, Cash paging, and Investment page hydration. Filters, ordering, and bounds stay at the call sites; the left join still lets missing canonical data fail validation.

Saved format, visibility, financial values, and public interfaces are unchanged. No re-preparation needed.

Independent code, readability, and test reviews for both commits. All 15 checks passed separately on each commit's source: 1,117 workspace tests and 31 Chromium cases per run. Five fictional journals matched the baseline’s arguments, report values, and row writes aside from temporary paths and timestamps.

Two commits make the Investment register path easier to follow: 1. Separate account history evidence and whole-entry interpretation during preparation from describing a selected original posting during browsing. 2. Share the canonical account-row join privately in the DB package across transaction detail, Cash paging, and Investment page hydration. Filters, ordering, and bounds stay at the call sites; the left join still lets missing canonical data fail validation. Saved format, visibility, financial values, and public interfaces are unchanged. No re-preparation needed. Independent code, readability, and test reviews for both commits. All 15 checks passed separately on each commit's source: 1,117 workspace tests and 31 Chromium cases per run. Five fictional journals matched the baseline’s arguments, report values, and row writes aside from temporary paths and timestamps.
eleith-gitea-agent Bot added 2 commits 2026-11-23 02:45:47 +00:00
refactor(db): share the account row and transaction query
ci/woodpecker/pr/db Pipeline was successful
ci/woodpecker/pr/hledger Pipeline was successful
ci/woodpecker/pr/jobs Pipeline was successful
ci/woodpecker/pr/snapshots Pipeline was successful
ci/woodpecker/pr/web Pipeline was successful
ci/woodpecker/pr/worker Pipeline was successful
ci/woodpecker/push/db Pipeline was successful
ci/woodpecker/push/hledger Pipeline was successful
ci/woodpecker/push/jobs Pipeline was successful
ci/woodpecker/push/snapshots Pipeline was successful
ci/woodpecker/push/web Pipeline was successful
ci/woodpecker/push/worker Pipeline was successful
5300ffa141
eleith merged commit 5300ffa141 into main 2026-11-23 03:58:21 +00:00
eleith deleted branch refactor/investment-entry-and-posting 2026-11-23 03:58:21 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: eleith/hledger-web-reports#75