Skip to content

Implement net totals calculation with income toggle#9

Merged
MatissJanis merged 2 commits intomainfrom
matiss/income-2
Jan 9, 2026
Merged

Implement net totals calculation with income toggle#9
MatissJanis merged 2 commits intomainfrom
matiss/income-2

Conversation

@MatissJanis
Copy link
Member

No description provided.

- Introduced a new section on CHANGELOG maintenance, outlining when and how to update the CHANGELOG.md file after code changes.
- Specified entry format, categories, and placement for clarity in documenting project changes.
- Included an example to illustrate proper formatting and organization of entries.
- Added `includeIncomeInCategories` parameter to `transformToWrappedData` for net totals calculation, allowing income transactions to affect category, payee, account, and day of week spending totals.
- Introduced `CategoryIncomeToggle` component in the settings menu to switch between net calculation mode (includes income) and absolute spending mode (expenses only).
- Updated relevant calculations and logic across the application to respect the new toggle, ensuring accurate representation of net spending.
- Added comprehensive unit tests to validate the new net totals calculation mode and its impact on various aggregations.
@netlify
Copy link

netlify bot commented Jan 9, 2026

Deploy Preview for actual-wrapped ready!

Name Link
🔨 Latest commit 6fefba2
🔍 Latest deploy log https://app.netlify.com/projects/actual-wrapped/deploys/69617683b90fbb0008fe26ec
😎 Deploy Preview https://deploy-preview-9--actual-wrapped.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@MatissJanis MatissJanis added the AI generated PR generated by AI agent label Jan 9, 2026
@MatissJanis MatissJanis marked this pull request as ready for review January 9, 2026 21:51
@MatissJanis MatissJanis merged commit d695ed8 into main Jan 9, 2026
8 checks passed
@MatissJanis MatissJanis deleted the matiss/income-2 branch January 9, 2026 21:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AI generated PR generated by AI agent

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant