[PR #2479] [MERGED] Custom Reports: Intervals Updates #11378

Closed
opened 2026-04-10 20:59:18 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/2479
Author: @carkom
Created: 3/18/2024
Status: Merged
Merged: 3/20/2024
Merged by: @carkom

Base: masterHead: CRDates


📝 Commits (9)

📊 Changes

22 files changed (+388 additions, -219 deletions)

View changed files

📝 packages/desktop-client/src/components/reports/ChooseGraph.tsx (+5 -5)
📝 packages/desktop-client/src/components/reports/Header.jsx (+25 -63)
📝 packages/desktop-client/src/components/reports/ReportOptions.ts (+2 -2)
📝 packages/desktop-client/src/components/reports/ReportSidebar.jsx (+38 -33)
📝 packages/desktop-client/src/components/reports/ReportSummary.tsx (+8 -4)
📝 packages/desktop-client/src/components/reports/graphs/AreaGraph.tsx (+5 -5)
📝 packages/desktop-client/src/components/reports/graphs/BarGraph.tsx (+1 -1)
📝 packages/desktop-client/src/components/reports/graphs/DonutGraph.tsx (+1 -1)
📝 packages/desktop-client/src/components/reports/graphs/StackedBarGraph.tsx (+3 -3)
📝 packages/desktop-client/src/components/reports/graphs/tableGraph/ReportTable.tsx (+5 -5)
📝 packages/desktop-client/src/components/reports/graphs/tableGraph/ReportTableList.tsx (+3 -3)
📝 packages/desktop-client/src/components/reports/graphs/tableGraph/ReportTableRow.tsx (+9 -9)
📝 packages/desktop-client/src/components/reports/graphs/tableGraph/ReportTableTotals.tsx (+4 -4)
packages/desktop-client/src/components/reports/reportRanges.ts (+157 -0)
📝 packages/desktop-client/src/components/reports/reports/CustomReport.jsx (+16 -10)
📝 packages/desktop-client/src/components/reports/spreadsheets/calculateLegend.ts (+8 -6)
📝 packages/desktop-client/src/components/reports/spreadsheets/custom-spreadsheet.ts (+37 -22)
📝 packages/desktop-client/src/components/reports/spreadsheets/grouped-spreadsheet.ts (+22 -11)
📝 packages/desktop-client/src/components/reports/spreadsheets/makeQuery.ts (+9 -4)
📝 packages/desktop-client/src/components/reports/spreadsheets/recalculate.ts (+18 -22)

...and 2 more files

📄 Description

Changing variable naming from "months" to "interval" so it's less confusing when adding new intervals.

Also changed "startDate" and "endDate" logic to be a specific date rather than just a month (eg current: "2024-03", new: "2024-03-01"). This new logic will help facilitate new intervals being added.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/actualbudget/actual/pull/2479 **Author:** [@carkom](https://github.com/carkom) **Created:** 3/18/2024 **Status:** ✅ Merged **Merged:** 3/20/2024 **Merged by:** [@carkom](https://github.com/carkom) **Base:** `master` ← **Head:** `CRDates` --- ### 📝 Commits (9) - [`1a3ce66`](https://github.com/actualbudget/actual/commit/1a3ce6660b95c4a692d94a9c2fbf68722ea1c158) IntervalsUpdates - [`b986919`](https://github.com/actualbudget/actual/commit/b9869197b0212d66071f68c7b9ef051f9784de0c) notes - [`65746b3`](https://github.com/actualbudget/actual/commit/65746b3df7544de08dccaa94753c9c8a3728b43e) updates - [`0c1147e`](https://github.com/actualbudget/actual/commit/0c1147e6e4910411d4654d235690135cdf8039ec) Merge branch 'master' into CRDates - [`cd8e285`](https://github.com/actualbudget/actual/commit/cd8e28511070b19434286f6b9c39fb3ce2c4b019) add Ranges - [`61891e0`](https://github.com/actualbudget/actual/commit/61891e022be0ca51564c26a3ba938f68a1f37495) calc Leg strict - [`9dde728`](https://github.com/actualbudget/actual/commit/9dde7280ab65fe26bb5058cd1beb213bece58518) ts updates - [`4946fd5`](https://github.com/actualbudget/actual/commit/4946fd56c7d93f845f126b63a83423fa2dcb97fb) review updates - [`d47b352`](https://github.com/actualbudget/actual/commit/d47b3520879866449ca13a4112cbcd6715b83247) Merge branch 'master' into CRDates ### 📊 Changes **22 files changed** (+388 additions, -219 deletions) <details> <summary>View changed files</summary> 📝 `packages/desktop-client/src/components/reports/ChooseGraph.tsx` (+5 -5) 📝 `packages/desktop-client/src/components/reports/Header.jsx` (+25 -63) 📝 `packages/desktop-client/src/components/reports/ReportOptions.ts` (+2 -2) 📝 `packages/desktop-client/src/components/reports/ReportSidebar.jsx` (+38 -33) 📝 `packages/desktop-client/src/components/reports/ReportSummary.tsx` (+8 -4) 📝 `packages/desktop-client/src/components/reports/graphs/AreaGraph.tsx` (+5 -5) 📝 `packages/desktop-client/src/components/reports/graphs/BarGraph.tsx` (+1 -1) 📝 `packages/desktop-client/src/components/reports/graphs/DonutGraph.tsx` (+1 -1) 📝 `packages/desktop-client/src/components/reports/graphs/StackedBarGraph.tsx` (+3 -3) 📝 `packages/desktop-client/src/components/reports/graphs/tableGraph/ReportTable.tsx` (+5 -5) 📝 `packages/desktop-client/src/components/reports/graphs/tableGraph/ReportTableList.tsx` (+3 -3) 📝 `packages/desktop-client/src/components/reports/graphs/tableGraph/ReportTableRow.tsx` (+9 -9) 📝 `packages/desktop-client/src/components/reports/graphs/tableGraph/ReportTableTotals.tsx` (+4 -4) ➕ `packages/desktop-client/src/components/reports/reportRanges.ts` (+157 -0) 📝 `packages/desktop-client/src/components/reports/reports/CustomReport.jsx` (+16 -10) 📝 `packages/desktop-client/src/components/reports/spreadsheets/calculateLegend.ts` (+8 -6) 📝 `packages/desktop-client/src/components/reports/spreadsheets/custom-spreadsheet.ts` (+37 -22) 📝 `packages/desktop-client/src/components/reports/spreadsheets/grouped-spreadsheet.ts` (+22 -11) 📝 `packages/desktop-client/src/components/reports/spreadsheets/makeQuery.ts` (+9 -4) 📝 `packages/desktop-client/src/components/reports/spreadsheets/recalculate.ts` (+18 -22) _...and 2 more files_ </details> ### 📄 Description Changing variable naming from "months" to "interval" so it's less confusing when adding new intervals. Also changed "startDate" and "endDate" logic to be a specific date rather than just a month (eg current: "2024-03", new: "2024-03-01"). This new logic will help facilitate new intervals being added. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-10 20:59:19 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#11378