Skip to content
This repository was archived by the owner on Nov 20, 2026. It is now read-only.

[AI] CHE-1018: Convert Spending comparisons to Main currency - #124

Draft
congvc-dev wants to merge 3 commits into
author/CHE-1017/01a104de-1e37-71e6-9d05-8b8d81cc66a8from
author/CHE-1018/01a10541-5686-76d4-9fe6-68b0642d7e17
Draft

congvc-dev wants to merge 3 commits into
author/CHE-1017/01a104de-1e37-71e6-9d05-8b8d81cc66a8from
author/CHE-1018/01a10541-5686-76d4-9fe6-68b0642d7e17

Conversation

@congvc-dev

@congvc-dev congvc-dev commented Oct 4, 2026 •

Copy link
Copy Markdown
Collaborator

🤖 Status: Parked — CHE-3439, 2026-11-04 ICT. Head 78ed3099637876a78cf60f81a53d8adabef47ed8. Preserve the currency continuation stack rooted at #123. The root still has red autofix/lint checks. The stack owner must propagate the CI repair and current master, rerun this layer against its actual base, and reconcile independent PASS on the resulting head. Preserve the existing base branch; do not merge or close layers as duplicates.

Summary

  • Converts eligible transaction amounts at the retained account/day boundary before report aggregation, comparisons, and averages; preserves the existing account/category/off-budget/income query filters and report windows.
  • Keeps Main-currency budget-sheet values outside FX conversion and computes daily budget progress with integer arithmetic.
  • Routes Spending, SpendingCard, and graph monetary labels through the Main-currency formatter.

Checks

  • PASS — focused spreadsheet suite: 8/8 tests, including mixed-account comparisons, JPY/VND rates, unavailable missing rates, and exact budget total.
  • PASS — yarn typecheck.
  • PASS — yarn lint.
  • PASS — disposable Playwright report smoke test; retry passed after the first attempt hit the 60-second beforeEach timeout.
  • PASS — strict pinned-container VRT: 20/20 report tests using mcr.microsoft.com/playwright:v1.61.1-jammy (image digest sha256:7b86926fff94374389e8e1f4fdc5c76d050d4a06a7886bb537bf412b20e2b71e). No snapshots were updated; no mask or tolerance changes were made.
  • NOT RUN — full core/web workspace test suites. Independent cross-lab review and current-head OCR are pending coordinator dispatch; this PR remains a draft.

Stack

Closes CHE-1018
Refs CHE-835


Bundle Stats

Bundle Files count Total bundle size % Changed
desktop-client 44 14.14 MB → 14.13 MB (-2.47 kB) -0.02%
loot-core 1 4.67 MB 0%
api 2 3.88 MB 0%
cli 1 8.02 MB 0%
crdt 1 11.16 kB 0%
View detailed bundle stats

desktop-client

Total

Files count Total bundle size % Changed
44 14.14 MB → 14.13 MB (-2.47 kB) -0.02%
Changeset
File Δ Size
src/components/reports/spreadsheets/spending-spreadsheet.ts 📈 +3.13 kB (+44.20%) 7.09 kB → 10.22 kB
src/components/reports/reports/SpendingCard.tsx 📈 +1.35 kB (+37.53%) 3.59 kB → 4.93 kB
src/components/reports/spreadsheets/net-worth-spreadsheet.ts 📈 +24 B (+0.19%) 12.22 kB → 12.25 kB
src/components/reports/reports/Calendar.tsx 📉 -2 B (-0.01%) 27.62 kB → 27.62 kB
src/components/reports/reports/monte-carlo/MonteCarloRunDetailTable.tsx 📉 -4 B (-0.01%) 43.04 kB → 43.03 kB
src/components/reports/reports/monte-carlo/MonteCarloContributions.tsx 📉 -2 B (-0.01%) 16.83 kB → 16.83 kB
src/components/reports/graphs/LineGraph.tsx 📉 -2 B (-0.02%) 7.84 kB → 7.84 kB
src/components/reports/graphs/SpendingGraph.tsx 📉 -21 B (-0.23%) 8.78 kB → 8.76 kB
src/components/reports/reports/Spending.tsx 📉 -6.94 kB (-28.21%) 24.61 kB → 17.66 kB
View detailed bundle breakdown

Added
No assets were added

Removed
No assets were removed

Bigger
No assets were bigger

Smaller

Asset File Size % Changed
static/js/ReportRouter.js 1.54 MB → 1.54 MB (-2.47 kB) -0.16%

Unchanged

