[PR #7009] Update useAccounts to return react query states #6877

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

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

State: closed
Merged: Yes


Follow up to the migration of accounts data to react query


Bundle Stats

Bundle Files count Total bundle size % Changed
desktop-client 27 14.81 MB → 14.81 MB (+4.2 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.2 kB) +0.03%
Changeset
File Δ Size
src/components/modals/PayeeAutocompleteModal.tsx 📈 +165 B (+5.95%) 2.71 kB → 2.87 kB
src/hooks/useDisplayPayee.tsx 📈 +179 B (+3.52%) 4.97 kB → 5.15 kB
src/components/banksync/index.tsx 📈 +177 B (+3.30%) 5.23 kB → 5.41 kB
src/components/mobile/banksync/MobileBankSyncPage.tsx 📈 +174 B (+2.83%) 5.99 kB → 6.16 kB
src/components/autocomplete/AccountAutocomplete.tsx 📈 +307 B (+2.65%) 11.31 kB → 11.61 kB
src/hooks/useAccountPreviewTransactions.ts 📈 +173 B (+2.60%) 6.5 kB → 6.67 kB
src/components/mobile/schedules/MobileSchedulesPage.tsx 📈 +174 B (+2.50%) 6.79 kB → 6.96 kB
src/components/modals/CreateLocalAccountModal.tsx 📈 +162 B (+2.42%) 6.54 kB → 6.7 kB
src/components/sidebar/Accounts.tsx 📈 +173 B (+1.99%) 8.48 kB → 8.65 kB
src/components/accounts/AccountSyncCheck.tsx 📈 +180 B (+1.90%) 9.26 kB → 9.43 kB
src/components/reports/graphs/LineGraph.tsx 📈 +167 B (+1.66%) 9.81 kB → 9.97 kB
src/components/modals/AccountMenuModal.tsx 📈 +164 B (+1.57%) 10.22 kB → 10.38 kB
src/components/reports/graphs/StackedBarGraph.tsx 📈 +167 B (+1.56%) 10.43 kB → 10.6 kB
src/components/reports/graphs/BarGraph.tsx 📈 +176 B (+1.50%) 11.45 kB → 11.62 kB
src/components/reports/graphs/tableGraph/ReportTableRow.tsx 📈 +175 B (+1.27%) 13.49 kB → 13.66 kB
src/components/reports/graphs/DonutGraph.tsx 📈 +162 B (+1.12%) 14.16 kB → 14.32 kB
src/components/ManageRules.tsx 📈 +172 B (+1.09%) 15.47 kB → 15.64 kB
src/components/schedules/SchedulesTable.tsx 📈 +172 B (+0.85%) 19.71 kB → 19.88 kB
src/components/modals/CloseAccountModal.tsx 📈 +94 B (+0.78%) 11.79 kB → 11.88 kB
src/components/mobile/accounts/AccountsPage.tsx 📈 +162 B (+0.74%) 21.49 kB → 21.64 kB
src/accounts/mutations.ts 📈 +162 B (+0.72%) 21.82 kB → 21.98 kB
src/components/reports/Overview.tsx 📈 +176 B (+0.64%) 26.71 kB → 26.88 kB
src/components/CommandBar.tsx 📈 +56 B (+0.51%) 10.71 kB → 10.77 kB
src/components/mobile/rules/MobileRulesPage.tsx 📈 +21 B (+0.47%) 4.37 kB → 4.39 kB
src/components/modals/SelectLinkedAccountsModal.tsx 📈 +205 B (+0.47%) 43.05 kB → 43.25 kB
src/components/reports/reports/Crossover.tsx 📈 +177 B (+0.41%) 41.83 kB → 42 kB
src/components/rules/Value.tsx 📈 +21 B (+0.41%) 5 kB → 5.02 kB
src/components/accounts/Account.tsx 📈 +170 B (+0.33%) 49.96 kB → 50.12 kB
src/components/mobile/transactions/TransactionEdit.tsx 📈 +161 B (+0.26%) 61.48 kB → 61.64 kB
src/components/reports/reports/NetWorth.tsx 📈 +21 B (+0.14%) 15 kB → 15.03 kB
src/components/autocomplete/PayeeAutocomplete.tsx 📈 +21 B (+0.12%) 16.94 kB → 16.96 kB
src/components/mobile/transactions/TransactionList.tsx 📈 +21 B (+0.11%) 19.46 kB → 19.49 kB
src/components/reports/reports/CustomReport.tsx 📈 +21 B (+0.08%) 25.74 kB → 25.76 kB
src/components/reports/reports/Calendar.tsx 📈 +21 B (+0.07%) 29.37 kB → 29.39 kB
src/components/reports/reports/CustomReportListCards.tsx 📉 -276 B (-2.90%) 9.3 kB → 9.03 kB
src/hooks/useAccounts.ts 📉 -154 B (-37.84%) 407 B → 253 B
View detailed bundle breakdown

Added
No assets were added

Removed
No assets were removed

Bigger

Asset File Size % Changed
static/js/index.js 9.52 MB → 9.52 MB (+2.19 kB) +0.02%
static/js/ReportRouter.js 1.15 MB → 1.15 MB (+987 B) +0.08%
static/js/narrow.js 638.75 kB → 639.27 kB (+531 B) +0.08%
static/js/wide.js 165.25 kB → 165.59 kB (+347 B) +0.21%
static/js/usePayeeRuleCounts.js 10.05 kB → 10.22 kB (+173 B) +1.68%
static/js/TransactionList.js 106.13 kB → 106.15 kB (+21 B) +0.02%

Smaller
No assets were smaller

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 178.41 kB 0%
static/js/da.js 106.62 kB 0%
static/js/de.js 180.44 kB 0%
static/js/en-GB.js 7.18 kB 0%
static/js/en.js 168.63 kB 0%
static/js/es.js 173.83 kB 0%
static/js/fr.js 179.97 kB 0%
static/js/it.js 171.44 kB 0%
static/js/nb-NO.js 157.23 kB 0%
static/js/nl.js 106.65 kB 0%
static/js/pl.js 88.64 kB 0%
static/js/pt-BR.js 154.57 kB 0%
static/js/th.js 182.35 kB 0%
static/js/uk.js 215.11 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/7009 **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. --> Follow up to the migration of accounts data to react query <!--- 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.2 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.2 kB) | +0.03% <details> <summary>Changeset</summary> File | Δ | Size ---- | - | ---- `src/components/modals/PayeeAutocompleteModal.tsx` | 📈 +165 B (+5.95%) | 2.71 kB → 2.87 kB `src/hooks/useDisplayPayee.tsx` | 📈 +179 B (+3.52%) | 4.97 kB → 5.15 kB `src/components/banksync/index.tsx` | 📈 +177 B (+3.30%) | 5.23 kB → 5.41 kB `src/components/mobile/banksync/MobileBankSyncPage.tsx` | 📈 +174 B (+2.83%) | 5.99 kB → 6.16 kB `src/components/autocomplete/AccountAutocomplete.tsx` | 📈 +307 B (+2.65%) | 11.31 kB → 11.61 kB `src/hooks/useAccountPreviewTransactions.ts` | 📈 +173 B (+2.60%) | 6.5 kB → 6.67 kB `src/components/mobile/schedules/MobileSchedulesPage.tsx` | 📈 +174 B (+2.50%) | 6.79 kB → 6.96 kB `src/components/modals/CreateLocalAccountModal.tsx` | 📈 +162 B (+2.42%) | 6.54 kB → 6.7 kB `src/components/sidebar/Accounts.tsx` | 📈 +173 B (+1.99%) | 8.48 kB → 8.65 kB `src/components/accounts/AccountSyncCheck.tsx` | 📈 +180 B (+1.90%) | 9.26 kB → 9.43 kB `src/components/reports/graphs/LineGraph.tsx` | 📈 +167 B (+1.66%) | 9.81 kB → 9.97 kB `src/components/modals/AccountMenuModal.tsx` | 📈 +164 B (+1.57%) | 10.22 kB → 10.38 kB `src/components/reports/graphs/StackedBarGraph.tsx` | 📈 +167 B (+1.56%) | 10.43 kB → 10.6 kB `src/components/reports/graphs/BarGraph.tsx` | 📈 +176 B (+1.50%) | 11.45 kB → 11.62 kB `src/components/reports/graphs/tableGraph/ReportTableRow.tsx` | 📈 +175 B (+1.27%) | 13.49 kB → 13.66 kB `src/components/reports/graphs/DonutGraph.tsx` | 📈 +162 B (+1.12%) | 14.16 kB → 14.32 kB `src/components/ManageRules.tsx` | 📈 +172 B (+1.09%) | 15.47 kB → 15.64 kB `src/components/schedules/SchedulesTable.tsx` | 📈 +172 B (+0.85%) | 19.71 kB → 19.88 kB `src/components/modals/CloseAccountModal.tsx` | 📈 +94 B (+0.78%) | 11.79 kB → 11.88 kB `src/components/mobile/accounts/AccountsPage.tsx` | 📈 +162 B (+0.74%) | 21.49 kB → 21.64 kB `src/accounts/mutations.ts` | 📈 +162 B (+0.72%) | 21.82 kB → 21.98 kB `src/components/reports/Overview.tsx` | 📈 +176 B (+0.64%) | 26.71 kB → 26.88 kB `src/components/CommandBar.tsx` | 📈 +56 B (+0.51%) | 10.71 kB → 10.77 kB `src/components/mobile/rules/MobileRulesPage.tsx` | 📈 +21 B (+0.47%) | 4.37 kB → 4.39 kB `src/components/modals/SelectLinkedAccountsModal.tsx` | 📈 +205 B (+0.47%) | 43.05 kB → 43.25 kB `src/components/reports/reports/Crossover.tsx` | 📈 +177 B (+0.41%) | 41.83 kB → 42 kB `src/components/rules/Value.tsx` | 📈 +21 B (+0.41%) | 5 kB → 5.02 kB `src/components/accounts/Account.tsx` | 📈 +170 B (+0.33%) | 49.96 kB → 50.12 kB `src/components/mobile/transactions/TransactionEdit.tsx` | 📈 +161 B (+0.26%) | 61.48 kB → 61.64 kB `src/components/reports/reports/NetWorth.tsx` | 📈 +21 B (+0.14%) | 15 kB → 15.03 kB `src/components/autocomplete/PayeeAutocomplete.tsx` | 📈 +21 B (+0.12%) | 16.94 kB → 16.96 kB `src/components/mobile/transactions/TransactionList.tsx` | 📈 +21 B (+0.11%) | 19.46 kB → 19.49 kB `src/components/reports/reports/CustomReport.tsx` | 📈 +21 B (+0.08%) | 25.74 kB → 25.76 kB `src/components/reports/reports/Calendar.tsx` | 📈 +21 B (+0.07%) | 29.37 kB → 29.39 kB `src/components/reports/reports/CustomReportListCards.tsx` | 📉 -276 B (-2.90%) | 9.3 kB → 9.03 kB `src/hooks/useAccounts.ts` | 📉 -154 B (-37.84%) | 407 B → 253 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/index.js | 9.52 MB → 9.52 MB (+2.19 kB) | +0.02% static/js/ReportRouter.js | 1.15 MB → 1.15 MB (+987 B) | +0.08% static/js/narrow.js | 638.75 kB → 639.27 kB (+531 B) | +0.08% static/js/wide.js | 165.25 kB → 165.59 kB (+347 B) | +0.21% static/js/usePayeeRuleCounts.js | 10.05 kB → 10.22 kB (+173 B) | +1.68% static/js/TransactionList.js | 106.13 kB → 106.15 kB (+21 B) | +0.02% **Smaller** No assets were smaller **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 | 178.41 kB | 0% static/js/da.js | 106.62 kB | 0% static/js/de.js | 180.44 kB | 0% static/js/en-GB.js | 7.18 kB | 0% static/js/en.js | 168.63 kB | 0% static/js/es.js | 173.83 kB | 0% static/js/fr.js | 179.97 kB | 0% static/js/it.js | 171.44 kB | 0% static/js/nb-NO.js | 157.23 kB | 0% static/js/nl.js | 106.65 kB | 0% static/js/pl.js | 88.64 kB | 0% static/js/pt-BR.js | 154.57 kB | 0% static/js/th.js | 182.35 kB | 0% static/js/uk.js | 215.11 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:33:58 -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#6877