Generalize convertToDisplayStringWithoutCurrency for any locale - #100948
Generalize convertToDisplayStringWithoutCurrency for any locale#100948sosek108 wants to merge 1 commit into
Conversation
|
@MelvinBot review |
|
Codex Review: Didn't find any major issues. 🚀 Reviewed commit: ℹ️ About Codex in GitHubCodex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback". |
|
@thelullabyy 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] |
|
🤖 Review: LGTM — the refactor is behavior-preserving. Two non-blocking follow-ups below. The extracted 1. A third copy of this logic is still hand-rolled
2. No test covers a non-
|
|
⏱️ Ran out of time before I could finish. This usually means the task was too complex or I got stuck exploring. Please try again with a more specific request or post in #melvinbot-ai. |
|
No product review needed. |
Explanation of Change
Prep slice 2 of 4 decomposing #99062 (Route Search previews through the shared LHN alternate text pipeline). This slice only generalizes the currency formatting helper, ahead of the actual pipeline change.
No behavior change: every existing caller goes through the unchanged
…EnLocalewrapper and still formats withen.Fixed Issues
$ #98958
PROPOSAL:
Tests
en, unchanged.Offline tests
N/A — pure refactor of currency string formatting, no network interaction.
QA Steps
Same as tests.
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectionAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))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
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
Nagranie.z.ekranu.2026-09-11.o.14.12.51.mov