[PR #4101] [CLOSED] Rename redux hooks #47008

Closed
opened 2026-04-26 09:01:47 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/4101
Author: @joel-jeremy
Created: 1/6/2025
Status: Closed

Base: masterHead: rename-redux-hooks


📝 Commits (7)

📊 Changes

104 files changed (+288 additions, -261 deletions)

View changed files

📝 packages/api/index.ts (+1 -1)
📝 packages/desktop-client/src/auth/AuthProvider.tsx (+2 -2)
📝 packages/desktop-client/src/auth/ProtectedRoute.tsx (+3 -3)
📝 packages/desktop-client/src/components/App.tsx (+4 -4)
📝 packages/desktop-client/src/components/AppBackground.tsx (+2 -2)
📝 packages/desktop-client/src/components/BankSyncStatus.tsx (+4 -2)
📝 packages/desktop-client/src/components/FinancesApp.tsx (+3 -3)
📝 packages/desktop-client/src/components/HelpMenu.tsx (+2 -2)
📝 packages/desktop-client/src/components/LoggedInUser.tsx (+5 -5)
📝 packages/desktop-client/src/components/ManageRules.tsx (+2 -2)
📝 packages/desktop-client/src/components/Modals.tsx (+2 -2)
📝 packages/desktop-client/src/components/Notifications.tsx (+6 -4)
📝 packages/desktop-client/src/components/Titlebar.tsx (+2 -2)
📝 packages/desktop-client/src/components/UpdateNotification.tsx (+4 -4)
📝 packages/desktop-client/src/components/accounts/Account.tsx (+12 -6)
📝 packages/desktop-client/src/components/accounts/AccountSyncCheck.tsx (+2 -2)
📝 packages/desktop-client/src/components/admin/UserAccess/UserAccess.tsx (+2 -2)
📝 packages/desktop-client/src/components/admin/UserAccess/UserAccessRow.tsx (+2 -2)
📝 packages/desktop-client/src/components/admin/UserDirectory/UserDirectory.tsx (+2 -2)
📝 packages/desktop-client/src/components/autocomplete/PayeeAutocomplete.tsx (+2 -2)

...and 80 more files

📄 Description

Rename redux useDispatch and useSelector to useAppDispatch and useAppSelector, respectively.

https://redux.js.org/usage/usage-with-typescript


🔄 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/4101 **Author:** [@joel-jeremy](https://github.com/joel-jeremy) **Created:** 1/6/2025 **Status:** ❌ Closed **Base:** `master` ← **Head:** `rename-redux-hooks` --- ### 📝 Commits (7) - [`c9861ef`](https://github.com/actualbudget/actual/commit/c9861ef81692fa91f82a8d9dfe809076f5e12204) Rename to useAppDispatch and useAppSelector - [`bc26913`](https://github.com/actualbudget/actual/commit/bc269132d7f1272b9e368a90ad9395a828da1548) Release notes - [`c601921`](https://github.com/actualbudget/actual/commit/c6019214d6f6f20ac997c694b70515524c8dbc00) Fix lint - [`0a74d89`](https://github.com/actualbudget/actual/commit/0a74d897e274a0d88b8f3ad6e7897c48ea59a8e1) Remove untyped useDispatch - [`7dfb4a6`](https://github.com/actualbudget/actual/commit/7dfb4a6e094b16d4f8f8fa3398331fab9417cd94) Fix lint - [`818d031`](https://github.com/actualbudget/actual/commit/818d031d0bea427e2925b9ef6a00e87335716893) Remove import/no-unresolved - [`707859e`](https://github.com/actualbudget/actual/commit/707859ef316f83f629c6659844a363d5c31a7f1f) Fix error ### 📊 Changes **104 files changed** (+288 additions, -261 deletions) <details> <summary>View changed files</summary> 📝 `packages/api/index.ts` (+1 -1) 📝 `packages/desktop-client/src/auth/AuthProvider.tsx` (+2 -2) 📝 `packages/desktop-client/src/auth/ProtectedRoute.tsx` (+3 -3) 📝 `packages/desktop-client/src/components/App.tsx` (+4 -4) 📝 `packages/desktop-client/src/components/AppBackground.tsx` (+2 -2) 📝 `packages/desktop-client/src/components/BankSyncStatus.tsx` (+4 -2) 📝 `packages/desktop-client/src/components/FinancesApp.tsx` (+3 -3) 📝 `packages/desktop-client/src/components/HelpMenu.tsx` (+2 -2) 📝 `packages/desktop-client/src/components/LoggedInUser.tsx` (+5 -5) 📝 `packages/desktop-client/src/components/ManageRules.tsx` (+2 -2) 📝 `packages/desktop-client/src/components/Modals.tsx` (+2 -2) 📝 `packages/desktop-client/src/components/Notifications.tsx` (+6 -4) 📝 `packages/desktop-client/src/components/Titlebar.tsx` (+2 -2) 📝 `packages/desktop-client/src/components/UpdateNotification.tsx` (+4 -4) 📝 `packages/desktop-client/src/components/accounts/Account.tsx` (+12 -6) 📝 `packages/desktop-client/src/components/accounts/AccountSyncCheck.tsx` (+2 -2) 📝 `packages/desktop-client/src/components/admin/UserAccess/UserAccess.tsx` (+2 -2) 📝 `packages/desktop-client/src/components/admin/UserAccess/UserAccessRow.tsx` (+2 -2) 📝 `packages/desktop-client/src/components/admin/UserDirectory/UserDirectory.tsx` (+2 -2) 📝 `packages/desktop-client/src/components/autocomplete/PayeeAutocomplete.tsx` (+2 -2) _...and 80 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 --> Rename redux useDispatch and useSelector to useAppDispatch and useAppSelector, respectively. https://redux.js.org/usage/usage-with-typescript --- <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-26 09:01:47 -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#47008