[PR #4540] [MERGED] Memoize external accounts for bank sync #12496

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

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/4540
Author: @lelemm
Created: 3/5/2025
Status: Merged
Merged: 3/5/2025
Merged by: @lelemm

Base: masterHead: enhance/memoize_sorted_list


📝 Commits (2)

📊 Changes

2 files changed (+15 additions, -4 deletions)

View changed files

📝 packages/desktop-client/src/components/modals/SelectLinkedAccountsModal.jsx (+9 -4)
upcoming-release-notes/4540.md (+6 -0)

📄 Description

External accounts are sorted when showing the modal, but the way its coded, its resorting the list every frame.
This PR memoizes the sorted list to resort it only when changing the list


🔄 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/4540 **Author:** [@lelemm](https://github.com/lelemm) **Created:** 3/5/2025 **Status:** ✅ Merged **Merged:** 3/5/2025 **Merged by:** [@lelemm](https://github.com/lelemm) **Base:** `master` ← **Head:** `enhance/memoize_sorted_list` --- ### 📝 Commits (2) - [`3b85556`](https://github.com/actualbudget/actual/commit/3b85556f2c877eb37486bc98196198ab5cdda505) Memoize external accounts - [`010946f`](https://github.com/actualbudget/actual/commit/010946f43ee35c90dcb9f35c0a2c346eb02d9497) md ### 📊 Changes **2 files changed** (+15 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `packages/desktop-client/src/components/modals/SelectLinkedAccountsModal.jsx` (+9 -4) ➕ `upcoming-release-notes/4540.md` (+6 -0) </details> ### 📄 Description External accounts are sorted when showing the modal, but the way its coded, its resorting the list every frame. This PR memoizes the sorted list to resort it only when changing the list --- <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:31: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#12496