Repository navigation
Conversation
✅ Deploy Preview for actualbudget ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
👋 Hello contributor! We would love to review your PR! Before we can do that, please make sure:
A quick note on volume: please get one PR reviewed and merged before opening several more. A stack of simultaneous, similar PRs from one author is reviewed slowly, and low-effort, untested, or undisclosed-AI PRs may be closed without a detailed review. We do this to reduce the TOIL the core contributor team has to go through for each PR and to allow for speedy reviews and merges. For more information, please see our Contributing Guide. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (10)
📝 WalkthroughWalkthroughThe change detects schedules with split actions, includes them in account-specific schedule queries, and projects matching split transfer children into destination-account previews. Tests cover query filtering, inversion behavior, balances, and an end-to-end credit preview. ChangesScheduled split transfer previews
Estimated code review effort: 4 (Complex) | ~45 minutes Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
matt-fidd
left a comment
There was a problem hiding this comment.
Looks to work well, thanks for this
* [AI] Fix scheduled split transfer previews * [AI] Preserve split preview status
Description
This PR fixes scheduled split transfers not appearing as upcoming transactions in their destination accounts.
Account-scoped schedule queries previously considered only the schedule’s source account and direct transfer payee. Because split transfer destinations are stored in rule actions, those schedules were excluded before their preview transactions were generated.
This change:
AI disclosure: OpenAI Codex assisted with the implementation and test development for this PR. The resulting change was verified with local unit, integration, and Playwright tests, as well as the full GitHub CI suite.
Related issue(s)
Fixes #7822
Testing
Checklist
Bundle Stats
View detailed bundle stats
desktop-client
Total
Changeset
src/hooks/useAccountPreviewTransactions.tssrc/hooks/useSchedules.tslocale/de.jsonView detailed bundle breakdown
Added
No assets were added
Removed
No assets were removed
Bigger
Smaller
No assets were smaller
Unchanged
loot-core
Total
Changeset
home/runner/work/actual/actual/packages/loot-core/src/server/aql/schema/index.tsView detailed bundle breakdown
Added
Removed
Bigger
No assets were bigger
Smaller
No assets were smaller
Unchanged
No assets were unchanged
api
Total
Changeset
home/runner/work/actual/actual/packages/loot-core/src/server/aql/schema/index.tsView detailed bundle breakdown
Added
No assets were added
Removed
No assets were removed
Bigger
Smaller
No assets were smaller
Unchanged
cli
Total
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
crdt
Total
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