Clarify saved balances and Investment Overview displays #72

Merged
eleith merged 1 commits from refactor/hledger-balance-command into main 2026-11-22 17:02:14 +00:00

Pair each saved balance command with its matching decoder. The monthly decoder carries the verified periods with the values, so callers don’t have to match columns to a second calendar.

Make investment-overview/prepare.ts the entry point. native-reports.ts gathers shared inputs, and displays/ owns the headline value, securities count, history, and ranked breakdown. Holdings coverage is checked once; the ranking receives verified cash, not raw cash reports.

Native arguments, report values, and the saved format are unchanged. No re-preparation is needed.

Independent code, readability, and test reviews completed. All 15 checks passed: 1,116 workspace tests and 31 Chromium cases. Five fictional runs matched the landed baseline’s commands, report values, and row writes, excluding temporary paths and preparation timestamps.

Pair each saved `balance` command with its matching decoder. The monthly decoder carries the verified periods with the values, so callers don’t have to match columns to a second calendar. Make `investment-overview/prepare.ts` the entry point. `native-reports.ts` gathers shared inputs, and `displays/` owns the headline value, securities count, history, and ranked breakdown. Holdings coverage is checked once; the ranking receives verified cash, not raw cash reports. Native arguments, report values, and the saved format are unchanged. No re-preparation is needed. Independent code, readability, and test reviews completed. All 15 checks passed: 1,116 workspace tests and 31 Chromium cases. Five fictional runs matched the landed baseline’s commands, report values, and row writes, excluding temporary paths and preparation timestamps.
eleith-gitea-agent Bot added 1 commit 2026-11-22 16:54:46 +00:00
refactor(hledger): clarify saved balances and investment displays
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
1203176ae8
eleith merged commit 1203176ae8 into main 2026-11-22 17:02:14 +00:00
eleith deleted branch refactor/hledger-balance-command 2026-11-22 17:02:14 +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#72