Repository navigation
fix: account for recurring payments on analytics - #317
Conversation
|
No actionable comments were generated in the recent review.
|
| Layer / File(s) | Summary |
|---|---|
Build analytics results from actual transactions app/src/main/java/com/serranoie/app/minus/presentation/ui/analytics/AnalyticsViewModel.kt, app/src/test/java/com/serranoie/app/minus/presentation/ui/analytics/AnalyticsViewModelTest.kt |
The view model filters spend, income, and decrease results from the distinct union of one-time spends and paid recurring transactions. Chart spends use the same list. The test checks three recurring Rent entries and totals of 350.00 in both spend collections. |
Priority:
Estimated code review effort: 2 (Simple) | ~10 minutes
Change: Bug fix
Possibly related issues
- Issue 316 reports that recurring expenses are omitted from analytics pie-chart tag sums. This change supplies chart spends from a list that includes paid recurring transactions.
Merge Risk: 
Minimal · up to 7659a
-
The analytics change is mergeable after normal checks; no actionable issue remains identified.
Pre-merge checks: 
4 · 
1
-
Failed checks: 1 warning Passed checks: 4 passed -
Finishing Touches: 💡 1
-
📝 Generate docstrings: 💡
-
- Commit to this branch
- Create a new PR
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
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 @coderabbitai help to get the list of available commands.
#316
Description
This change includes paid recurring transactions in analytics results.
Issue Linked (if any)
None provided.
Implemented
spendsandchartSpends, including threeRententries.Working demo
No demo evidence provided.
Testing
:app:connectedFossDebugAndroidTest :app:verifyPaparazziFossDebug --continuefor E2E test on a device and verify screenshots.Test execution results were not provided.
Notes
No additional risks or follow-ups were provided.