[PR #6880] Move redux state to react-query - payees states #6796

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

Original Pull Request: https://github.com/actualbudget/actual/pull/6880

State: closed
Merged: Yes


Depends on https://github.com/actualbudget/actual/pull/6140


Bundle Stats

Bundle Files count Total bundle size % Changed
desktop-client 27 14.81 MB → 14.81 MB (-4.74 kB) -0.03%
loot-core 1 5.86 MB 0%
api 1 4.4 MB 0%
View detailed bundle stats

desktop-client

Total

Files count Total bundle size % Changed
27 14.81 MB → 14.81 MB (-4.74 kB) -0.03%
Changeset
File Δ Size
src/payees/queries.ts 🆕 +1.9 kB 0 B → 1.9 kB
src/payees/mutations.ts 🆕 +1.38 kB 0 B → 1.38 kB
src/hooks/useOrphanedPayees.ts 🆕 +263 B 0 B → 263 B
src/hooks/useCommonPayees.ts 🆕 +261 B 0 B → 261 B
src/hooks/usePayee.ts 📈 +202 B (+50.50%) 400 B → 602 B
src/components/modals/PayeeAutocompleteModal.tsx 📈 +170 B (+5.79%) 2.87 kB → 3.03 kB
src/hooks/useDisplayPayee.tsx 📈 +172 B (+3.26%) 5.15 kB → 5.31 kB
src/components/mobile/payees/MobilePayeeEditPage.tsx 📈 +181 B (+2.67%) 6.62 kB → 6.8 kB
src/hooks/useAccountPreviewTransactions.ts 📈 +171 B (+2.50%) 6.67 kB → 6.83 kB
src/components/mobile/schedules/MobileSchedulesPage.tsx 📈 +172 B (+2.41%) 6.96 kB → 7.13 kB
src/components/modals/MergeUnusedPayeesModal.tsx 📈 +174 B (+2.16%) 7.85 kB → 8.02 kB
src/global-events.ts 📈 +34 B (+0.87%) 3.83 kB → 3.87 kB
src/components/accounts/Account.tsx 📈 +426 B (+0.83%) 50.12 kB → 50.54 kB
src/components/reports/reports/CustomReportListCards.tsx 📈 +61 B (+0.66%) 9.03 kB → 9.09 kB
src/components/util/DisplayId.tsx 📈 +16 B (+0.62%) 2.5 kB → 2.52 kB
src/components/rules/ScheduleValue.tsx 📈 +13 B (+0.61%) 2.07 kB → 2.08 kB
src/sync-events.ts 📈 +53 B (+0.51%) 10.08 kB → 10.13 kB
src/components/mobile/rules/MobileRulesPage.tsx 📈 +21 B (+0.47%) 4.39 kB → 4.41 kB
src/components/autocomplete/PayeeAutocomplete.tsx 📈 +60 B (+0.35%) 16.96 kB → 17.02 kB
src/components/rules/Value.tsx 📈 +16 B (+0.31%) 5.02 kB → 5.04 kB
src/components/mobile/transactions/TransactionEdit.tsx 📈 +162 B (+0.26%) 61.64 kB → 61.8 kB
src/components/mobile/transactions/TransactionList.tsx 📈 +21 B (+0.11%) 19.49 kB → 19.51 kB
src/components/modals/ImportTransactionsModal/ImportTransactionsModal.tsx 📈 +26 B (+0.09%) 28.45 kB → 28.48 kB
src/components/reports/reports/CustomReport.tsx 📈 +21 B (+0.08%) 25.76 kB → 25.78 kB
src/components/schedules/SchedulesTable.tsx 📈 +16 B (+0.08%) 19.88 kB → 19.89 kB
src/components/reports/reports/Calendar.tsx 📈 +21 B (+0.07%) 29.39 kB → 29.42 kB
src/components/mobile/transactions/TransactionListItem.tsx 📈 +10 B (+0.07%) 14.09 kB → 14.1 kB
src/components/schedules/ScheduleEditModal.tsx 📈 +3 B (+0.05%) 5.63 kB → 5.63 kB
src/components/transactions/TransactionsTable.tsx 📈 +31 B (+0.04%) 86.17 kB → 86.2 kB
src/components/rules/RuleEditor.tsx 📉 -27 B (-0.05%) 49.45 kB → 49.42 kB
src/accounts/mutations.ts 📉 -48 B (-0.21%) 21.98 kB → 21.93 kB
src/components/ManageRules.tsx 📉 -65 B (-0.41%) 15.64 kB → 15.58 kB
src/index.tsx 📉 -16 B (-0.88%) 1.77 kB ��� 1.76 kB
src/redux/store.ts 📉 -23 B (-2.09%) 1.07 kB → 1.05 kB
src/components/mobile/payees/MobilePayeesPage.tsx 📉 -2.3 kB (-41.44%) 5.56 kB → 3.26 kB
src/components/payees/ManagePayeesWithData.tsx 📉 -2.27 kB (-41.86%) 5.41 kB → 3.15 kB
src/hooks/usePayeeRuleCounts.ts 📉 -346 B (-56.91%) 608 B → 262 B
src/hooks/usePayees.ts 📉 -1.25 kB (-67.81%) 1.84 kB → 608 B
src/payees/payeesSlice.ts 🔥 -4.4 kB (-100%) 4.4 kB → 0 B
View detailed bundle breakdown

Added
No assets were added

Removed
No assets were removed

Bigger

Asset File Size % Changed
static/js/ReportRouter.js 1.15 MB → 1.15 MB (+103 B) +0.01%
static/js/TransactionList.js 106.15 kB → 106.18 kB (+31 B) +0.03%

Smaller

Asset File Size % Changed
static/js/narrow.js 639.27 kB → 637.33 kB (-1.94 kB) -0.30%
static/js/wide.js 165.59 kB → 164 kB (-1.59 kB) -0.96%
static/js/index.js 9.52 MB → 9.52 MB (-1.17 kB) -0.01%
static/js/usePayeeRuleCounts.js 10.22 kB → 10.04 kB (-175 B) -1.67%

Unchanged

Asset File Size % Changed
static/js/indexeddb-main-thread-worker-e59fee74.js 12.94 kB 0%
static/js/workbox-window.prod.es5.js 5.64 kB 0%
static/js/ca.js 182.95 kB 0%
static/js/da.js 106.46 kB 0%
static/js/de.js 180.27 kB 0%
static/js/en-GB.js 7.18 kB 0%
static/js/en.js 168.47 kB 0%
static/js/es.js 173.67 kB 0%
static/js/fr.js 179.8 kB 0%
static/js/it.js 171.27 kB 0%
static/js/nb-NO.js 157.07 kB 0%
static/js/nl.js 106.47 kB 0%
static/js/pl.js 88.48 kB 0%
static/js/pt-BR.js 154.41 kB 0%
static/js/th.js 182.04 kB 0%
static/js/uk.js 214.89 kB 0%
static/js/resize-observer.js 18.37 kB 0%
static/js/BackgroundImage.js 120.54 kB 0%
static/js/AppliedFilters.js 9.71 kB 0%
static/js/useTransactionBatchActions.js 13.23 kB 0%
static/js/FormulaEditor.js 1.04 MB 0%

loot-core

Total

Files count Total bundle size % Changed
1 5.86 MB 0%
View detailed bundle breakdown

Added
No assets were added

Removed
No assets were removed

Bigger
No assets were bigger

Smaller
No assets were smaller

Unchanged

Asset File Size % Changed
kcab.worker.Zwjv9l4n.js 5.86 MB 0%

api

Total

Files count Total bundle size % Changed
1 4.4 MB 0%
View detailed bundle breakdown

Added
No assets were added

Removed
No assets were removed

Bigger
No assets were bigger

Smaller
No assets were smaller

Unchanged

Asset File Size % Changed
bundle.api.js 4.4 MB 0%
**Original Pull Request:** https://github.com/actualbudget/actual/pull/6880 **State:** closed **Merged:** Yes --- <!-- 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. --> Depends on https://github.com/actualbudget/actual/pull/6140 <!--- actual-bot-sections ---> <hr /> <!--- bundlestats-action-comment key:combined start ---> ### Bundle Stats Bundle | Files count | Total bundle size | % Changed ------ | ----------- | ----------------- | --------- desktop-client | 27 | 14.81 MB → 14.81 MB (-4.74 kB) | -0.03% loot-core | 1 | 5.86 MB | 0% api | 1 | 4.4 MB | 0% <details> <summary>View detailed bundle stats</summary> #### desktop-client **Total** Files count | Total bundle size | % Changed ----------- | ----------------- | --------- 27 | 14.81 MB → 14.81 MB (-4.74 kB) | -0.03% <details> <summary>Changeset</summary> File | Δ | Size ---- | - | ---- `src/payees/queries.ts` | 🆕 +1.9 kB | 0 B → 1.9 kB `src/payees/mutations.ts` | 🆕 +1.38 kB | 0 B → 1.38 kB `src/hooks/useOrphanedPayees.ts` | 🆕 +263 B | 0 B → 263 B `src/hooks/useCommonPayees.ts` | 🆕 +261 B | 0 B → 261 B `src/hooks/usePayee.ts` | 📈 +202 B (+50.50%) | 400 B → 602 B `src/components/modals/PayeeAutocompleteModal.tsx` | 📈 +170 B (+5.79%) | 2.87 kB → 3.03 kB `src/hooks/useDisplayPayee.tsx` | 📈 +172 B (+3.26%) | 5.15 kB → 5.31 kB `src/components/mobile/payees/MobilePayeeEditPage.tsx` | 📈 +181 B (+2.67%) | 6.62 kB → 6.8 kB `src/hooks/useAccountPreviewTransactions.ts` | 📈 +171 B (+2.50%) | 6.67 kB → 6.83 kB `src/components/mobile/schedules/MobileSchedulesPage.tsx` | 📈 +172 B (+2.41%) | 6.96 kB → 7.13 kB `src/components/modals/MergeUnusedPayeesModal.tsx` | 📈 +174 B (+2.16%) | 7.85 kB → 8.02 kB `src/global-events.ts` | 📈 +34 B (+0.87%) | 3.83 kB → 3.87 kB `src/components/accounts/Account.tsx` | 📈 +426 B (+0.83%) | 50.12 kB → 50.54 kB `src/components/reports/reports/CustomReportListCards.tsx` | 📈 +61 B (+0.66%) | 9.03 kB → 9.09 kB `src/components/util/DisplayId.tsx` | 📈 +16 B (+0.62%) | 2.5 kB → 2.52 kB `src/components/rules/ScheduleValue.tsx` | 📈 +13 B (+0.61%) | 2.07 kB → 2.08 kB `src/sync-events.ts` | 📈 +53 B (+0.51%) | 10.08 kB → 10.13 kB `src/components/mobile/rules/MobileRulesPage.tsx` | 📈 +21 B (+0.47%) | 4.39 kB → 4.41 kB `src/components/autocomplete/PayeeAutocomplete.tsx` | 📈 +60 B (+0.35%) | 16.96 kB → 17.02 kB `src/components/rules/Value.tsx` | 📈 +16 B (+0.31%) | 5.02 kB → 5.04 kB `src/components/mobile/transactions/TransactionEdit.tsx` | 📈 +162 B (+0.26%) | 61.64 kB → 61.8 kB `src/components/mobile/transactions/TransactionList.tsx` | 📈 +21 B (+0.11%) | 19.49 kB → 19.51 kB `src/components/modals/ImportTransactionsModal/ImportTransactionsModal.tsx` | 📈 +26 B (+0.09%) | 28.45 kB → 28.48 kB `src/components/reports/reports/CustomReport.tsx` | 📈 +21 B (+0.08%) | 25.76 kB → 25.78 kB `src/components/schedules/SchedulesTable.tsx` | 📈 +16 B (+0.08%) | 19.88 kB → 19.89 kB `src/components/reports/reports/Calendar.tsx` | 📈 +21 B (+0.07%) | 29.39 kB → 29.42 kB `src/components/mobile/transactions/TransactionListItem.tsx` | 📈 +10 B (+0.07%) | 14.09 kB → 14.1 kB `src/components/schedules/ScheduleEditModal.tsx` | 📈 +3 B (+0.05%) | 5.63 kB → 5.63 kB `src/components/transactions/TransactionsTable.tsx` | 📈 +31 B (+0.04%) | 86.17 kB → 86.2 kB `src/components/rules/RuleEditor.tsx` | 📉 -27 B (-0.05%) | 49.45 kB → 49.42 kB `src/accounts/mutations.ts` | 📉 -48 B (-0.21%) | 21.98 kB → 21.93 kB `src/components/ManageRules.tsx` | 📉 -65 B (-0.41%) | 15.64 kB → 15.58 kB `src/index.tsx` | 📉 -16 B (-0.88%) | 1.77 kB ��� 1.76 kB `src/redux/store.ts` | 📉 -23 B (-2.09%) | 1.07 kB → 1.05 kB `src/components/mobile/payees/MobilePayeesPage.tsx` | 📉 -2.3 kB (-41.44%) | 5.56 kB → 3.26 kB `src/components/payees/ManagePayeesWithData.tsx` | 📉 -2.27 kB (-41.86%) | 5.41 kB → 3.15 kB `src/hooks/usePayeeRuleCounts.ts` | 📉 -346 B (-56.91%) | 608 B → 262 B `src/hooks/usePayees.ts` | 📉 -1.25 kB (-67.81%) | 1.84 kB → 608 B `src/payees/payeesSlice.ts` | 🔥 -4.4 kB (-100%) | 4.4 kB → 0 B </details> <details> <summary>View detailed bundle breakdown</summary> <div> **Added** No assets were added **Removed** No assets were removed **Bigger** Asset | File Size | % Changed ----- | --------- | --------- static/js/ReportRouter.js | 1.15 MB → 1.15 MB (+103 B) | +0.01% static/js/TransactionList.js | 106.15 kB → 106.18 kB (+31 B) | +0.03% **Smaller** Asset | File Size | % Changed ----- | --------- | --------- static/js/narrow.js | 639.27 kB → 637.33 kB (-1.94 kB) | -0.30% static/js/wide.js | 165.59 kB → 164 kB (-1.59 kB) | -0.96% static/js/index.js | 9.52 MB → 9.52 MB (-1.17 kB) | -0.01% static/js/usePayeeRuleCounts.js | 10.22 kB → 10.04 kB (-175 B) | -1.67% **Unchanged** Asset | File Size | % Changed ----- | --------- | --------- static/js/indexeddb-main-thread-worker-e59fee74.js | 12.94 kB | 0% static/js/workbox-window.prod.es5.js | 5.64 kB | 0% static/js/ca.js | 182.95 kB | 0% static/js/da.js | 106.46 kB | 0% static/js/de.js | 180.27 kB | 0% static/js/en-GB.js | 7.18 kB | 0% static/js/en.js | 168.47 kB | 0% static/js/es.js | 173.67 kB | 0% static/js/fr.js | 179.8 kB | 0% static/js/it.js | 171.27 kB | 0% static/js/nb-NO.js | 157.07 kB | 0% static/js/nl.js | 106.47 kB | 0% static/js/pl.js | 88.48 kB | 0% static/js/pt-BR.js | 154.41 kB | 0% static/js/th.js | 182.04 kB | 0% static/js/uk.js | 214.89 kB | 0% static/js/resize-observer.js | 18.37 kB | 0% static/js/BackgroundImage.js | 120.54 kB | 0% static/js/AppliedFilters.js | 9.71 kB | 0% static/js/useTransactionBatchActions.js | 13.23 kB | 0% static/js/FormulaEditor.js | 1.04 MB | 0% </div> </details> --- #### loot-core **Total** Files count | Total bundle size | % Changed ----------- | ----------------- | --------- 1 | 5.86 MB | 0% <details> <summary>View detailed bundle breakdown</summary> <div> **Added** No assets were added **Removed** No assets were removed **Bigger** No assets were bigger **Smaller** No assets were smaller **Unchanged** Asset | File Size | % Changed ----- | --------- | --------- kcab.worker.Zwjv9l4n.js | 5.86 MB | 0% </div> </details> --- #### api **Total** Files count | Total bundle size | % Changed ----------- | ----------------- | --------- 1 | 4.4 MB | 0% <details> <summary>View detailed bundle breakdown</summary> <div> **Added** No assets were added **Removed** No assets were removed **Bigger** No assets were bigger **Smaller** No assets were smaller **Unchanged** Asset | File Size | % Changed ----- | --------- | --------- bundle.api.js | 4.4 MB | 0% </div> </details> </details> <!--- bundlestats-action-comment key:combined end --->
GiteaMirror added the pull-request label 2026-02-28 21:32:49 -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#6796