[PR #6383] [MERGED] Refactor how crossover report dates are handled #125909

Closed
opened 2026-06-14 04:52:21 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/6383
Author: @sjones512
Created: 12/13/2025
Status: Merged
Merged: 12/16/2025
Merged by: @youngcw

Base: masterHead: crossover-date-fxes


📝 Commits (7)

  • ba9a0b1 Refactor how report dates are handled to more closely match pattern oin CashFlow report. Fixes issues with black screen when selecting certain Live date modes
  • 615c6f8 Add null handling for allMonths and make date clamping more consistent.
  • afbb0e2 Remove arbitray limit for at least two montsh to calculate expenses. This allows the chart to work (someone) with one previous month of expenses.
  • d92d648 Merge branch 'actualbudget:master' into crossover-date-fxes
  • 17900a6 Merge branch 'master' into crossover-date-fxes
  • ae11dac Merge branch 'master' into crossover-date-fxes
  • 4cd1b3b Merge branch 'master' into crossover-date-fxes

📊 Changes

3 files changed (+114 additions, -54 deletions)

View changed files

📝 packages/desktop-client/src/components/reports/reports/Crossover.tsx (+91 -35)
📝 packages/desktop-client/src/components/reports/spreadsheets/crossover-spreadsheet.ts (+17 -19)
upcoming-release-notes/6383.md (+6 -0)

📄 Description

Selected certain date presets such as Year to Date would cause a black screen with no error messages.

The code was refactored to more closely match the CashFlow report that uses the same report header.

The main difference is that this report excludes the current month since partial months will have artificially lower expenses.

Bug reported in comment on issue 6134


🔄 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/6383 **Author:** [@sjones512](https://github.com/sjones512) **Created:** 12/13/2025 **Status:** ✅ Merged **Merged:** 12/16/2025 **Merged by:** [@youngcw](https://github.com/youngcw) **Base:** `master` ← **Head:** `crossover-date-fxes` --- ### 📝 Commits (7) - [`ba9a0b1`](https://github.com/actualbudget/actual/commit/ba9a0b19a9b3ec62b0775b6a5a3e22f17eff54c0) Refactor how report dates are handled to more closely match pattern oin CashFlow report. Fixes issues with black screen when selecting certain Live date modes - [`615c6f8`](https://github.com/actualbudget/actual/commit/615c6f8b3fcdf6091aafb2cdabae408552a07452) Add null handling for allMonths and make date clamping more consistent. - [`afbb0e2`](https://github.com/actualbudget/actual/commit/afbb0e244d00f09894c25c7e250089eb7e177fe3) Remove arbitray limit for at least two montsh to calculate expenses. This allows the chart to work (someone) with one previous month of expenses. - [`d92d648`](https://github.com/actualbudget/actual/commit/d92d648ced37f08db102f93166e95f6b9105c214) Merge branch 'actualbudget:master' into crossover-date-fxes - [`17900a6`](https://github.com/actualbudget/actual/commit/17900a69df2bd5fc6d3d78404b0d3b03187691f1) Merge branch 'master' into crossover-date-fxes - [`ae11dac`](https://github.com/actualbudget/actual/commit/ae11dacdd39f0bbb1989a1ede3fd1b3e7363f96a) Merge branch 'master' into crossover-date-fxes - [`4cd1b3b`](https://github.com/actualbudget/actual/commit/4cd1b3b4bfa3ee4d16aa4fe03f7c44d195f8e11e) Merge branch 'master' into crossover-date-fxes ### 📊 Changes **3 files changed** (+114 additions, -54 deletions) <details> <summary>View changed files</summary> 📝 `packages/desktop-client/src/components/reports/reports/Crossover.tsx` (+91 -35) 📝 `packages/desktop-client/src/components/reports/spreadsheets/crossover-spreadsheet.ts` (+17 -19) ➕ `upcoming-release-notes/6383.md` (+6 -0) </details> ### 📄 Description Selected certain date presets such as Year to Date would cause a black screen with no error messages. The code was refactored to more closely match the CashFlow report that uses the same report header. The main difference is that this report excludes the current month since partial months will have artificially lower expenses. Bug reported in comment on issue [6134](https://github.com/actualbudget/actual/issues/6134#issuecomment-3539193009) <!-- Thank you for submitting a pull request! Make sure to follow the instructions to write release notes for your PR — it should only take a minute or two: https://github.com/actualbudget/docs#writing-good-release-notes. Try running yarn generate:release-notes *before* pushing your PR for an interactive experience. --> --- <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-06-14 04:52:21 -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#125909