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

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

Original Pull Request: https://github.com/actualbudget/actual/pull/6438

State: closed
Merged: Yes


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
**Original Pull Request:** https://github.com/actualbudget/actual/pull/6438 **State:** closed **Merged:** Yes --- 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" />
GiteaMirror added the pull-request label 2026-02-28 21:29:33 -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#6524