[PR #5744] [MERGED] Dynamic currency display options #6090

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

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/5744
Author: @StephenBrown2
Created: 9/19/2025
Status: Merged
Merged: 9/19/2025
Merged by: @matt-fidd

Base: masterHead: dynamic-currency-display-options


📝 Commits (3)

  • 1e7d06f Updates currency symbol position options
  • 9a941aa Add release note
  • 28f733b [autofix.ci] apply automated fixes

📊 Changes

2 files changed (+23 additions, -5 deletions)

View changed files

📝 packages/desktop-client/src/components/settings/Currency.tsx (+17 -5)
upcoming-release-notes/5744.md (+6 -0)

📄 Description

This pull request enhances the currency settings UI by dynamically updating the currency symbol and spacing in the symbol position options, making the configuration more intuitive for users.

Currency settings UI improvements:

  • The symbol position options in CurrencySettings now update dynamically based on the selected currency and spacing preference, showing accurate examples for each configuration. (packages/desktop-client/src/components/settings/Currency.tsx, packages/desktop-client/src/components/settings/Currency.tsx L88-R103)
  • The getCurrency function from loot-core/shared/currencies is imported to retrieve the selected currency's symbol for these dynamic updates. (packages/desktop-client/src/components/settings/Currency.tsx, packages/desktop-client/src/components/settings/Currency.tsx L10-R10)
  • The translated text in the label is separated out to no longer include the amounts, so that 'Before amount', 'After amount', and 'e.g.' are separate tokens.

Screenshots
Screenshot from 2025-09-19 10-42-02
Screenshot from 2025-09-19 10-42-28
Screenshot from 2025-09-19 10-42-56


🔄 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/5744 **Author:** [@StephenBrown2](https://github.com/StephenBrown2) **Created:** 9/19/2025 **Status:** ✅ Merged **Merged:** 9/19/2025 **Merged by:** [@matt-fidd](https://github.com/matt-fidd) **Base:** `master` ← **Head:** `dynamic-currency-display-options` --- ### 📝 Commits (3) - [`1e7d06f`](https://github.com/actualbudget/actual/commit/1e7d06f05256a39dd0b5c9f5774a9ec0f311204d) Updates currency symbol position options - [`9a941aa`](https://github.com/actualbudget/actual/commit/9a941aa585ecb935a7822e132ca2186564b28ab7) Add release note - [`28f733b`](https://github.com/actualbudget/actual/commit/28f733b19dbf1ef4c12ffeff81cce1bb2292dfd1) [autofix.ci] apply automated fixes ### 📊 Changes **2 files changed** (+23 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `packages/desktop-client/src/components/settings/Currency.tsx` (+17 -5) ➕ `upcoming-release-notes/5744.md` (+6 -0) </details> ### 📄 Description This pull request enhances the currency settings UI by dynamically updating the currency symbol and spacing in the symbol position options, making the configuration more intuitive for users. **Currency settings UI improvements:** * The symbol position options in `CurrencySettings` now update dynamically based on the selected currency and spacing preference, showing accurate examples for each configuration. (`packages/desktop-client/src/components/settings/Currency.tsx`, [packages/desktop-client/src/components/settings/Currency.tsx L88-R103](diffhunk://#diff-9b0bd6bc744bfd4afac03d8e6db423fa69216ff2dac2272f2a5dba73494e14ccL88-R103)) * The `getCurrency` function from `loot-core/shared/currencies` is imported to retrieve the selected currency's symbol for these dynamic updates. (`packages/desktop-client/src/components/settings/Currency.tsx`, [packages/desktop-client/src/components/settings/Currency.tsx L10-R10](diffhunk://#diff-9b0bd6bc744bfd4afac03d8e6db423fa69216ff2dac2272f2a5dba73494e14ccL10-R10)) * The translated text in the label is separated out to no longer include the amounts, so that `'Before amount'`, `'After amount'`, and `'e.g.'` are separate tokens. **Screenshots** <img width="547" height="168" alt="Screenshot from 2025-09-19 10-42-02" src="https://github.com/user-attachments/assets/a8029918-4d81-4b97-a424-f267e5c4f5bb" /> <img width="548" height="189" alt="Screenshot from 2025-09-19 10-42-28" src="https://github.com/user-attachments/assets/334cbdfa-281d-416d-8636-058be979ba02" /> <img width="549" height="167" alt="Screenshot from 2025-09-19 10-42-56" src="https://github.com/user-attachments/assets/c70edb3e-3c4b-4db8-a09a-ceeb48cd44c0" /> --- <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:23:46 -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#6090