[PR #2894] [CLOSED] [WIP] Implement balance colorization #11628

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

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/2894
Author: @dymanoid
Created: 6/17/2024
Status: Closed

Base: masterHead: balance-colorization


📝 Commits (3)

📊 Changes

20 files changed (+243 additions, -107 deletions)

View changed files

📝 packages/desktop-client/src/components/accounts/Account.jsx (+2 -0)
📝 packages/desktop-client/src/components/autocomplete/CategoryAutocomplete.tsx (+13 -5)
📝 packages/desktop-client/src/components/budget/BalanceWithCarryover.tsx (+7 -2)
📝 packages/desktop-client/src/components/budget/report/ReportComponents.tsx (+13 -2)
📝 packages/desktop-client/src/components/budget/report/budgetsummary/Saved.tsx (+5 -3)
📝 packages/desktop-client/src/components/budget/rollover/RolloverComponents.tsx (+13 -2)
📝 packages/desktop-client/src/components/budget/util.ts (+1 -50)
📝 packages/desktop-client/src/components/mobile/accounts/Accounts.jsx (+11 -3)
📝 packages/desktop-client/src/components/mobile/budget/BudgetTable.jsx (+13 -3)
📝 packages/desktop-client/src/components/mobile/budget/Category.tsx (+2 -1)
📝 packages/desktop-client/src/components/mobile/budget/index.tsx (+2 -1)
📝 packages/desktop-client/src/components/mobile/transactions/FocusableAmountInput.tsx (+3 -3)
📝 packages/desktop-client/src/components/mobile/transactions/Transaction.jsx (+2 -2)
📝 packages/desktop-client/src/components/settings/Format.tsx (+1 -17)
📝 packages/desktop-client/src/components/settings/Themes.tsx (+47 -12)
📝 packages/desktop-client/src/components/settings/UI.tsx (+23 -0)
📝 packages/desktop-client/src/components/sidebar/Account.tsx (+14 -1)
packages/desktop-client/src/components/spreadsheet/valueColorization.ts (+64 -0)
📝 packages/loot-core/src/types/prefs.d.ts (+1 -0)
upcoming-release-notes/2894.md (+6 -0)

📄 Description

This PR is a pure UI modification.
The current value colorization is somewhat inconsistent: e.g. the category balance values get colorized while the group balances don't. Also, the account balances aren't colorized, while this might be helpful to users because it gives a better overview of the current financial stats (e.g. debts and credit cards could be displayed red).

The PR introduces a new option 'Colorize Account and Balance values' which changes the way the balances for accounts, groups, and categories are displayed.

Here are two screenshots to compare:
Colorizing ON
colored

Colorizing OFF
flat


🔄 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/2894 **Author:** [@dymanoid](https://github.com/dymanoid) **Created:** 6/17/2024 **Status:** ❌ Closed **Base:** `master` ← **Head:** `balance-colorization` --- ### 📝 Commits (3) - [`9dab038`](https://github.com/actualbudget/actual/commit/9dab038998a6d62c2071fe0a7968d288054fe35a) Implement balance colorization - [`cf152ee`](https://github.com/actualbudget/actual/commit/cf152ee4a333cab042149537b0f38f5d6030a357) Add release notes - [`c049209`](https://github.com/actualbudget/actual/commit/c04920940f621e180bb7d8dbaf67c9b1d9bdb129) Fix unit tests and type check ### 📊 Changes **20 files changed** (+243 additions, -107 deletions) <details> <summary>View changed files</summary> 📝 `packages/desktop-client/src/components/accounts/Account.jsx` (+2 -0) 📝 `packages/desktop-client/src/components/autocomplete/CategoryAutocomplete.tsx` (+13 -5) 📝 `packages/desktop-client/src/components/budget/BalanceWithCarryover.tsx` (+7 -2) 📝 `packages/desktop-client/src/components/budget/report/ReportComponents.tsx` (+13 -2) 📝 `packages/desktop-client/src/components/budget/report/budgetsummary/Saved.tsx` (+5 -3) 📝 `packages/desktop-client/src/components/budget/rollover/RolloverComponents.tsx` (+13 -2) 📝 `packages/desktop-client/src/components/budget/util.ts` (+1 -50) 📝 `packages/desktop-client/src/components/mobile/accounts/Accounts.jsx` (+11 -3) 📝 `packages/desktop-client/src/components/mobile/budget/BudgetTable.jsx` (+13 -3) 📝 `packages/desktop-client/src/components/mobile/budget/Category.tsx` (+2 -1) 📝 `packages/desktop-client/src/components/mobile/budget/index.tsx` (+2 -1) 📝 `packages/desktop-client/src/components/mobile/transactions/FocusableAmountInput.tsx` (+3 -3) 📝 `packages/desktop-client/src/components/mobile/transactions/Transaction.jsx` (+2 -2) 📝 `packages/desktop-client/src/components/settings/Format.tsx` (+1 -17) 📝 `packages/desktop-client/src/components/settings/Themes.tsx` (+47 -12) 📝 `packages/desktop-client/src/components/settings/UI.tsx` (+23 -0) 📝 `packages/desktop-client/src/components/sidebar/Account.tsx` (+14 -1) ➕ `packages/desktop-client/src/components/spreadsheet/valueColorization.ts` (+64 -0) 📝 `packages/loot-core/src/types/prefs.d.ts` (+1 -0) ➕ `upcoming-release-notes/2894.md` (+6 -0) </details> ### 📄 Description This PR is a pure UI modification. The current value colorization is somewhat inconsistent: e.g. the category balance values get colorized while the group balances don't. Also, the account balances aren't colorized, while this might be helpful to users because it gives a better overview of the current financial stats (e.g. debts and credit cards could be displayed red). The PR introduces a new option 'Colorize Account and Balance values' which changes the way the balances for accounts, groups, and categories are displayed. Here are two screenshots to compare: **Colorizing ON** ![colored](https://github.com/actualbudget/actual/assets/9433345/0b0b9f40-8316-4524-b826-67c9077bad49) **Colorizing OFF** ![flat](https://github.com/actualbudget/actual/assets/9433345/9814582f-d8ba-4236-b8fd-f02c2f0c0fb0) --- <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 21:06:24 -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#11628