-
Notifications
You must be signed in to change notification settings - Fork 3.5k
fix manually entered message not shown #78297
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
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 ts-node ./scripts/generateTranslations.ts --helpTypically, you'd want to translate only what you changed by running |
|
@Julesssss 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] |
Codecov Report❌ Looks like you've decreased code coverage for some files. Please write tests to increase, or at least maintain, the existing level of code coverage. See our documentation here for how to interpret this table.
|
|
@situchan the pr is ready for review |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppandroid.movAndroid: mWeb Chromemchrome.moviOS: HybridAppiOS: mWeb Safarimsafari.movMacOS: Chrome / Safariweb.mov |
|
@Nodebrute please merge main |
situchan
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
src/libs/ReportActionsUtils.ts
Outdated
| return reportAction.originalMessage; | ||
| } | ||
|
|
||
| function getMarkedReimbursedComment(reportAction: OnyxInputOrEntry<ReportAction>): string | undefined { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of this, define getMarkedReimbursedMessage in ReportActionsUtils which directly returns translated message.
return translateLocal('iou.paidElsewhere', {comment: originalMessage?.message?.trim()});
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@situchan i have updated the code
|
Bug: Screen.Recording.2025-12-25.at.11.40.53.PM.mov |
|
Sorry, this got delayed due to the holidays. I’ll update today. |
@situchan I’m not able to reproduce this issue on my end. What I’m seeing instead is “This chat is with Jane.” Could you please share the steps to consistently reproduce this issue? Screen.Recording.2025-12-30.at.2.05.57.PM.mov |
still reproducible. I just followed the steps in OP, logout and relogin on iOS Screen.Recording.2026-01-03.at.12.43.28.AM.mov |
|
Any reason for not migrating these places?
App/src/libs/ReportNameUtils.ts Lines 471 to 473 in a035280
Line 5738 in a035280
|
| } | ||
| if (translatePhraseKey === 'iou.paidElsewhere') { | ||
| // eslint-disable-next-line @typescript-eslint/no-deprecated | ||
| return translateLocal(translatePhraseKey, {payer: payerDisplayName ?? undefined}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
comment is missing?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same reason #78297 (comment)
| if (translationKey === 'iou.paidElsewhere') { | ||
| // eslint-disable-next-line @typescript-eslint/no-deprecated | ||
| return translateLocal(translationKey, ''); | ||
| return translateLocal(translationKey); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any reason for not migrating this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same reason #78297 (comment)
Other way to reproduce: clear cache and restart Screen.Recording.2026-01-03.at.1.15.21.AM.mov |
These places deal with IOU actions where |
Screen.Recording.2026-01-07.at.12.39.12.AM.mov@situchan Tested on old and new accounts, still unable to reproduce. Even tested on android and ios, same results. |
ok let's not block on this as edge case and happening on production. |
|
resolved the conflicts. I think pr is ready to merge. |
|
@situchan the pr is ready |
|
@Nodebrute conflicts |
|
@situchan conflicts resolved |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/arosiclair in version: 9.2.97-0 🚀
|
|
🚀 Deployed to staging by https://github.com/arosiclair in version: 9.2.99-0 🚀
|



Explanation of Change
Fixed Issues
$ #77400
PROPOSAL: #77400 (comment)
Tests
marked as paid, saying “Paid outside Expensify“Offline tests
Same as above
QA Steps
// TODO: These must be filled out, or the issue title must include "[No QA]."
marked as paid, saying “Paid outside Expensify“PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, 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.ScrollViewcomponent to make it scrollable when more elements are added to the page.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
Screen.Recording.2025-12-22.at.8.14.37.PM.mov