Repository navigation
[Payment due @QichenZhu] Respect currency precision in amount filter chips - #105941
Conversation
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. |
|
@arosiclair 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] |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppandroid-native.webmAndroid: mWeb Chromeandroid-web.webmiOS: HybridAppios-native.moviOS: mWeb Safariios-web.movMacOS: Chrome / Safarimac-web.mp4 |
|
🎯 @QichenZhu, thanks for reviewing and testing this PR! 🎉 A payment issue will be created for your review once this PR is deployed to production. If payment is not needed (e.g., regression PR review fix etc), react with 👎 to this comment to prevent the payment issue from being created. |
|
🚧 JS00001 has triggered a test Expensify/App build. You can view the workflow run here. |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
|
🚀 Deployed to staging by https://github.com/JS00001 in version: 9.5.33-0 🚀
|
|
No FullStory changes needed — this PR only fixes currency precision formatting in existing Amount and Purchase amount filter chips and popups, without adding new user-facing functionality. |
|
🚀 Deployed to production by https://github.com/roryabraham in version: 9.5.33-1 🚀
Bundle Size Analysis (Sentry): |
Explanation of Change
Pass the comparison currency to amount filter labels and reuse the localized currency formatter in chip popups. JPY/VND no longer show
.00; two-decimal currencies, Any currency precision, and saved operands stay unchanged.Fixed Issues
For #105808
For #105917 (review)
Tests
12JPY. Confirm the chip and its popup summary show12 JPY, without.00.0VND and-12JPY. Confirm zero and negative amounts also omit.00.10JPY and20.50GBP. Confirm the chip and popup retain each bound's currency and precision.12.50with USD, then with Any currency. Confirm both retain two decimal places and Any currency has no currency suffix.Offline tests
12JPY. Confirm the chip and reopened popup show12 JPY, without.00.QA Steps
.00in chips and popup summaries, while USD and Any currency retain two-decimal precision.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.1.18.02.PM.mov
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari