[PR #3290] [MERGED] "has tags" filter #4779

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

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/3290
Author: @lelemm
Created: 8/19/2024
Status: ✅ Merged
Merged: 8/23/2024
Merged by: @youngcw

Base: master ← Head: hastags_rule


📝 Commits (10+)

📊 Changes

14 files changed (+98 additions, -10 deletions)

View changed files

📝 packages/desktop-client/e2e/transactions.test.js-snapshots/Transactions-filters-transactions-by-category-1-chromium-linux.png (+0 -0)
📝 packages/desktop-client/e2e/transactions.test.js-snapshots/Transactions-filters-transactions-by-category-2-chromium-linux.png (+0 -0)
📝 packages/desktop-client/e2e/transactions.test.js-snapshots/Transactions-filters-transactions-by-category-3-chromium-linux.png (+0 -0)
📝 packages/desktop-client/src/components/filters/FilterExpression.tsx (+2 -1)
📝 packages/desktop-client/src/components/filters/FiltersMenu.jsx (+4 -1)
📝 packages/desktop-client/src/components/filters/updateFilterReducer.ts (+2 -1)
📝 packages/desktop-client/src/components/modals/EditRule.jsx (+1 -1)
📝 packages/desktop-client/src/components/reports/reports/CustomReport.tsx (+1 -1)
📝 packages/desktop-client/src/components/transactions/TransactionList.jsx (+2 -4)
📝 packages/loot-core/src/server/accounts/rules.ts (+48 -0)
📝 packages/loot-core/src/server/accounts/transaction-rules.ts (+13 -0)
📝 packages/loot-core/src/shared/rules.ts (+17 -1)
📝 packages/loot-core/src/types/models/rule.d.ts (+2 -0)
➕ upcoming-release-notes/3290.md (+6 -0)

📄 Description

New filter to make it simple to filter tags. Instead of regex directly, encapsulate the regex into a "has tag" filter. This filter should be only available to "notes" field.


🔄 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/3290 **Author:** [@lelemm](https://github.com/lelemm) **Created:** 8/19/2024 **Status:** ✅ Merged **Merged:** 8/23/2024 **Merged by:** [@youngcw](https://github.com/youngcw) **Base:** `master` ← **Head:** `hastags_rule` --- ### 📝 Commits (10+) - [`3bac215`](https://github.com/actualbudget/actual/commit/3bac215468c9514d011f1571536b3fcc5587499f) new tag filter - [`d552bf9`](https://github.com/actualbudget/actual/commit/d552bf9ffeffce267720fed5eed71c3bb07f88cc) fixes - [`ee9e1cb`](https://github.com/actualbudget/actual/commit/ee9e1cb5ec98c58065479fa11deda9b9b7d037d3) Merge branch 'master' into hastags_rule - [`cd79b65`](https://github.com/actualbudget/actual/commit/cd79b65ba31aba81742589ff2f9bc5533dbe9d84) release notes - [`207b007`](https://github.com/actualbudget/actual/commit/207b007319e0103900e5be2148271366b0977748) fixes for the rules modal - [`64b6777`](https://github.com/actualbudget/actual/commit/64b6777deb292fa35e1cd7d619500ecb82e25e59) more fixes - [`e92e237`](https://github.com/actualbudget/actual/commit/e92e2373272f6ee8dff806766aa7416d57913f83) linter - [`8b26d94`](https://github.com/actualbudget/actual/commit/8b26d940147cf896d53a2c98527530657f3015e1) visual regression fixes - [`e2e1b7b`](https://github.com/actualbudget/actual/commit/e2e1b7b128428e4bcd2bbfde94582c7984dd0f21) review suggestions - [`ca64f5a`](https://github.com/actualbudget/actual/commit/ca64f5a7add036ecfd5e122118538e8e2125fc73) missing this change ### 📊 Changes **14 files changed** (+98 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `packages/desktop-client/e2e/transactions.test.js-snapshots/Transactions-filters-transactions-by-category-1-chromium-linux.png` (+0 -0) 📝 `packages/desktop-client/e2e/transactions.test.js-snapshots/Transactions-filters-transactions-by-category-2-chromium-linux.png` (+0 -0) 📝 `packages/desktop-client/e2e/transactions.test.js-snapshots/Transactions-filters-transactions-by-category-3-chromium-linux.png` (+0 -0) 📝 `packages/desktop-client/src/components/filters/FilterExpression.tsx` (+2 -1) 📝 `packages/desktop-client/src/components/filters/FiltersMenu.jsx` (+4 -1) 📝 `packages/desktop-client/src/components/filters/updateFilterReducer.ts` (+2 -1) 📝 `packages/desktop-client/src/components/modals/EditRule.jsx` (+1 -1) 📝 `packages/desktop-client/src/components/reports/reports/CustomReport.tsx` (+1 -1) 📝 `packages/desktop-client/src/components/transactions/TransactionList.jsx` (+2 -4) 📝 `packages/loot-core/src/server/accounts/rules.ts` (+48 -0) 📝 `packages/loot-core/src/server/accounts/transaction-rules.ts` (+13 -0) 📝 `packages/loot-core/src/shared/rules.ts` (+17 -1) 📝 `packages/loot-core/src/types/models/rule.d.ts` (+2 -0) ➕ `upcoming-release-notes/3290.md` (+6 -0) </details> ### 📄 Description New filter to make it simple to filter tags. Instead of regex directly, encapsulate the regex into a "has tag" filter. This filter should be only available to "notes" field. --- <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 21:01:09 -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#4779