Repository navigation
[CP Staging] Respect currency precision in amount filters - #105917
Conversation
|
@QichenZhu Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
@Beamanator Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
|
@QichenZhu are you available to review this PR soon? |
|
@luacmartins yep, on it. |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppScreen_recording_20261105_063158.webmAndroid: mWeb ChromeScreen_recording_20261105_063816.webmiOS: HybridAppSimulator.Screen.Recording.-.iPhone.17.-.2026-11-05.at.06.30.46.mp4iOS: mWeb SafariSimulator.Screen.Recording.-.iPhone.17.-.2026-11-05.at.06.47.56.mp4MacOS: Chrome / SafariScreen.Recording.2026-11-05.at.6.18.33.AM.mp4 |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚧 luacmartins has triggered a test Expensify/App build. You can view the workflow run here. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
…t-filters [CP Staging] Respect currency precision in amount filters (cherry picked from commit ce539ca) (cherry-picked to staging by blimpich)
|
🔁 Filed a Staging retest request for deploy blockers #105808 after this PR was cherry-picked to staging. |
|
🚀 Cherry-picked to staging by https://github.com/blimpich in version: 9.5.31-4 🚀
|
|
No help site update needed — this bug fix makes filter inputs respect each currency’s decimal precision without adding a workflow or making existing guidance incorrect. |
|
CP passed by QA team PR.PR.105917.offline.mp4PR.105917.mp4 |
|
🚀 Deployed to production by https://github.com/blimpich in version: 9.5.31-4 🚀
Bundle Size Analysis (Sentry): |

Explanation of Change
Use the selected currency's precision in Amount and Purchase amount filters instead of always allowing two decimal places. The shared input rejects fractions for JPY/VND and strips them when switching currencies; Any currency and operand serialization stay unchanged.
Fixed Issues
$ #105808
Tests
12.34in USD, then select JPY. Confirm the input becomes12; repeat with-12.34and confirm-12.12.34, and apply the filter. Reopen it and confirm the amount and Any currency selection remain.10JPY and20.50GBP. Apply and reopen it; confirm each bound retains its own currency and precision.Offline tests
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectionAvatar, I verified the components usingAvatarare working as expected)npm run compress-svg)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Screen.Recording.2026-11-04.at.9.05.27.AM.mov
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari