[AI] Add 'Last 30 days' date range option to custom reports#7217
[AI] Add 'Last 30 days' date range option to custom reports#7217kenkuo wants to merge 3 commits intoactualbudget:masterfrom
Conversation
Add a rolling 30-day date range to the Live mode date filter in custom reports. The option appears between 'Last month' and 'Last 3 months' and is available for Daily, Weekly, and Monthly intervals. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
✅ 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:
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. |
📝 WalkthroughWalkthroughThis PR adds a new "Last 30 days" date range option to custom reports in live mode. The changes include configuration updates to enable the option, implementation of the 30-day window calculation logic, comprehensive test coverage, and release notes documentation. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Poem
🚥 Pre-merge checks | ✅ 2✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
📝 Coding Plan
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 Tip You can disable the changed files summary in the walkthrough.Disable the |
|
🤖 Auto-generated Release Notes Hey @kenkuo! I've automatically created a release notes file based on CodeRabbit's analysis: Category: Features If you're happy with this release note, you can add it to your pull request. If not, you'll need to add your own before a maintainer can review your change. |
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Summary
Add a rolling 30-day date range to the Live mode date filter in custom reports. The new option appears between Last month and Last 3 months in the range dropdown.
Changes
Last 30 daysentry withtype: 'Day', enabled for Daily/Weekly/Monthly intervalslast30Dayscase computingtoday - 29 days→today(30 inclusive days)Bundle Stats
View detailed bundle stats
desktop-client
Total
Changeset
src/components/reports/getLiveRange.tssrc/components/reports/ReportOptions.tssrc/components/reports/disabledList.tslocale/en.jsonlocale/it.jsonView detailed bundle breakdown
Added
No assets were added
Removed
No assets were removed
Bigger
Smaller
No assets were smaller
Unchanged
loot-core
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
api
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