[PR #7162] [AI] feat: Add option to reorder accounts in stacked net worth graph #21341

Open
opened 2026-04-14 22:02:00 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/7162
Author: @mnil
Created: 3/9/2026
Status: 🔄 Open

Base: masterHead: mnil/reorder-stacked-net-worth


📝 Commits (1)

  • 7829f51 [AI] feat: Add option to reorder accounts in stacked net worth graph

📊 Changes

7 files changed (+276 additions, -5 deletions)

View changed files

📝 packages/desktop-client/src/components/reports/graphs/NetWorthGraph.tsx (+9 -1)
📝 packages/desktop-client/src/components/reports/reports/NetWorth.tsx (+241 -3)
📝 packages/desktop-client/src/components/reports/reports/NetWorthCard.tsx (+1 -0)
📝 packages/desktop-client/src/components/reports/util.ts (+17 -0)
📝 packages/desktop-client/src/components/sort.tsx (+1 -1)
📝 packages/loot-core/src/types/models/dashboard.ts (+1 -0)
upcoming-release-notes/7162.md (+6 -0)

📄 Description

Description

Add ability to reorder accounts in the stacked net worth graph.

image

n/a

Testing

Tested by creating a stacked net worth graph and reordering the accounts.

Checklist

  • Release notes added (see link above)
  • No obvious regressions in affected areas
  • Self-review has been performed - I understand what each change in the code does and why it is needed

Bundle Stats

Bundle Files count Total bundle size % Changed
desktop-client 27 14.92 MB → 14.93 MB (+10.67 kB) +0.07%
loot-core 1 5.83 MB 0%
api 1 4.44 MB 0%
View detailed bundle stats

desktop-client

Total

Files count Total bundle size % Changed
27 14.92 MB → 14.93 MB (+10.67 kB) +0.07%
Changeset
File Δ Size
home/runner/work/actual/actual/packages/component-library/src/icons/v1/Menu.tsx 🆕 +798 B 0 B → 798 B
src/components/reports/reports/NetWorth.tsx 📈 +9.38 kB (+62.37%) 15.03 kB → 24.41 kB
src/components/reports/util.ts 📈 +416 B (+19.75%) 2.06 kB → 2.46 kB
src/components/reports/graphs/NetWorthGraph.tsx 📈 +466 B (+1.95%) 23.36 kB → 23.82 kB
src/components/reports/reports/NetWorthCard.tsx 📈 +98 B (+1.11%) 8.62 kB → 8.71 kB
locale/en.json 📈 +353 B (+0.20%) 170.86 kB → 171.21 kB
src/reports/mutations.ts 📈 +4 B (+0.03%) 14.15 kB → 14.15 kB
locale/th.json 📉 -40 B (-0.02%) 181.58 kB → 181.54 kB
locale/nl.json 📉 -29 B (-0.03%) 113.06 kB → 113.03 kB
locale/pt-BR.json 📉 -74 B (-0.04%) 182.89 kB → 182.82 kB
locale/pl.json 📉 -38 B (-0.04%) 89.65 kB → 89.61 kB
locale/nb-NO.json 📉 -67 B (-0.04%) 156.8 kB → 156.74 kB
locale/it.json 📉 -74 B (-0.04%) 170.98 kB → 170.91 kB
locale/de.json 📉 -78 B (-0.04%) 179.89 kB → 179.82 kB
locale/fr.json 📉 -78 B (-0.04%) 179.41 kB → 179.34 kB
locale/ca.json 📉 -82 B (-0.04%) 187.93 kB → 187.85 kB
locale/uk.json 📉 -94 B (-0.04%) 215.35 kB → 215.25 kB
locale/es.json 📉 -82 B (-0.05%) 174.37 kB → 174.29 kB
locale/da.json 📉 -74 B (-0.07%) 106.2 kB → 106.13 kB
View detailed bundle breakdown

Added
No assets were added

Removed
No assets were removed

Bigger

Asset File Size % Changed
static/js/ReportRouter.js 1.16 MB → 1.17 MB (+11.12 kB) +0.93%
static/js/en.js 170.86 kB → 171.21 kB (+353 B) +0.20%

Smaller

Asset File Size % Changed
static/js/uk.js 215.35 kB → 215.25 kB (-94 B) -0.04%
static/js/ca.js 187.93 kB → 187.85 kB (-82 B) -0.04%
static/js/es.js 174.37 kB → 174.29 kB (-82 B) -0.05%
static/js/de.js 179.89 kB → 179.82 kB (-78 B) -0.04%
static/js/fr.js 179.41 kB → 179.34 kB (-78 B) -0.04%
static/js/da.js 106.2 kB → 106.13 kB (-74 B) -0.07%
static/js/it.js 170.98 kB → 170.91 kB (-74 B) -0.04%
static/js/pt-BR.js 182.89 kB → 182.82 kB (-74 B) -0.04%
static/js/nb-NO.js 156.8 kB → 156.74 kB (-67 B) -0.04%
static/js/th.js 181.58 kB → 181.54 kB (-40 B) -0.02%
static/js/pl.js 89.65 kB → 89.61 kB (-38 B) -0.04%
static/js/nl.js 113.06 kB → 113.03 kB (-29 B) -0.03%

Unchanged

Asset File Size % Changed
static/js/index.js 9.57 MB 0%
static/js/indexeddb-main-thread-worker-e59fee74.js 12.94 kB 0%
static/js/workbox-window.prod.es5.js 5.64 kB 0%
static/js/en-GB.js 7.18 kB 0%
static/js/resize-observer.js 18.37 kB 0%
static/js/BackgroundImage.js 120.54 kB 0%
static/js/narrow.js 638.11 kB 0%
static/js/TransactionList.js 106.48 kB 0%
static/js/wide.js 164.15 kB 0%
static/js/AppliedFilters.js 9.71 kB 0%
static/js/usePayeeRuleCounts.js 11.57 kB 0%
static/js/useTransactionBatchActions.js 13.23 kB 0%
static/js/FormulaEditor.js 1.04 MB 0%

loot-core

Total

Files count Total bundle size % Changed
1 5.83 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
kcab.worker.BJYv72EV.js 5.83 MB 0%

api

Total

Files count Total bundle size % Changed
1 4.44 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
bundle.api.js 4.44 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/7162 **Author:** [@mnil](https://github.com/mnil) **Created:** 3/9/2026 **Status:** 🔄 Open **Base:** `master` ← **Head:** `mnil/reorder-stacked-net-worth` --- ### 📝 Commits (1) - [`7829f51`](https://github.com/actualbudget/actual/commit/7829f5136307a3f3b802d0b4c3068ceac78f283e) [AI] feat: Add option to reorder accounts in stacked net worth graph ### 📊 Changes **7 files changed** (+276 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `packages/desktop-client/src/components/reports/graphs/NetWorthGraph.tsx` (+9 -1) 📝 `packages/desktop-client/src/components/reports/reports/NetWorth.tsx` (+241 -3) 📝 `packages/desktop-client/src/components/reports/reports/NetWorthCard.tsx` (+1 -0) 📝 `packages/desktop-client/src/components/reports/util.ts` (+17 -0) 📝 `packages/desktop-client/src/components/sort.tsx` (+1 -1) 📝 `packages/loot-core/src/types/models/dashboard.ts` (+1 -0) ➕ `upcoming-release-notes/7162.md` (+6 -0) </details> ### 📄 Description ## Description <!-- What does this PR do? Why is it needed? Please give context on the "why?": why do we need this change? What problem is it solving for you?--> Add ability to reorder accounts in the stacked net worth graph. <img width="569" height="291" alt="image" src="https://github.com/user-attachments/assets/a52e43db-1fa2-4af1-b159-d629f471b42e" /> ## Related issue(s) n/a ## Testing <!-- What did you test? How can we reproduce the issue you are fixing or how can we test the feature you built? --> Tested by creating a stacked net worth graph and reordering the accounts. ## Checklist - [x] Release notes added (see link above) - [x] No obvious regressions in affected areas - [x] Self-review has been performed - I understand what each change in the code does and why it is needed <!--- actual-bot-sections ---> <!--- bundlestats-action-comment key:combined start ---> ### Bundle Stats Bundle | Files count | Total bundle size | % Changed ------ | ----------- | ----------------- | --------- desktop-client | 27 | 14.92 MB → 14.93 MB (+10.67 kB) | +0.07% loot-core | 1 | 5.83 MB | 0% api | 1 | 4.44 MB | 0% <details> <summary>View detailed bundle stats</summary> #### desktop-client **Total** Files count | Total bundle size | % Changed ----------- | ----------------- | --------- 27 | 14.92 MB → 14.93 MB (+10.67 kB) | +0.07% <details> <summary>Changeset</summary> File | Δ | Size ---- | - | ---- `home/runner/work/actual/actual/packages/component-library/src/icons/v1/Menu.tsx` | 🆕 +798 B | 0 B → 798 B `src/components/reports/reports/NetWorth.tsx` | 📈 +9.38 kB (+62.37%) | 15.03 kB → 24.41 kB `src/components/reports/util.ts` | 📈 +416 B (+19.75%) | 2.06 kB → 2.46 kB `src/components/reports/graphs/NetWorthGraph.tsx` | 📈 +466 B (+1.95%) | 23.36 kB → 23.82 kB `src/components/reports/reports/NetWorthCard.tsx` | 📈 +98 B (+1.11%) | 8.62 kB → 8.71 kB `locale/en.json` | 📈 +353 B (+0.20%) | 170.86 kB → 171.21 kB `src/reports/mutations.ts` | 📈 +4 B (+0.03%) | 14.15 kB → 14.15 kB `locale/th.json` | 📉 -40 B (-0.02%) | 181.58 kB → 181.54 kB `locale/nl.json` | 📉 -29 B (-0.03%) | 113.06 kB → 113.03 kB `locale/pt-BR.json` | 📉 -74 B (-0.04%) | 182.89 kB → 182.82 kB `locale/pl.json` | 📉 -38 B (-0.04%) | 89.65 kB → 89.61 kB `locale/nb-NO.json` | 📉 -67 B (-0.04%) | 156.8 kB → 156.74 kB `locale/it.json` | 📉 -74 B (-0.04%) | 170.98 kB → 170.91 kB `locale/de.json` | 📉 -78 B (-0.04%) | 179.89 kB → 179.82 kB `locale/fr.json` | 📉 -78 B (-0.04%) | 179.41 kB → 179.34 kB `locale/ca.json` | 📉 -82 B (-0.04%) | 187.93 kB → 187.85 kB `locale/uk.json` | 📉 -94 B (-0.04%) | 215.35 kB → 215.25 kB `locale/es.json` | 📉 -82 B (-0.05%) | 174.37 kB → 174.29 kB `locale/da.json` | 📉 -74 B (-0.07%) | 106.2 kB → 106.13 kB </details> <details> <summary>View detailed bundle breakdown</summary> <div> **Added** No assets were added **Removed** No assets were removed **Bigger** Asset | File Size | % Changed ----- | --------- | --------- static/js/ReportRouter.js | 1.16 MB → 1.17 MB (+11.12 kB) | +0.93% static/js/en.js | 170.86 kB → 171.21 kB (+353 B) | +0.20% **Smaller** Asset | File Size | % Changed ----- | --------- | --------- static/js/uk.js | 215.35 kB → 215.25 kB (-94 B) | -0.04% static/js/ca.js | 187.93 kB → 187.85 kB (-82 B) | -0.04% static/js/es.js | 174.37 kB → 174.29 kB (-82 B) | -0.05% static/js/de.js | 179.89 kB → 179.82 kB (-78 B) | -0.04% static/js/fr.js | 179.41 kB → 179.34 kB (-78 B) | -0.04% static/js/da.js | 106.2 kB → 106.13 kB (-74 B) | -0.07% static/js/it.js | 170.98 kB → 170.91 kB (-74 B) | -0.04% static/js/pt-BR.js | 182.89 kB → 182.82 kB (-74 B) | -0.04% static/js/nb-NO.js | 156.8 kB → 156.74 kB (-67 B) | -0.04% static/js/th.js | 181.58 kB → 181.54 kB (-40 B) | -0.02% static/js/pl.js | 89.65 kB → 89.61 kB (-38 B) | -0.04% static/js/nl.js | 113.06 kB → 113.03 kB (-29 B) | -0.03% **Unchanged** Asset | File Size | % Changed ----- | --------- | --------- static/js/index.js | 9.57 MB | 0% static/js/indexeddb-main-thread-worker-e59fee74.js | 12.94 kB | 0% static/js/workbox-window.prod.es5.js | 5.64 kB | 0% static/js/en-GB.js | 7.18 kB | 0% static/js/resize-observer.js | 18.37 kB | 0% static/js/BackgroundImage.js | 120.54 kB | 0% static/js/narrow.js | 638.11 kB | 0% static/js/TransactionList.js | 106.48 kB | 0% static/js/wide.js | 164.15 kB | 0% static/js/AppliedFilters.js | 9.71 kB | 0% static/js/usePayeeRuleCounts.js | 11.57 kB | 0% static/js/useTransactionBatchActions.js | 13.23 kB | 0% static/js/FormulaEditor.js | 1.04 MB | 0% </div> </details> --- #### loot-core **Total** Files count | Total bundle size | % Changed ----------- | ----------------- | --------- 1 | 5.83 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 ----- | --------- | --------- kcab.worker.BJYv72EV.js | 5.83 MB | 0% </div> </details> --- #### api **Total** Files count | Total bundle size | % Changed ----------- | ----------------- | --------- 1 | 4.44 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 ----- | --------- | --------- bundle.api.js | 4.44 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-14 22:02:00 -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#21341