[PR #6692] [MERGED] Add limit/refill automation types #55978

Closed
opened 2026-05-01 03:26:10 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/6692
Author: @jfdoming
Created: 1/18/2026
Status: Merged
Merged: 2/21/2026
Merged by: @jfdoming

Base: masterHead: jfdoming/ui-automation-components


📝 Commits (5)

📊 Changes

14 files changed (+385 additions, -125 deletions)

View changed files

📝 packages/desktop-client/src/components/budget/goals/BudgetAutomation.tsx (+18 -6)
📝 packages/desktop-client/src/components/budget/goals/BudgetAutomationEditor.tsx (+31 -4)
📝 packages/desktop-client/src/components/budget/goals/BudgetAutomationReadOnly.tsx (+7 -3)
📝 packages/desktop-client/src/components/budget/goals/constants.ts (+11 -5)
packages/desktop-client/src/components/budget/goals/editor/LimitAutomation.tsx (+138 -0)
packages/desktop-client/src/components/budget/goals/editor/LimitAutomationReadOnly.tsx (+54 -0)
packages/desktop-client/src/components/budget/goals/editor/RefillAutomation.tsx (+48 -0)
packages/desktop-client/src/components/budget/goals/editor/RefillAutomationReadOnly.tsx (+5 -0)
packages/desktop-client/src/components/budget/goals/editor/SimpleAutomation.tsx (+0 -40)
packages/desktop-client/src/components/budget/goals/editor/SimpleAutomationReadOnly.tsx (+0 -30)
📝 packages/desktop-client/src/components/budget/goals/reducer.ts (+45 -15)
📝 packages/desktop-client/src/components/settings/Format.tsx (+3 -22)
packages/desktop-client/src/hooks/useDaysOfWeek.ts (+19 -0)
upcoming-release-notes/6692.md (+6 -0)

📄 Description

master → (this PR) → #6693 → …


Adds the ability to display limit/refill automations as items in the automation editor

Use localStorage.setItem("devEnableGoalTemplatesUI", "true")


Bundle Stats

Bundle Files count Total bundle size % Changed
desktop-client 27 14.83 MB → 14.85 MB (+14.88 kB) +0.10%
loot-core 1 5.82 MB 0%
api 1 4.43 MB 0%
View detailed bundle stats

desktop-client

Total

Files count Total bundle size % Changed
27 14.83 MB → 14.85 MB (+14.88 kB) +0.10%
Changeset
File Δ Size
src/components/budget/goals/editor/LimitAutomation.tsx 🆕 +10.4 kB 0 B → 10.4 kB
src/components/budget/goals/editor/LimitAutomationReadOnly.tsx 🆕 +2.34 kB 0 B → 2.34 kB
src/components/budget/goals/editor/RefillAutomation.tsx 🆕 +1.78 kB 0 B → 1.78 kB
src/hooks/useDaysOfWeek.ts 🆕 +1.31 kB 0 B → 1.31 kB
src/components/budget/goals/editor/RefillAutomationReadOnly.tsx 🆕 +322 B 0 B → 322 B
src/components/budget/goals/BudgetAutomation.tsx 📈 +229 B (+16.85%) 1.33 kB ��� 1.55 kB
src/components/budget/goals/constants.ts 📈 +28 B (+14.66%) 191 B → 219 B
src/components/budget/goals/reducer.ts 📈 +678 B (+14.03%) 4.72 kB → 5.38 kB
src/components/budget/goals/BudgetAutomationEditor.tsx 📈 +880 B (+11.05%) 7.78 kB → 8.63 kB
src/components/budget/goals/BudgetAutomationReadOnly.tsx 📈 +315 B (+5.29%) 5.82 kB → 6.13 kB
locale/es.json 📈 +1.07 kB (+0.61%) 173.67 kB → 174.74 kB
src/components/settings/Format.tsx 📉 -2.45 kB (-43.18%) 5.68 kB → 3.23 kB
src/components/budget/goals/editor/SimpleAutomation.tsx 🔥 -1.18 kB (-100%) 1.18 kB → 0 B
src/components/budget/goals/editor/SimpleAutomationReadOnly.tsx 🔥 -809 B (-100%) 809 B → 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.52 MB → 9.54 MB (+13.81 kB) +0.14%
static/js/es.js 173.67 kB → 174.74 kB (+1.07 kB) +0.61%

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 188.02 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.63 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/ReportRouter.js 1.16 MB 0%
static/js/narrow.js 637.68 kB 0%
static/js/TransactionList.js 106.22 kB 0%
static/js/wide.js 164.15 kB 0%
static/js/AppliedFilters.js 9.71 kB 0%
static/js/usePayeeRuleCounts.js 10.04 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.82 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.Dbl7pyXw.js 5.82 MB 0%

api

Total

Files count Total bundle size % Changed
1 4.43 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.43 MB 0%

🔄 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/6692 **Author:** [@jfdoming](https://github.com/jfdoming) **Created:** 1/18/2026 **Status:** ✅ Merged **Merged:** 2/21/2026 **Merged by:** [@jfdoming](https://github.com/jfdoming) **Base:** `master` ← **Head:** `jfdoming/ui-automation-components` --- ### 📝 Commits (5) - [`f488190`](https://github.com/actualbudget/actual/commit/f4881904d442db29e3a3f60dfdf184f92324fa33) Add limit/refill automation components - [`e9a7117`](https://github.com/actualbudget/actual/commit/e9a71174bbc61cbd86a5b9b4f184ef94cac92963) Add release note - [`0d0a0e8`](https://github.com/actualbudget/actual/commit/0d0a0e81670d06bb6863140ecf15ef08d397016d) Fix typecheck - [`420a621`](https://github.com/actualbudget/actual/commit/420a6214730c95902cd15150bc7e53f942ecb6c9) Rabbit PR feedback - [`c4552a6`](https://github.com/actualbudget/actual/commit/c4552a6254a14acc5ae8e1bd55c42827ef5b25e5) Review ### 📊 Changes **14 files changed** (+385 additions, -125 deletions) <details> <summary>View changed files</summary> 📝 `packages/desktop-client/src/components/budget/goals/BudgetAutomation.tsx` (+18 -6) 📝 `packages/desktop-client/src/components/budget/goals/BudgetAutomationEditor.tsx` (+31 -4) 📝 `packages/desktop-client/src/components/budget/goals/BudgetAutomationReadOnly.tsx` (+7 -3) 📝 `packages/desktop-client/src/components/budget/goals/constants.ts` (+11 -5) ➕ `packages/desktop-client/src/components/budget/goals/editor/LimitAutomation.tsx` (+138 -0) ➕ `packages/desktop-client/src/components/budget/goals/editor/LimitAutomationReadOnly.tsx` (+54 -0) ➕ `packages/desktop-client/src/components/budget/goals/editor/RefillAutomation.tsx` (+48 -0) ➕ `packages/desktop-client/src/components/budget/goals/editor/RefillAutomationReadOnly.tsx` (+5 -0) ➖ `packages/desktop-client/src/components/budget/goals/editor/SimpleAutomation.tsx` (+0 -40) ➖ `packages/desktop-client/src/components/budget/goals/editor/SimpleAutomationReadOnly.tsx` (+0 -30) 📝 `packages/desktop-client/src/components/budget/goals/reducer.ts` (+45 -15) 📝 `packages/desktop-client/src/components/settings/Format.tsx` (+3 -22) ➕ `packages/desktop-client/src/hooks/useDaysOfWeek.ts` (+19 -0) ➕ `upcoming-release-notes/6692.md` (+6 -0) </details> ### 📄 Description <!-- stack:managed:start --> [master](https://github.com/actualbudget/actual/commit/c031d9aa4fe9d8d7faa603ea54addc5921c38d3d) → (this PR) → [#6693](https://github.com/actualbudget/actual/pull/6693) → … <hr /> <!-- stack:managed:end --> Adds the ability to display limit/refill automations as items in the automation editor Use localStorage.setItem("devEnableGoalTemplatesUI", "true") <!--- actual-bot-sections ---> <hr /> <!--- bundlestats-action-comment key:combined start ---> ### Bundle Stats Bundle | Files count | Total bundle size | % Changed ------ | ----------- | ----------------- | --------- desktop-client | 27 | 14.83 MB → 14.85 MB (+14.88 kB) | +0.10% loot-core | 1 | 5.82 MB | 0% api | 1 | 4.43 MB | 0% <details> <summary>View detailed bundle stats</summary> #### desktop-client **Total** Files count | Total bundle size | % Changed ----------- | ----------------- | --------- 27 | 14.83 MB → 14.85 MB (+14.88 kB) | +0.10% <details> <summary>Changeset</summary> File | Δ | Size ---- | - | ---- `src/components/budget/goals/editor/LimitAutomation.tsx` | 🆕 +10.4 kB | 0 B → 10.4 kB `src/components/budget/goals/editor/LimitAutomationReadOnly.tsx` | 🆕 +2.34 kB | 0 B → 2.34 kB `src/components/budget/goals/editor/RefillAutomation.tsx` | 🆕 +1.78 kB | 0 B → 1.78 kB `src/hooks/useDaysOfWeek.ts` | 🆕 +1.31 kB | 0 B → 1.31 kB `src/components/budget/goals/editor/RefillAutomationReadOnly.tsx` | 🆕 +322 B | 0 B → 322 B `src/components/budget/goals/BudgetAutomation.tsx` | 📈 +229 B (+16.85%) | 1.33 kB ��� 1.55 kB `src/components/budget/goals/constants.ts` | 📈 +28 B (+14.66%) | 191 B → 219 B `src/components/budget/goals/reducer.ts` | 📈 +678 B (+14.03%) | 4.72 kB → 5.38 kB `src/components/budget/goals/BudgetAutomationEditor.tsx` | 📈 +880 B (+11.05%) | 7.78 kB → 8.63 kB `src/components/budget/goals/BudgetAutomationReadOnly.tsx` | 📈 +315 B (+5.29%) | 5.82 kB → 6.13 kB `locale/es.json` | 📈 +1.07 kB (+0.61%) | 173.67 kB → 174.74 kB `src/components/settings/Format.tsx` | 📉 -2.45 kB (-43.18%) | 5.68 kB → 3.23 kB `src/components/budget/goals/editor/SimpleAutomation.tsx` | 🔥 -1.18 kB (-100%) | 1.18 kB → 0 B `src/components/budget/goals/editor/SimpleAutomationReadOnly.tsx` | 🔥 -809 B (-100%) | 809 B → 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.52 MB → 9.54 MB (+13.81 kB) | +0.14% static/js/es.js | 173.67 kB → 174.74 kB (+1.07 kB) | +0.61% **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 | 188.02 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.63 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/ReportRouter.js | 1.16 MB | 0% static/js/narrow.js | 637.68 kB | 0% static/js/TransactionList.js | 106.22 kB | 0% static/js/wide.js | 164.15 kB | 0% static/js/AppliedFilters.js | 9.71 kB | 0% static/js/usePayeeRuleCounts.js | 10.04 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.82 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.Dbl7pyXw.js | 5.82 MB | 0% </div> </details> --- #### api **Total** Files count | Total bundle size | % Changed ----------- | ----------------- | --------- 1 | 4.43 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.43 MB | 0% </div> </details> </details> <!--- bundlestats-action-comment key:combined end ---> --- <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-05-01 03:26:10 -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#55978