Repository navigation
[No QA] Show reclaimable tax details in the added distance rate change log - #104431
Conversation
When the log has taxClaimablePercentage and taxRateName, append the reclaimable amount per unit (rate x taxClaimablePercentage) and the tax rate name.
|
Hey, I noticed you changed If you want to automatically generate translations for other locales, an Expensify employee will have to:
Alternatively, if you are an external contributor, you can run the translation script locally with your own OpenAI API key. To learn more, try running: npx bun ./scripts/generateTranslations.ts --helpTypically, you'd want to translate only what you changed by running |
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
|
@thesahindia 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. |
joekaufmanexpensify
left a comment
There was a problem hiding this comment.
Good for product
neil-marcellini
left a comment
There was a problem hiding this comment.
Looks great thanks!
|
No C+ needed. Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppiOS: mWeb SafariMacOS: Chrome / Safari |
|
🚧 neil-marcellini 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/neil-marcellini in version: 9.5.16-0 🚀
|
|
No help site update is needed. This PR only adds a tax suffix to the "added rate" log message in the #admins room, which explains itself in the app, and the backend doesn't send the new fields yet. |
|
🚀 Deployed to staging by https://github.com/neil-marcellini in version: 9.5.18-0 🚀
|
|
No help site update needed. This PR only adds a tax reclaimable suffix to the "added rate" change log in the #admins room, and no article quotes that log text or says anything this change makes incorrect. |
|
🚀 Deployed to production by https://github.com/grgia in version: 9.5.18-1 🚀
Bundle Size Analysis (Sentry): |
Explanation of Change
The "added rate" distance change log now ends with
, with <amount>/<unit> tax reclaimable under "<taxRateName>"when the log hastaxClaimablePercentageandtaxRateName. The amount israte × taxClaimablePercentage. Logs without these fields render as before.Auth side: https://github.com/Expensify/Auth/pull/25666
Fixed Issues
$ https://github.com/Expensify/Expensify/issues/692145
PROPOSAL: N/A
Tests
The backend does not send these fields yet (#692142 adds them for UK fuel-band rates), so these steps add them locally through Onyx in the browser console.
added "Test" rate of £0.55/mile, valid from October 1, 2026.REPORT_ID:added "Test" rate of £0.55/mile, valid from October 1, 2026, with £0.14/mile tax reclaimable under "Standard VAT (20%)".setTax({taxClaimablePercentage: 0})and verify the suffix shows£0.00/mile.setTax({taxRateName: null})and verify the suffix is gone.Offline tests
QA Steps
No QA. The backend doesn't send these fields yet, so the suffix can only be checked with the dev-only console steps above.
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
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari