[PR #1403] [MERGED] Goals: add flag to percent goals to use previous month income instead of this months #3715

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

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/1403
Author: @youngcw
Created: 7/27/2023
Status: Merged
Merged: 7/29/2023
Merged by: @shall0pass

Base: masterHead: goals_percentagePrev


📝 Commits (9)

📊 Changes

3 files changed (+37 additions, -7 deletions)

View changed files

📝 packages/loot-core/src/server/budget/goal-template.pegjs (+4 -2)
📝 packages/loot-core/src/server/budget/goaltemplates.ts (+27 -5)
upcoming-release-notes/1403.md (+6 -0)

📄 Description

This is a more elegant way of implementing a month ahead version of the percent goals. To use it add the previous flag to the percent goal, ex #template 10% of previous Paycheck.


🔄 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/1403 **Author:** [@youngcw](https://github.com/youngcw) **Created:** 7/27/2023 **Status:** ✅ Merged **Merged:** 7/29/2023 **Merged by:** [@shall0pass](https://github.com/shall0pass) **Base:** `master` ← **Head:** `goals_percentagePrev` --- ### 📝 Commits (9) - [`90a8387`](https://github.com/actualbudget/actual/commit/90a83873c04c8af1dbfd4891fedfc499efe7aad8) start of new prev flag - [`b6fe023`](https://github.com/actualbudget/actual/commit/b6fe02365f8c6d7f3d0fd24562885508d9dbaa59) Merge branch 'master' into goals_percentagePrev - [`d5daecd`](https://github.com/actualbudget/actual/commit/d5daecd7fe6e5be9749395cc792e299fe9d55f7c) cleanup and lint - [`606af7c`](https://github.com/actualbudget/actual/commit/606af7c290c9f8346ce54064ecaa0b4b9e1eb5eb) revert unnecessary change - [`62d7eda`](https://github.com/actualbudget/actual/commit/62d7eda51ec9bbb6d83dbf8f1b5c550da8e56658) release note - [`ba460ae`](https://github.com/actualbudget/actual/commit/ba460ae1ddbb80a909fdd72e945374b2a5462ee7) fix - [`a8454ec`](https://github.com/actualbudget/actual/commit/a8454eca53c9e40061eff0474f7c2f559b9f8d2c) i dissagree with the lint this time - [`f7a4c25`](https://github.com/actualbudget/actual/commit/f7a4c25a791bc9fb3297b899b01b10822dd89a21) previous - [`a9da516`](https://github.com/actualbudget/actual/commit/a9da516957ffe51ff00d7ba711cedc7c0ddf3aec) Merge branch 'master' into goals_percentagePrev ### 📊 Changes **3 files changed** (+37 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `packages/loot-core/src/server/budget/goal-template.pegjs` (+4 -2) 📝 `packages/loot-core/src/server/budget/goaltemplates.ts` (+27 -5) ➕ `upcoming-release-notes/1403.md` (+6 -0) </details> ### 📄 Description This is a more elegant way of implementing a month ahead version of the percent goals. To use it add the `previous` flag to the percent goal, ex `#template 10% of previous Paycheck`. --- <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-02-28 20:45:40 -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#3715