[PR #7386] [CLOSED] Revert "Implement Sankey report for spent and budgeted money" #25736

Closed
opened 2026-04-16 18:49:12 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/7386
Author: @youngcw
Created: 4/5/2026
Status: Closed

Base: masterHead: revert-7220-sankey-report


📝 Commits (2)

📊 Changes

13 files changed (+10 additions, -1904 deletions)

View changed files

📝 packages/desktop-client/src/components/reports/Overview.tsx (+0 -22)
📝 packages/desktop-client/src/components/reports/ReportRouter.tsx (+0 -8)
packages/desktop-client/src/components/reports/graphs/SankeyGraph.tsx (+0 -330)
packages/desktop-client/src/components/reports/reports/Sankey.tsx (+0 -615)
packages/desktop-client/src/components/reports/reports/SankeyCard.tsx (+0 -168)
packages/desktop-client/src/components/reports/spreadsheets/sankey-spreadsheet.ts (+0 -730)
📝 packages/desktop-client/src/components/settings/Experimental.tsx (+1 -6)
📝 packages/desktop-client/src/hooks/useFeatureFlag.ts (+0 -1)
📝 packages/loot-core/src/server/dashboard/app.ts (+0 -1)
📝 packages/loot-core/src/types/models/dashboard.ts (+2 -15)
📝 packages/loot-core/src/types/prefs.ts (+1 -2)
upcoming-release-notes/7220.md (+0 -6)
upcoming-release-notes/7386.md (+6 -0)

📄 Description

Reverts actualbudget/actual#7242

Will remerge later. Was merged prematurely.


Bundle Stats

Bundle Files count Total bundle size % Changed
desktop-client 28 12.27 MB → 12.18 MB (-91.63 kB) -0.73%
loot-core 1 4.82 MB → 4.82 MB (-18 B) -0.00%
api 1 3.83 MB → 3.83 MB (-17 B) -0.00%
cli 1 7.88 MB 0%
View detailed bundle stats

desktop-client

Total

Files count Total bundle size % Changed
28 12.27 MB → 12.18 MB (-91.63 kB) -0.73%
Changeset
File Δ Size
src/components/reports/reports/NetWorth.tsx 📉 -2 B (-0.01%) 13.55 kB → 13.55 kB
src/components/reports/SaveReport.tsx 📉 -2 B (-0.02%) 12.55 kB → 12.55 kB
src/components/reports/graphs/BarGraph.tsx 📉 -2 B (-0.02%) 10.78 kB → 10.77 kB
src/components/reports/reports/NetWorthCard.tsx 📉 -2 B (-0.03%) 7.65 kB → 7.65 kB
src/components/reports/reports/BudgetAnalysis.tsx 📉 -7 B (-0.04%) 19.01 kB → 19 kB
src/components/reports/spreadsheets/net-worth-spreadsheet.ts 📉 -2 B (-0.04%) 5 kB → 5 kB
node_modules/recharts/es6/cartesian/XAxis.js 📉 -4 B (-0.06%) 6.49 kB → 6.48 kB
src/components/accounts/AccountEmptyMessage.tsx 📉 -2 B (-0.08%) 2.47 kB → 2.47 kB
src/components/reports/ReportLegend.tsx 📉 -2 B (-0.13%) 1.53 kB → 1.53 kB
node_modules/recharts/es6/shape/Symbols.js 📉 -6 B (-0.14%) 4.27 kB → 4.26 kB
node_modules/recharts/es6/shape/Trapezoid.js 📉 -17 B (-0.28%) 5.99 kB → 5.97 kB
node_modules/recharts/es6/chart/PolarChart.js 📉 -20 B (-0.63%) 3.1 kB → 3.08 kB
node_modules/recharts/es6/chart/PieChart.js 📉 -24 B (-1.18%) 1.99 kB → 1.96 kB
src/components/settings/Experimental.tsx 📉 -238 B (-2.30%) 10.11 kB → 9.87 kB
src/components/reports/Overview.tsx 📉 -670 B (-2.63%) 24.89 kB → 24.23 kB
src/hooks/useFeatureFlag.ts 📉 -22 B (-4.25%) 518 B → 496 B
node_modules/recharts/es6/context/chartLayoutContext.js 📉 -204 B (-6.79%) 2.93 kB → 2.73 kB
src/components/reports/ReportRouter.tsx 📉 -556 B (-9.53%) 5.7 kB → 5.15 kB
node_modules/recharts/es6/context/chartDataContext.js 📉 -285 B (-38.46%) 741 B → 456 B
node_modules/recharts/es6/component/responsiveContainerUtils.js 📉 -1.82 kB (-88.27%) 2.06 kB → 247 B
node_modules/recharts/es6/component/ResponsiveContainer.js 📉 -6.28 kB (-95.49%) 6.58 kB → 304 B
node_modules/recharts/es6/chart/Sankey.js 🔥 -23.63 kB (-100%) 23.63 kB → 0 B
src/components/reports/reports/Sankey.tsx 🔥 -22.96 kB (-100%) 22.96 kB → 0 B
src/components/reports/spreadsheets/sankey-spreadsheet.ts 🔥 -12.82 kB (-100%) 12.82 kB → 0 B
src/components/reports/graphs/SankeyGraph.tsx 🔥 -9.08 kB (-100%) 9.08 kB → 0 B
src/components/reports/reports/SankeyCard.tsx 🔥 -7.14 kB (-100%) 7.14 kB → 0 B
node_modules/es-toolkit/dist/function/debounce.js 🔥 -1.53 kB (-100%) 1.53 kB → 0 B
node_modules/es-toolkit/dist/compat/function/debounce.js 🔥 -1.26 kB (-100%) 1.26 kB → 0 B
node_modules/es-toolkit/dist/compat/math/sumBy.js 🔥 -668 B (-100%) 668 B → 0 B
node_modules/es-toolkit/dist/array/maxBy.js 🔥 -566 B (-100%) 566 B → 0 B
node_modules/es-toolkit/dist/compat/math/maxBy.js 🔥 -506 B (-100%) 506 B → 0 B
node_modules/es-toolkit/dist/compat/function/throttle.js 🔥 -502 B (-100%) 502 B → 0 B
node_modules/es-toolkit/compat/throttle.js 🔥 -187 B (-100%) 187 B → 0 B
node_modules/es-toolkit/compat/maxBy.js 🔥 -175 B (-100%) 175 B → 0 B
node_modules/es-toolkit/compat/sumBy.js 🔥 -175 B (-100%) 175 B → 0 B
home/runner/work/actual/actual/packages/component-library/src/icons/v1/List.tsx 🔥 -410 B (-100%) 410 B → 0 B
View detailed bundle breakdown

Added
No assets were added

Removed
No assets were removed

Bigger
No assets were bigger

Smaller

Asset File Size % Changed
static/js/ReportRouter.js 1.1 MB → 1.02 MB (-78.96 kB) -7.02%
static/js/index.js 3.24 MB → 3.23 MB (-12.27 kB) -0.37%
static/js/useTransactionBatchActions.js 4.29 MB → 4.29 MB (-410 B) -0.01%

Unchanged

Asset File Size % Changed
static/js/BackgroundImage.js 119.98 kB 0%
static/js/FormulaEditor.js 846.44 kB 0%
static/js/TransactionList.js 81.29 kB 0%
static/js/ca.js 183.36 kB 0%
static/js/da.js 104.66 kB 0%
static/js/de.js 174.79 kB 0%
static/js/en-GB.js 7.16 kB 0%
static/js/en.js 170.76 kB 0%
static/js/es.js 182.18 kB 0%
static/js/fr.js 177.47 kB 0%
static/js/indexeddb-main-thread-worker-e59fee74.js 13.46 kB 0%
static/js/it.js 166.25 kB 0%
static/js/narrow.js 354.5 kB 0%
static/js/nb-NO.js 152.2 kB 0%
static/js/nl.js 108.93 kB 0%
static/js/pl.js 88.34 kB 0%
static/js/pt-BR.js 177.84 kB 0%
static/js/resize-observer.js 18.03 kB 0%
static/js/sv.js 80.58 kB 0%
static/js/th.js 179.94 kB 0%
static/js/theme.js 30.68 kB 0%
static/js/uk.js 213.14 kB 0%
static/js/wide.js 418 B 0%
static/js/workbox-window.prod.es5.js 7.28 kB 0%
static/js/zh-Hans.js 93.57 kB 0%

loot-core

Total

Files count Total bundle size % Changed
1 4.82 MB → 4.82 MB (-18 B) -0.00%
Changeset
File Δ Size
home/runner/work/actual/actual/packages/loot-core/src/server/dashboard/app.ts 📉 -18 B (-0.24%) 7.43 kB → 7.41 kB
View detailed bundle breakdown

Added

Asset File Size % Changed
kcab.worker.Dmg_3mv-.js 0 B → 4.82 MB (+4.82 MB) -

Removed

Asset File Size % Changed
kcab.worker.3maKMh4x.js 4.82 MB → 0 B (-4.82 MB) -100%

Bigger
No assets were bigger

Smaller
No assets were smaller

Unchanged
No assets were unchanged


api

Total

Files count Total bundle size % Changed
1 3.83 MB → 3.83 MB (-17 B) -0.00%
Changeset
File Δ Size
home/runner/work/actual/actual/packages/loot-core/src/server/dashboard/app.ts 📉 -17 B (-0.23%) 7.29 kB → 7.27 kB
View detailed bundle breakdown

Added
No assets were added

Removed
No assets were removed

Bigger
No assets were bigger

Smaller

Asset File Size % Changed
index.js 3.83 MB → 3.83 MB (-17 B) -0.00%

Unchanged
No assets were unchanged


cli

Total

Files count Total bundle size % Changed
1 7.88 MB 0%
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

Asset File Size % Changed
cli.js 7.88 MB 0%

🔄 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/7386 **Author:** [@youngcw](https://github.com/youngcw) **Created:** 4/5/2026 **Status:** ❌ Closed **Base:** `master` ← **Head:** `revert-7220-sankey-report` --- ### 📝 Commits (2) - [`de3ecda`](https://github.com/actualbudget/actual/commit/de3ecdaee1bcc9c7ba13994dcce00938180abd81) Revert "Implement Sankey report for spent and budgeted money (#7220)" - [`3da1d62`](https://github.com/actualbudget/actual/commit/3da1d62ba8aac7457874ed02f6e6d391ed3d48b1) Add release notes for PR #7386 ### 📊 Changes **13 files changed** (+10 additions, -1904 deletions) <details> <summary>View changed files</summary> 📝 `packages/desktop-client/src/components/reports/Overview.tsx` (+0 -22) 📝 `packages/desktop-client/src/components/reports/ReportRouter.tsx` (+0 -8) ➖ `packages/desktop-client/src/components/reports/graphs/SankeyGraph.tsx` (+0 -330) ➖ `packages/desktop-client/src/components/reports/reports/Sankey.tsx` (+0 -615) ➖ `packages/desktop-client/src/components/reports/reports/SankeyCard.tsx` (+0 -168) ➖ `packages/desktop-client/src/components/reports/spreadsheets/sankey-spreadsheet.ts` (+0 -730) 📝 `packages/desktop-client/src/components/settings/Experimental.tsx` (+1 -6) 📝 `packages/desktop-client/src/hooks/useFeatureFlag.ts` (+0 -1) 📝 `packages/loot-core/src/server/dashboard/app.ts` (+0 -1) 📝 `packages/loot-core/src/types/models/dashboard.ts` (+2 -15) 📝 `packages/loot-core/src/types/prefs.ts` (+1 -2) ➖ `upcoming-release-notes/7220.md` (+0 -6) ➕ `upcoming-release-notes/7386.md` (+6 -0) </details> ### 📄 Description Reverts actualbudget/actual#7242 Will remerge later. Was merged prematurely. <!--- actual-bot-sections ---> <hr /> <!--- bundlestats-action-comment key:combined start ---> ### Bundle Stats Bundle | Files count | Total bundle size | % Changed ------ | ----------- | ----------------- | --------- desktop-client | 28 | 12.27 MB → 12.18 MB (-91.63 kB) | -0.73% loot-core | 1 | 4.82 MB → 4.82 MB (-18 B) | -0.00% api | 1 | 3.83 MB → 3.83 MB (-17 B) | -0.00% cli | 1 | 7.88 MB | 0% <details> <summary>View detailed bundle stats</summary> #### desktop-client **Total** Files count | Total bundle size | % Changed ----------- | ----------------- | --------- 28 | 12.27 MB → 12.18 MB (-91.63 kB) | -0.73% <details> <summary>Changeset</summary> File | Δ | Size ---- | - | ---- `src/components/reports/reports/NetWorth.tsx` | 📉 -2 B (-0.01%) | 13.55 kB → 13.55 kB `src/components/reports/SaveReport.tsx` | 📉 -2 B (-0.02%) | 12.55 kB → 12.55 kB `src/components/reports/graphs/BarGraph.tsx` | 📉 -2 B (-0.02%) | 10.78 kB → 10.77 kB `src/components/reports/reports/NetWorthCard.tsx` | 📉 -2 B (-0.03%) | 7.65 kB → 7.65 kB `src/components/reports/reports/BudgetAnalysis.tsx` | 📉 -7 B (-0.04%) | 19.01 kB → 19 kB `src/components/reports/spreadsheets/net-worth-spreadsheet.ts` | 📉 -2 B (-0.04%) | 5 kB → 5 kB `node_modules/recharts/es6/cartesian/XAxis.js` | 📉 -4 B (-0.06%) | 6.49 kB → 6.48 kB `src/components/accounts/AccountEmptyMessage.tsx` | 📉 -2 B (-0.08%) | 2.47 kB → 2.47 kB `src/components/reports/ReportLegend.tsx` | 📉 -2 B (-0.13%) | 1.53 kB → 1.53 kB `node_modules/recharts/es6/shape/Symbols.js` | 📉 -6 B (-0.14%) | 4.27 kB → 4.26 kB `node_modules/recharts/es6/shape/Trapezoid.js` | 📉 -17 B (-0.28%) | 5.99 kB → 5.97 kB `node_modules/recharts/es6/chart/PolarChart.js` | 📉 -20 B (-0.63%) | 3.1 kB → 3.08 kB `node_modules/recharts/es6/chart/PieChart.js` | 📉 -24 B (-1.18%) | 1.99 kB → 1.96 kB `src/components/settings/Experimental.tsx` | 📉 -238 B (-2.30%) | 10.11 kB → 9.87 kB `src/components/reports/Overview.tsx` | 📉 -670 B (-2.63%) | 24.89 kB → 24.23 kB `src/hooks/useFeatureFlag.ts` | 📉 -22 B (-4.25%) | 518 B → 496 B `node_modules/recharts/es6/context/chartLayoutContext.js` | 📉 -204 B (-6.79%) | 2.93 kB → 2.73 kB `src/components/reports/ReportRouter.tsx` | 📉 -556 B (-9.53%) | 5.7 kB → 5.15 kB `node_modules/recharts/es6/context/chartDataContext.js` | 📉 -285 B (-38.46%) | 741 B → 456 B `node_modules/recharts/es6/component/responsiveContainerUtils.js` | 📉 -1.82 kB (-88.27%) | 2.06 kB → 247 B `node_modules/recharts/es6/component/ResponsiveContainer.js` | 📉 -6.28 kB (-95.49%) | 6.58 kB → 304 B `node_modules/recharts/es6/chart/Sankey.js` | 🔥 -23.63 kB (-100%) | 23.63 kB → 0 B `src/components/reports/reports/Sankey.tsx` | 🔥 -22.96 kB (-100%) | 22.96 kB → 0 B `src/components/reports/spreadsheets/sankey-spreadsheet.ts` | 🔥 -12.82 kB (-100%) | 12.82 kB → 0 B `src/components/reports/graphs/SankeyGraph.tsx` | 🔥 -9.08 kB (-100%) | 9.08 kB → 0 B `src/components/reports/reports/SankeyCard.tsx` | 🔥 -7.14 kB (-100%) | 7.14 kB → 0 B `node_modules/es-toolkit/dist/function/debounce.js` | 🔥 -1.53 kB (-100%) | 1.53 kB → 0 B `node_modules/es-toolkit/dist/compat/function/debounce.js` | 🔥 -1.26 kB (-100%) | 1.26 kB → 0 B `node_modules/es-toolkit/dist/compat/math/sumBy.js` | 🔥 -668 B (-100%) | 668 B → 0 B `node_modules/es-toolkit/dist/array/maxBy.js` | 🔥 -566 B (-100%) | 566 B → 0 B `node_modules/es-toolkit/dist/compat/math/maxBy.js` | 🔥 -506 B (-100%) | 506 B → 0 B `node_modules/es-toolkit/dist/compat/function/throttle.js` | 🔥 -502 B (-100%) | 502 B → 0 B `node_modules/es-toolkit/compat/throttle.js` | 🔥 -187 B (-100%) | 187 B → 0 B `node_modules/es-toolkit/compat/maxBy.js` | 🔥 -175 B (-100%) | 175 B → 0 B `node_modules/es-toolkit/compat/sumBy.js` | 🔥 -175 B (-100%) | 175 B → 0 B `home/runner/work/actual/actual/packages/component-library/src/icons/v1/List.tsx` | 🔥 -410 B (-100%) | 410 B → 0 B </details> <details> <summary>View detailed bundle breakdown</summary> <div> **Added** No assets were added **Removed** No assets were removed **Bigger** No assets were bigger **Smaller** Asset | File Size | % Changed ----- | --------- | --------- static/js/ReportRouter.js | 1.1 MB → 1.02 MB (-78.96 kB) | -7.02% static/js/index.js | 3.24 MB → 3.23 MB (-12.27 kB) | -0.37% static/js/useTransactionBatchActions.js | 4.29 MB → 4.29 MB (-410 B) | -0.01% **Unchanged** Asset | File Size | % Changed ----- | --------- | --------- static/js/BackgroundImage.js | 119.98 kB | 0% static/js/FormulaEditor.js | 846.44 kB | 0% static/js/TransactionList.js | 81.29 kB | 0% static/js/ca.js | 183.36 kB | 0% static/js/da.js | 104.66 kB | 0% static/js/de.js | 174.79 kB | 0% static/js/en-GB.js | 7.16 kB | 0% static/js/en.js | 170.76 kB | 0% static/js/es.js | 182.18 kB | 0% static/js/fr.js | 177.47 kB | 0% static/js/indexeddb-main-thread-worker-e59fee74.js | 13.46 kB | 0% static/js/it.js | 166.25 kB | 0% static/js/narrow.js | 354.5 kB | 0% static/js/nb-NO.js | 152.2 kB | 0% static/js/nl.js | 108.93 kB | 0% static/js/pl.js | 88.34 kB | 0% static/js/pt-BR.js | 177.84 kB | 0% static/js/resize-observer.js | 18.03 kB | 0% static/js/sv.js | 80.58 kB | 0% static/js/th.js | 179.94 kB | 0% static/js/theme.js | 30.68 kB | 0% static/js/uk.js | 213.14 kB | 0% static/js/wide.js | 418 B | 0% static/js/workbox-window.prod.es5.js | 7.28 kB | 0% static/js/zh-Hans.js | 93.57 kB | 0% </div> </details> --- #### loot-core **Total** Files count | Total bundle size | % Changed ----------- | ----------------- | --------- 1 | 4.82 MB → 4.82 MB (-18 B) | -0.00% <details> <summary>Changeset</summary> File | Δ | Size ---- | - | ---- `home/runner/work/actual/actual/packages/loot-core/src/server/dashboard/app.ts` | 📉 -18 B (-0.24%) | 7.43 kB → 7.41 kB </details> <details> <summary>View detailed bundle breakdown</summary> <div> **Added** Asset | File Size | % Changed ----- | --------- | --------- kcab.worker.Dmg_3mv-.js | 0 B → 4.82 MB (+4.82 MB) | - **Removed** Asset | File Size | % Changed ----- | --------- | --------- kcab.worker.3maKMh4x.js | 4.82 MB → 0 B (-4.82 MB) | -100% **Bigger** No assets were bigger **Smaller** No assets were smaller **Unchanged** No assets were unchanged </div> </details> --- #### api **Total** Files count | Total bundle size | % Changed ----------- | ----------------- | --------- 1 | 3.83 MB → 3.83 MB (-17 B) | -0.00% <details> <summary>Changeset</summary> File | Δ | Size ---- | - | ---- `home/runner/work/actual/actual/packages/loot-core/src/server/dashboard/app.ts` | 📉 -17 B (-0.23%) | 7.29 kB → 7.27 kB </details> <details> <summary>View detailed bundle breakdown</summary> <div> **Added** No assets were added **Removed** No assets were removed **Bigger** No assets were bigger **Smaller** Asset | File Size | % Changed ----- | --------- | --------- index.js | 3.83 MB → 3.83 MB (-17 B) | -0.00% **Unchanged** No assets were unchanged </div> </details> --- #### cli **Total** Files count | Total bundle size | % Changed ----------- | ----------------- | --------- 1 | 7.88 MB | 0% <details> <summary>View detailed bundle breakdown</summary> <div> **Added** No assets were added **Removed** No assets were removed **Bigger** No assets were bigger **Smaller** No assets were smaller **Unchanged** Asset | File Size | % Changed ----- | --------- | --------- cli.js | 7.88 MB | 0% </div> </details> </details> <!--- bundlestats-action-comment key:combined end ---> --- <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-16 18:49:12 -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#25736