[PR #6438] [MERGED] fix(privacy): hide currency symbols in redacted overlay #13579

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

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/6438
Author: @StephenBrown2
Created: 12/17/2025
Status: Merged
Merged: 1/13/2026
Merged by: @matt-fidd

Base: masterHead: redacted-content-currency-symbol


📝 Commits (2)

  • 71e25df fix(privacy): hide currency symbols in redacted overlay
  • a19cda9 refactor: simplify RedactedContent text node processing loop

📊 Changes

2 files changed (+40 additions, -2 deletions)

View changed files

📝 packages/desktop-client/src/components/PrivacyFilter.tsx (+34 -2)
upcoming-release-notes/6438.md (+6 -0)

📄 Description

Add RedactedContent component that uses useLayoutEffect to walk the DOM and replace non-alphanumeric characters (like currency symbols) with spaces. This ensures characters not rendered by Redacted Script font are hidden, regardless of how deeply nested they are in the component tree.

Addresses an issue I saw in discord:
https://discord.com/channels/937901803608096828/1033401142601859112/1450314521137647688

Here's a before and after screenshot with Pesos enabled in Currency settings:

Before:

Screenshot from 2025-12-17 15-03-21

After:

image

🔄 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/6438 **Author:** [@StephenBrown2](https://github.com/StephenBrown2) **Created:** 12/17/2025 **Status:** ✅ Merged **Merged:** 1/13/2026 **Merged by:** [@matt-fidd](https://github.com/matt-fidd) **Base:** `master` ← **Head:** `redacted-content-currency-symbol` --- ### 📝 Commits (2) - [`71e25df`](https://github.com/actualbudget/actual/commit/71e25dfa7d575e356312380184279dcb309dfee4) fix(privacy): hide currency symbols in redacted overlay - [`a19cda9`](https://github.com/actualbudget/actual/commit/a19cda9485bae9b8b99e2093623f757a88d5f853) refactor: simplify RedactedContent text node processing loop ### 📊 Changes **2 files changed** (+40 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `packages/desktop-client/src/components/PrivacyFilter.tsx` (+34 -2) ➕ `upcoming-release-notes/6438.md` (+6 -0) </details> ### 📄 Description Add RedactedContent component that uses useLayoutEffect to walk the DOM and replace non-alphanumeric characters (like currency symbols) with spaces. This ensures characters not rendered by Redacted Script font are hidden, regardless of how deeply nested they are in the component tree. Addresses an issue I saw in discord: https://discord.com/channels/937901803608096828/1033401142601859112/1450314521137647688 Here's a before and after screenshot with Pesos enabled in Currency settings: Before: <img width="713" height="645" alt="Screenshot from 2025-12-17 15-03-21" src="https://github.com/user-attachments/assets/1269cc49-8ba2-4f01-a04d-2c53729e43e7" /> After: <img width="713" height="645" alt="image" src="https://github.com/user-attachments/assets/82bb290f-c1ce-41b8-82e2-19ea35b3f626" /> --- <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-10 21:58:20 -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#13579