[PR #5684] [MERGED] [Maintenance] Remove usage of a raw variable in Account component #6063

Closed
opened 2026-02-28 21:23:21 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/5684
Author: @joel-jeremy
Created: 9/4/2025
Status: Merged
Merged: 9/11/2025
Merged by: @joel-jeremy

Base: masterHead: remove-variable-in-component-render-Account


📝 Commits (1)

  • afe2c79 Remove usage of a raw variable in Account component

📊 Changes

4 files changed (+36 additions, -35 deletions)

View changed files

📝 packages/desktop-client/src/components/accounts/Account.tsx (+24 -30)
📝 packages/desktop-client/src/components/transactions/TransactionsTable.tsx (+4 -3)
📝 packages/desktop-client/src/hooks/useTransactions.ts (+2 -2)
upcoming-release-notes/5684.md (+6 -0)

📄 Description

Account component uses the runningBalance variable to calculate the running balances of the preview transactions. This PR changes that to use the calculateRunningBalancesBottomUp instead.


🔄 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/5684 **Author:** [@joel-jeremy](https://github.com/joel-jeremy) **Created:** 9/4/2025 **Status:** ✅ Merged **Merged:** 9/11/2025 **Merged by:** [@joel-jeremy](https://github.com/joel-jeremy) **Base:** `master` ← **Head:** `remove-variable-in-component-render-Account` --- ### 📝 Commits (1) - [`afe2c79`](https://github.com/actualbudget/actual/commit/afe2c7910c186f43403063fbbcd4c975b6b536d7) Remove usage of a raw variable in Account component ### 📊 Changes **4 files changed** (+36 additions, -35 deletions) <details> <summary>View changed files</summary> 📝 `packages/desktop-client/src/components/accounts/Account.tsx` (+24 -30) 📝 `packages/desktop-client/src/components/transactions/TransactionsTable.tsx` (+4 -3) 📝 `packages/desktop-client/src/hooks/useTransactions.ts` (+2 -2) ➕ `upcoming-release-notes/5684.md` (+6 -0) </details> ### 📄 Description <!-- 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. --> Account component uses the runningBalance variable to calculate the running balances of the preview transactions. This PR changes that to use the `calculateRunningBalancesBottomUp` instead. --- <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-02-28 21:23:21 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#6063