[PR #5581] [MERGED] [Redux] Move account states from queriesSlice to accountsSlice #6009

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

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/5581
Author: @joel-jeremy
Created: 8/19/2025
Status: Merged
Merged: 8/21/2025
Merged by: @joel-jeremy

Base: masterHead: split-up-queriesSlice


📝 Commits (8)

  • 17e6683 Add rejected reducers
  • 2aa1639 Add dirty states
  • d24b7ba Update packages/desktop-client/src/queries/queriesSlice.ts
  • 8ed1956 [autofix.ci] apply automated fixes
  • d9c423a [Redux] Move account states from queriesSlice to accountsSlice
  • f31cf25 Release notes
  • 5d5ea20 Move getAccountsById to accountsSlice
  • 5b2f832 [autofix.ci] apply automated fixes

📊 Changes

17 files changed (+259 additions, -228 deletions)

View changed files

📝 packages/desktop-client/src/accounts/accountsSlice.ts (+199 -8)
📝 packages/desktop-client/src/components/FinancesApp.tsx (+1 -1)
📝 packages/desktop-client/src/components/accounts/Account.tsx (+6 -4)
📝 packages/desktop-client/src/components/mobile/accounts/AccountPage.tsx (+4 -4)
📝 packages/desktop-client/src/components/mobile/accounts/AccountTransactions.tsx (+1 -1)
📝 packages/desktop-client/src/components/mobile/accounts/AccountsPage.tsx (+1 -1)
📝 packages/desktop-client/src/components/modals/CloseAccountModal.tsx (+1 -1)
📝 packages/desktop-client/src/components/modals/CreateLocalAccountModal.tsx (+1 -1)
📝 packages/desktop-client/src/components/sidebar/Account.tsx (+4 -4)
📝 packages/desktop-client/src/components/transactions/TransactionsTable.tsx (+1 -1)
📝 packages/desktop-client/src/global-events.ts (+2 -5)
📝 packages/desktop-client/src/hooks/useAccounts.ts (+3 -3)
📝 packages/desktop-client/src/hooks/useUpdatedAccounts.ts (+1 -1)
📝 packages/desktop-client/src/modals/modalsSlice.ts (+1 -1)
📝 packages/desktop-client/src/queries/queriesSlice.ts (+25 -187)
📝 packages/desktop-client/src/sync-events.ts (+2 -5)
upcoming-release-notes/5581.md (+6 -0)

📄 Description

https://github.com/actualbudget/actual/pull/5579 needs to be merged first


🔄 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/5581 **Author:** [@joel-jeremy](https://github.com/joel-jeremy) **Created:** 8/19/2025 **Status:** ✅ Merged **Merged:** 8/21/2025 **Merged by:** [@joel-jeremy](https://github.com/joel-jeremy) **Base:** `master` ← **Head:** `split-up-queriesSlice` --- ### 📝 Commits (8) - [`17e6683`](https://github.com/actualbudget/actual/commit/17e6683ddab92532b27a55316cf8a588028e0f5e) Add rejected reducers - [`2aa1639`](https://github.com/actualbudget/actual/commit/2aa1639114c7afda4efe962d709376c1d32ce57d) Add dirty states - [`d24b7ba`](https://github.com/actualbudget/actual/commit/d24b7babc1d9fa0e4e6ae57c0bd6ebfa9f80acd7) Update packages/desktop-client/src/queries/queriesSlice.ts - [`8ed1956`](https://github.com/actualbudget/actual/commit/8ed1956d0ea012e827bb6b07d74c4a7e1a6b7a16) [autofix.ci] apply automated fixes - [`d9c423a`](https://github.com/actualbudget/actual/commit/d9c423acfacc55fde6724c7db70315e1fbf9d58a) [Redux] Move account states from queriesSlice to accountsSlice - [`f31cf25`](https://github.com/actualbudget/actual/commit/f31cf256f1c56b19183ba834c4758868f97a9d59) Release notes - [`5d5ea20`](https://github.com/actualbudget/actual/commit/5d5ea200ddb7a216b2dab03f7156cf62bc5144da) Move getAccountsById to accountsSlice - [`5b2f832`](https://github.com/actualbudget/actual/commit/5b2f832c756d8f5af5ec2dc65097c291e5d13d02) [autofix.ci] apply automated fixes ### 📊 Changes **17 files changed** (+259 additions, -228 deletions) <details> <summary>View changed files</summary> 📝 `packages/desktop-client/src/accounts/accountsSlice.ts` (+199 -8) 📝 `packages/desktop-client/src/components/FinancesApp.tsx` (+1 -1) 📝 `packages/desktop-client/src/components/accounts/Account.tsx` (+6 -4) 📝 `packages/desktop-client/src/components/mobile/accounts/AccountPage.tsx` (+4 -4) 📝 `packages/desktop-client/src/components/mobile/accounts/AccountTransactions.tsx` (+1 -1) 📝 `packages/desktop-client/src/components/mobile/accounts/AccountsPage.tsx` (+1 -1) 📝 `packages/desktop-client/src/components/modals/CloseAccountModal.tsx` (+1 -1) 📝 `packages/desktop-client/src/components/modals/CreateLocalAccountModal.tsx` (+1 -1) 📝 `packages/desktop-client/src/components/sidebar/Account.tsx` (+4 -4) 📝 `packages/desktop-client/src/components/transactions/TransactionsTable.tsx` (+1 -1) 📝 `packages/desktop-client/src/global-events.ts` (+2 -5) 📝 `packages/desktop-client/src/hooks/useAccounts.ts` (+3 -3) 📝 `packages/desktop-client/src/hooks/useUpdatedAccounts.ts` (+1 -1) 📝 `packages/desktop-client/src/modals/modalsSlice.ts` (+1 -1) 📝 `packages/desktop-client/src/queries/queriesSlice.ts` (+25 -187) 📝 `packages/desktop-client/src/sync-events.ts` (+2 -5) ➕ `upcoming-release-notes/5581.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. --> https://github.com/actualbudget/actual/pull/5579 needs to be merged first --- <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:22:28 -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#6009