[PR #4114] [MERGED] [Redux Toolkit Migration] budgetsSlice #5193

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

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/4114
Author: @joel-jeremy
Created: 1/8/2025
Status: Merged
Merged: 3/1/2025
Merged by: @joel-jeremy

Base: masterHead: redux-toolkit-budgets-slice


📝 Commits (10+)

📊 Changes

36 files changed (+694 additions, -617 deletions)

View changed files

📝 packages/desktop-client/src/components/App.tsx (+2 -3)
📝 packages/desktop-client/src/components/LoggedInUser.tsx (+2 -1)
📝 packages/desktop-client/src/components/manager/BudgetList.tsx (+6 -7)
📝 packages/desktop-client/src/components/manager/ConfigServer.tsx (+2 -1)
📝 packages/desktop-client/src/components/manager/WelcomeScreen.tsx (+3 -2)
📝 packages/desktop-client/src/components/manager/subscribe/Bootstrap.tsx (+1 -1)
📝 packages/desktop-client/src/components/modals/CreateEncryptionKeyModal.tsx (+2 -1)
📝 packages/desktop-client/src/components/modals/LoadBackupModal.tsx (+12 -3)
📝 packages/desktop-client/src/components/modals/OpenIDEnableModal.tsx (+2 -1)
📝 packages/desktop-client/src/components/modals/OutOfSyncMigrationsModal.tsx (+1 -1)
📝 packages/desktop-client/src/components/modals/PasswordEnableModal.tsx (+2 -1)
📝 packages/desktop-client/src/components/modals/TransferOwnership.tsx (+3 -6)
📝 packages/desktop-client/src/components/modals/manager/DeleteFileModal.tsx (+6 -6)
📝 packages/desktop-client/src/components/modals/manager/DuplicateFileModal.tsx (+14 -6)
📝 packages/desktop-client/src/components/modals/manager/FilesSettingsModal.tsx (+2 -1)
📝 packages/desktop-client/src/components/modals/manager/ImportActualModal.tsx (+2 -2)
📝 packages/desktop-client/src/components/modals/manager/ImportYNAB4Modal.tsx (+2 -2)
📝 packages/desktop-client/src/components/modals/manager/ImportYNAB5Modal.tsx (+2 -2)
📝 packages/desktop-client/src/components/settings/index.tsx (+2 -1)
📝 packages/desktop-client/src/components/sidebar/BudgetName.tsx (+1 -1)

...and 16 more files

📄 Description

Reviewers - summary of changes:

  1. Deleted loot-core/client/actions/budgets.ts and loot-core/client/reducers/budgets.ts
  2. Changed imports from loot-core/client/actions to desktop-client/app/budgetsSlice
  3. Actions payloads are now objects for consistency

🔄 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/4114 **Author:** [@joel-jeremy](https://github.com/joel-jeremy) **Created:** 1/8/2025 **Status:** ✅ Merged **Merged:** 3/1/2025 **Merged by:** [@joel-jeremy](https://github.com/joel-jeremy) **Base:** `master` ← **Head:** `redux-toolkit-budgets-slice` --- ### 📝 Commits (10+) - [`5b15a48`](https://github.com/actualbudget/actual/commit/5b15a4841a449123ec3db8135d5405fc875fe3ae) Migrate to accountSlice - [`278fbbf`](https://github.com/actualbudget/actual/commit/278fbbf862e4dead2a0ab5af6c8f30583ab66e8c) Fix lint and typecheck errors - [`302fc85`](https://github.com/actualbudget/actual/commit/302fc85b9834bb0fd34bd087a035bad8a120024a) Update types - [`c313c56`](https://github.com/actualbudget/actual/commit/c313c567961245932c3a89260eb342eb0afd7e26) Fix lint - [`c4c4307`](https://github.com/actualbudget/actual/commit/c4c4307c7d77a53b8cf92bad7b32dd974f63b061) Fix types - [`f1a4485`](https://github.com/actualbudget/actual/commit/f1a44852a8cfb337a9bb0c9721770fd57ee60463) Cleanup - [`a45ee71`](https://github.com/actualbudget/actual/commit/a45ee7159b83864517c07eff1c356deb98249845) Rename file - [`830ef90`](https://github.com/actualbudget/actual/commit/830ef90869c886cbbe6f235df3af1a641347784b) Rename state - [`8dc0947`](https://github.com/actualbudget/actual/commit/8dc094754007cd9223f67901d3afa10c82c3dde6) Cleanup - [`5e7f6df`](https://github.com/actualbudget/actual/commit/5e7f6df08029816ae6f293017a43bcf6ef5be563) Fix typecheck error ### 📊 Changes **36 files changed** (+694 additions, -617 deletions) <details> <summary>View changed files</summary> 📝 `packages/desktop-client/src/components/App.tsx` (+2 -3) 📝 `packages/desktop-client/src/components/LoggedInUser.tsx` (+2 -1) 📝 `packages/desktop-client/src/components/manager/BudgetList.tsx` (+6 -7) 📝 `packages/desktop-client/src/components/manager/ConfigServer.tsx` (+2 -1) 📝 `packages/desktop-client/src/components/manager/WelcomeScreen.tsx` (+3 -2) 📝 `packages/desktop-client/src/components/manager/subscribe/Bootstrap.tsx` (+1 -1) 📝 `packages/desktop-client/src/components/modals/CreateEncryptionKeyModal.tsx` (+2 -1) 📝 `packages/desktop-client/src/components/modals/LoadBackupModal.tsx` (+12 -3) 📝 `packages/desktop-client/src/components/modals/OpenIDEnableModal.tsx` (+2 -1) 📝 `packages/desktop-client/src/components/modals/OutOfSyncMigrationsModal.tsx` (+1 -1) 📝 `packages/desktop-client/src/components/modals/PasswordEnableModal.tsx` (+2 -1) 📝 `packages/desktop-client/src/components/modals/TransferOwnership.tsx` (+3 -6) 📝 `packages/desktop-client/src/components/modals/manager/DeleteFileModal.tsx` (+6 -6) 📝 `packages/desktop-client/src/components/modals/manager/DuplicateFileModal.tsx` (+14 -6) 📝 `packages/desktop-client/src/components/modals/manager/FilesSettingsModal.tsx` (+2 -1) 📝 `packages/desktop-client/src/components/modals/manager/ImportActualModal.tsx` (+2 -2) 📝 `packages/desktop-client/src/components/modals/manager/ImportYNAB4Modal.tsx` (+2 -2) 📝 `packages/desktop-client/src/components/modals/manager/ImportYNAB5Modal.tsx` (+2 -2) 📝 `packages/desktop-client/src/components/settings/index.tsx` (+2 -1) 📝 `packages/desktop-client/src/components/sidebar/BudgetName.tsx` (+1 -1) _...and 16 more files_ </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 --> - [x] `actions/account.ts` / `reducers/account.ts` -> `accounts/accountsSlice.ts` #4012 - [x] `actions/queries.ts` / `reducers/queries.ts` -> `queries/queriesSlice.ts` #4016 - [x] `actions/app.ts` / `reducers/app.ts` -> `app/appSlice.ts` #4018 - [x] `actions/budgets.ts` / `reducers/budgets.ts` -> `budgets/budgetsSlice.ts` - [ ] `actions/modals.ts` / `reducers/modals.ts` -> `modals/modalsSlice.ts` - [ ] `actions/notifications.ts` / `reducers/notifications.ts` -> `notifications/notificationsSlice.ts` - [ ] `actions/prefs.ts` / `reducers/prefs.ts` -> `prefs/prefsSlice.ts` - [ ] `actions/user.ts` / `reducers/user.ts` -> `users/usersSlice.ts` Reviewers - summary of changes: 1. Deleted loot-core/client/actions/budgets.ts and loot-core/client/reducers/budgets.ts 2. Changed imports from loot-core/client/actions to desktop-client/app/budgetsSlice 3. Actions payloads are now objects for consistency --- <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:07:46 -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#5193