[PR #6941] Move redux state to react-query - tags states #6834

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

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

State: closed
Merged: Yes


Not dependent on other react query PRs


Bundle Stats

Bundle Files count Total bundle size % Changed
desktop-client 27 14.65 MB → 14.65 MB (+2.66 kB) +0.02%
loot-core 1 5.86 MB → 5.86 MB (+8 B) +0.00%
api 1 4.4 MB → 4.4 MB (+8 B) +0.00%
View detailed bundle stats

desktop-client

Total

Files count Total bundle size % Changed
27 14.65 MB → 14.65 MB (+2.66 kB) +0.02%
Changeset
File Δ Size
src/tags/mutations.ts 🆕 +5.22 kB 0 B → 5.22 kB
src/tags/queries.ts 🆕 +356 B 0 B → 356 B
src/hooks/useTagCSS.ts 📈 +158 B (+10.78%) 1.43 kB → 1.59 kB
src/components/tags/ManageTags.tsx 📈 +350 B (+4.47%) 7.65 kB → 7.99 kB
src/components/tags/TagEditor.tsx 📈 +49 B (+3.34%) 1.43 kB → 1.48 kB
src/components/tags/TagRow.tsx 📈 +142 B (+1.59%) 8.75 kB → 8.89 kB
src/components/tags/TagCreationRow.tsx 📈 +51 B (+0.43%) 11.64 kB → 11.69 kB
src/budget/mutations.ts 📈 +42 B (+0.19%) 21.44 kB → 21.48 kB
node_modules/hast-util-to-jsx-runtime/lib/index.js 📈 +18 B (+0.09%) 18.92 kB → 18.93 kB
src/components/rules/RuleRow.tsx 📈 +2 B (+0.02%) 10.83 kB → 10.83 kB
node_modules/estree-util-is-identifier-name/lib/index.js 📉 -2 B (-0.26%) 758 B → 756 B
src/accounts/accountsSlice.ts 📉 -38 B (-0.33%) 11.17 kB → 11.13 kB
src/index.tsx 📉 -16 B (-0.91%) 1.72 kB → 1.71 kB
src/redux/store.ts 📉 -21 B (-1.87%) 1.09 kB → 1.07 kB
src/hooks/useTags.ts 📉 -527 B (-68.26%) 772 B → 245 B
src/tags/tagsSlice.ts 🔥 -3.11 kB (-100%) 3.11 kB → 0 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.48 MB → 9.49 MB (+2.66 kB) +0.03%

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/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 164.99 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/sv.js 78.2 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/ReportRouter.js 1.13 MB 0%
static/js/narrow.js 637.46 kB 0%
static/js/TransactionList.js 106.13 kB 0%
static/js/wide.js 164.05 kB 0%
static/js/AppliedFilters.js 9.71 kB 0%
static/js/usePayeeRuleCounts.js 10.05 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 → 5.86 MB (+8 B) +0.00%
Changeset
File Δ Size
home/runner/work/actual/actual/packages/loot-core/src/server/tags/app.ts 📈 +10 B (+0.50%) 1.94 kB → 1.95 kB
home/runner/work/actual/actual/packages/loot-core/src/server/db/index.ts 📉 -2 B (-0.01%) 18.05 kB → 18.05 kB
View detailed bundle breakdown

Added

Asset File Size % Changed
kcab.worker.hYlRL2CV.js 0 B → 5.86 MB (+5.86 MB) -

Removed

Asset File Size % Changed
kcab.worker.BVeE0kCd.js 5.86 MB → 0 B (-5.86 MB) -100%

Bigger
No assets were bigger

Smaller
No assets were smaller

Unchanged
No assets were unchanged


api

Total

Files count Total bundle size % Changed
1 4.4 MB → 4.4 MB (+8 B) +0.00%
Changeset
File Δ Size
src/server/tags/app.ts 📈 +10 B (+0.59%) 1.67 kB → 1.68 kB
src/server/db/index.ts 📉 -2 B (-0.01%) 16.1 kB → 16.1 kB
View detailed bundle breakdown

Added
No assets were added

Removed
No assets were removed

Bigger

Asset File Size % Changed
bundle.api.js 4.4 MB → 4.4 MB (+8 B) +0.00%

Smaller
No assets were smaller

Unchanged
No assets were unchanged

**Original Pull Request:** https://github.com/actualbudget/actual/pull/6941 **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. --> Not dependent on other react query PRs <!--- actual-bot-sections ---> <hr /> <!--- bundlestats-action-comment key:combined start ---> ### Bundle Stats Bundle | Files count | Total bundle size | % Changed ------ | ----------- | ----------------- | --------- desktop-client | 27 | 14.65 MB → 14.65 MB (+2.66 kB) | +0.02% loot-core | 1 | 5.86 MB → 5.86 MB (+8 B) | +0.00% api | 1 | 4.4 MB → 4.4 MB (+8 B) | +0.00% <details> <summary>View detailed bundle stats</summary> #### desktop-client **Total** Files count | Total bundle size | % Changed ----------- | ----------------- | --------- 27 | 14.65 MB → 14.65 MB (+2.66 kB) | +0.02% <details> <summary>Changeset</summary> File | Δ | Size ---- | - | ---- `src/tags/mutations.ts` | 🆕 +5.22 kB | 0 B → 5.22 kB `src/tags/queries.ts` | 🆕 +356 B | 0 B → 356 B `src/hooks/useTagCSS.ts` | 📈 +158 B (+10.78%) | 1.43 kB → 1.59 kB `src/components/tags/ManageTags.tsx` | 📈 +350 B (+4.47%) | 7.65 kB → 7.99 kB `src/components/tags/TagEditor.tsx` | 📈 +49 B (+3.34%) | 1.43 kB → 1.48 kB `src/components/tags/TagRow.tsx` | 📈 +142 B (+1.59%) | 8.75 kB → 8.89 kB `src/components/tags/TagCreationRow.tsx` | 📈 +51 B (+0.43%) | 11.64 kB → 11.69 kB `src/budget/mutations.ts` | 📈 +42 B (+0.19%) | 21.44 kB → 21.48 kB `node_modules/hast-util-to-jsx-runtime/lib/index.js` | 📈 +18 B (+0.09%) | 18.92 kB → 18.93 kB `src/components/rules/RuleRow.tsx` | 📈 +2 B (+0.02%) | 10.83 kB → 10.83 kB `node_modules/estree-util-is-identifier-name/lib/index.js` | 📉 -2 B (-0.26%) | 758 B → 756 B `src/accounts/accountsSlice.ts` | 📉 -38 B (-0.33%) | 11.17 kB → 11.13 kB `src/index.tsx` | 📉 -16 B (-0.91%) | 1.72 kB → 1.71 kB `src/redux/store.ts` | 📉 -21 B (-1.87%) | 1.09 kB → 1.07 kB `src/hooks/useTags.ts` | 📉 -527 B (-68.26%) | 772 B → 245 B `src/tags/tagsSlice.ts` | 🔥 -3.11 kB (-100%) | 3.11 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/index.js | 9.48 MB → 9.49 MB (+2.66 kB) | +0.03% **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/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 | 164.99 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/sv.js | 78.2 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/ReportRouter.js | 1.13 MB | 0% static/js/narrow.js | 637.46 kB | 0% static/js/TransactionList.js | 106.13 kB | 0% static/js/wide.js | 164.05 kB | 0% static/js/AppliedFilters.js | 9.71 kB | 0% static/js/usePayeeRuleCounts.js | 10.05 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 → 5.86 MB (+8 B) | +0.00% <details> <summary>Changeset</summary> File | Δ | Size ---- | - | ---- `home/runner/work/actual/actual/packages/loot-core/src/server/tags/app.ts` | 📈 +10 B (+0.50%) | 1.94 kB → 1.95 kB `home/runner/work/actual/actual/packages/loot-core/src/server/db/index.ts` | 📉 -2 B (-0.01%) | 18.05 kB → 18.05 kB </details> <details> <summary>View detailed bundle breakdown</summary> <div> **Added** Asset | File Size | % Changed ----- | --------- | --------- kcab.worker.hYlRL2CV.js | 0 B → 5.86 MB (+5.86 MB) | - **Removed** Asset | File Size | % Changed ----- | --------- | --------- kcab.worker.BVeE0kCd.js | 5.86 MB → 0 B (-5.86 MB) | -100% **Bigger** No assets were bigger **Smaller** No assets were smaller **Unchanged** No assets were unchanged </div> </details> --- #### api **Total** Files count | Total bundle size | % Changed ----------- | ----------------- | --------- 1 | 4.4 MB → 4.4 MB (+8 B) | +0.00% <details> <summary>Changeset</summary> File | Δ | Size ---- | - | ---- `src/server/tags/app.ts` | 📈 +10 B (+0.59%) | 1.67 kB → 1.68 kB `src/server/db/index.ts` | 📉 -2 B (-0.01%) | 16.1 kB → 16.1 kB </details> <details> <summary>View detailed bundle breakdown</summary> <div> **Added** No assets were added **Removed** No assets were removed **Bigger** Asset | File Size | % Changed ----- | --------- | --------- bundle.api.js | 4.4 MB → 4.4 MB (+8 B) | +0.00% **Smaller** No assets were smaller **Unchanged** No assets were unchanged </div> </details> </details> <!--- bundlestats-action-comment key:combined end --->
GiteaMirror added the pull-request label 2026-02-28 21:33:20 -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#6834