Asset File Size % Changed
static/js/index.js 1.78 MB 0%
static/js/BackgroundImage.js 121.09 kB 0%
static/js/DateSelect.js 2.37 MB 0%
static/js/FormulaEditor.js 767.24 kB 0%
static/js/ManageRules.js 83.15 kB 0%
static/js/NotesTagFormatter.js 25.94 kB 0%
static/js/PayeeRuleCountLabel.js 12.81 kB 0%
static/js/ScheduleEditForm.js 75.41 kB 0%
static/js/SchedulesTable.js 171.25 kB 0%
static/js/TourHost.js 169.22 kB 0%
static/js/TourProvider.js 1.54 kB 0%
static/js/TransactionList.js 79.22 kB 0%
static/js/TransactionList2.js 168.62 kB 0%
static/js/Value.js 1.8 MB 0%
static/js/bootstrapHyperFormula.js 302 B 0%
static/js/ca.js 170.64 kB 0%
static/js/client.js 452.05 kB 0%
static/js/columns.js 673.76 kB 0%
static/js/de.js 186.43 kB 0%
static/js/en-GB.js 13.69 kB 0%
static/js/en.js 271.71 kB 0%
static/js/es.js 183.73 kB 0%
static/js/fr.js 178.59 kB 0%
static/js/indexeddb-main-thread-worker-e59fee74.js 13.46 kB 0%
static/js/it.js 151.91 kB 0%
static/js/months.js 593.39 kB 0%
static/js/narrow.js 290.14 kB 0%
static/js/nb-NO.js 135.89 kB 0%
static/js/nl.js 151.78 kB 0%
static/js/pl.js 148.93 kB 0%
static/js/pt-BR.js 178.74 kB 0%
static/js/ru.js 211 kB 0%
static/js/theme.js 31.68 kB 0%
static/js/uk.js 211.35 kB 0%
static/js/useAccountBalances.js 220.92 kB 0%
static/js/useFormatList.js 10.4 kB 0%
static/js/useLocalPref.js 97.2 kB 0%
static/js/useReducedMotion.js 594 B 0%
static/js/vi.js 15.89 kB 0%
static/js/wide.js 285.94 kB 0%
static/js/workbox-window.prod.es5.js 7.21 kB 0%
static/js/zh-Hans.js 107.31 kB 0%
static/js/zh-Hant.js 130.92 kB 0%

loot-core

Total

Files count Total bundle size % Changed
1 4.67 MB 0%
View detailed bundle breakdown

Added
No assets were added

Removed
No assets were removed

Bigger
No assets were bigger

Smaller
No assets were smaller

Unchanged

Asset File Size % Changed
kcab.worker.CfRaXv_7.js 4.67 MB 0%

api

Total

Files count Total bundle size % Changed
2 3.88 MB 0%
View detailed bundle breakdown

Added
No assets were added

Removed
No assets were removed

Bigger
No assets were bigger

Smaller
No assets were smaller

Unchanged

Asset File Size % Changed
index.js 3.88 MB 0%
models.js 0 B 0%

cli

Total

Files count Total bundle size % Changed
1 8.02 MB 0%
View detailed bundle breakdown

Added
No assets were added

Removed
No assets were removed

Bigger
No assets were bigger

Smaller
No assets were smaller

Unchanged

Asset File Size % Changed
cli.js 8.02 MB 0%

crdt

Total

Files count Total bundle size % Changed
1 11.16 kB 0%
View detailed bundle breakdown

Added
No assets were added

Removed
No assets were removed

Bigger
No assets were bigger

Smaller
No assets were smaller

Unchanged

Asset File Size % Changed
index.js 11.16 kB 0%

@github-actions github-actions Bot added the AI generated PR authored with AI assistance label Oct 4, 2026
@congvc-dev
congvc-dev added this pull request to stack #114 October 4, 2026 06:28
@congvc-bot-x99
congvc-bot-x99 Bot marked this pull request as ready for review October 4, 2026 08:18
@congvc-dev
congvc-dev marked this pull request as draft October 4, 2026 08:42
@congvc-dev
congvc-dev force-pushed the author/CHE-1018/01a10541-5686-76d4-9fe6-68b0642d7e17 branch from 00606c3 to b6881a5 Compare October 4, 2026 09:33
@autofix-troubleshooter

Copy link
Copy Markdown

Hi! I'm the autofix logoautofix.ci troubleshooter bot.

It looks like you correctly set up a CI job that uses the autofix.ci GitHub Action, but the autofix.ci GitHub App has not been installed for this repository. This means that autofix.ci unfortunately does not have the permissions to fix this pull request. If you are the repository owner, please install the app and then restart the CI workflow! 😃

@congvc-bot-x99
congvc-bot-x99 Bot marked this pull request as ready for review October 4, 2026 10:04
@congvc-dev
congvc-dev force-pushed the author/CHE-1018/01a10541-5686-76d4-9fe6-68b0642d7e17 branch 2 times, most recently from e792d65 to e2841d3 Compare October 4, 2026 11:41
@congvc-dev
congvc-dev force-pushed the author/CHE-1018/01a10541-5686-76d4-9fe6-68b0642d7e17 branch from e2841d3 to 78ed309 Compare October 4, 2026 11:41
@congvc-bot-x99
congvc-bot-x99 Bot marked this pull request as draft November 3, 2026 23:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

AI generated PR authored with AI assistance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants