[PR #5536] [CLOSED] [WIP] feat(currency): add currency display to rules #5988

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

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/5536
Author: @misu-dev
Created: 8/10/2025
Status: Closed

Base: masterHead: feat/add-currency-to-rules


📝 Commits (2)

📊 Changes

9 files changed (+86 additions, -76 deletions)

View changed files

📝 packages/component-library/src/Input.tsx (+22 -5)
📝 packages/desktop-client/src/components/filters/FilterExpression.tsx (+1 -6)
📝 packages/desktop-client/src/components/filters/FiltersMenu.jsx (+1 -0)
📝 packages/desktop-client/src/components/rules/RuleEditor.tsx (+11 -13)
📝 packages/desktop-client/src/components/rules/Value.tsx (+3 -2)
📝 packages/desktop-client/src/components/util/AmountInput.tsx (+33 -14)
📝 packages/desktop-client/src/components/util/GenericInput.jsx (+2 -3)
📝 packages/loot-core/src/shared/rules.ts (+7 -33)
upcoming-release-notes/5536.md (+6 -0)

📄 Description

This PR adds the currency display to the rules.
It also fixes https://github.com/actualbudget/actual/issues/5476 as the AmountInput got updated to handle currency specifics.

Also it now uses the number specific InputField in the Account Filter modal:
image
This may break the visual of old field, but it is standardized for currency input and is already in use by the rules.

It also removes a lot of convertions like integerToAmount, amountToInteger, currencyToAmount


🔄 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/5536 **Author:** [@misu-dev](https://github.com/misu-dev) **Created:** 8/10/2025 **Status:** ❌ Closed **Base:** `master` ← **Head:** `feat/add-currency-to-rules` --- ### 📝 Commits (2) - [`40fcdbc`](https://github.com/actualbudget/actual/commit/40fcdbca7dc7700643953eff190e02f5431cbff0) feat(currency): add to rules - [`c96e8c9`](https://github.com/actualbudget/actual/commit/c96e8c9edd48448a6f8a32467c0a0b634d0c71b0) doc: release notes ### 📊 Changes **9 files changed** (+86 additions, -76 deletions) <details> <summary>View changed files</summary> 📝 `packages/component-library/src/Input.tsx` (+22 -5) 📝 `packages/desktop-client/src/components/filters/FilterExpression.tsx` (+1 -6) 📝 `packages/desktop-client/src/components/filters/FiltersMenu.jsx` (+1 -0) 📝 `packages/desktop-client/src/components/rules/RuleEditor.tsx` (+11 -13) 📝 `packages/desktop-client/src/components/rules/Value.tsx` (+3 -2) 📝 `packages/desktop-client/src/components/util/AmountInput.tsx` (+33 -14) 📝 `packages/desktop-client/src/components/util/GenericInput.jsx` (+2 -3) 📝 `packages/loot-core/src/shared/rules.ts` (+7 -33) ➕ `upcoming-release-notes/5536.md` (+6 -0) </details> ### 📄 Description This PR adds the currency display to the rules. It also fixes https://github.com/actualbudget/actual/issues/5476 as the AmountInput got updated to handle currency specifics. Also it now uses the number specific InputField in the Account Filter modal: <img width="340" height="309" alt="image" src="https://github.com/user-attachments/assets/ce741dd7-7f87-4a54-a4ce-40122e4ecba2" /> This may break the visual of old field, but it is standardized for currency input and is already in use by the rules. It also removes a lot of convertions like integerToAmount, amountToInteger, currencyToAmount --- <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:22:07 -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#5988