[PR #2688] [MERGED] [Goals]add template to set x month average #34651

Closed
opened 2026-04-20 21:46:53 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/2688
Author: @youngcw
Created: 4/30/2024
Status: Merged
Merged: 4/30/2024
Merged by: @youngcw

Base: masterHead: youngcw/average-template


📝 Commits (4)

📊 Changes

4 files changed (+52 additions, -0 deletions)

View changed files

📝 packages/loot-core/src/server/budget/goal-template.pegjs (+2 -0)
packages/loot-core/src/server/budget/goals/goalsAverage.ts (+31 -0)
📝 packages/loot-core/src/server/budget/goaltemplates.ts (+13 -0)
upcoming-release-notes/2688.md (+6 -0)

📄 Description

Adds a new template to automatically run a "Set X month average" like is possible in the budget page. This way if a user likes those they can run them with other templates. This matches the function of the existing button by reading the spent amount of the previous months and averages it.

Fixes #2587

docs: actualbudget/docs#351


🔄 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/2688 **Author:** [@youngcw](https://github.com/youngcw) **Created:** 4/30/2024 **Status:** ✅ Merged **Merged:** 4/30/2024 **Merged by:** [@youngcw](https://github.com/youngcw) **Base:** `master` ← **Head:** `youngcw/average-template` --- ### 📝 Commits (4) - [`db42486`](https://github.com/actualbudget/actual/commit/db4248626d49cdb8c08e03e4e5f7b43da971b474) add template to set x month average - [`6bc82fc`](https://github.com/actualbudget/actual/commit/6bc82fc58cd4bed0a119c2111100aade7fc70a0f) error on 0 - [`1643ceb`](https://github.com/actualbudget/actual/commit/1643cebfe2c1d71bbc0b6b8a5a38150a9a1c65b6) note - [`457d8c0`](https://github.com/actualbudget/actual/commit/457d8c05ae044fb3d3e34d47724a15e39e9e1310) lint ### 📊 Changes **4 files changed** (+52 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `packages/loot-core/src/server/budget/goal-template.pegjs` (+2 -0) ➕ `packages/loot-core/src/server/budget/goals/goalsAverage.ts` (+31 -0) 📝 `packages/loot-core/src/server/budget/goaltemplates.ts` (+13 -0) ➕ `upcoming-release-notes/2688.md` (+6 -0) </details> ### 📄 Description Adds a new template to automatically run a "Set X month average" like is possible in the budget page. This way if a user likes those they can run them with other templates. This matches the function of the existing button by reading the spent amount of the previous months and averages it. Fixes #2587 docs: actualbudget/docs#351 --- <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-20 21:46:53 -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#34651