Repository navigation
Fix - the system message that appears when renaming an Expense report starting with "renamed this room to...". - #60350
Conversation
|
@dominictb 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] |
|
Having trouble with android build. |
|
@FitseTLT Conflicts & Android recordings (you can try |
|
@FitseTLT Let's fix the conflicts first so I can start my review. |
|
Android recordings uploaded |
| renamedRoomAction: ({oldName, newName, isExpenseReport, actorName}: RenamedRoomActionParams) => | ||
| isExpenseReport | ||
| ? `${actorName ? `${actorName} ` : ''}renamed to "${newName}" (previously "${oldName}")` | ||
| : `${actorName ? `${actorName} ` : ''}renamed this room to "${newName}" (previously "${oldName}")`, |
There was a problem hiding this comment.
We should not nest ternary operators. Let's only conditionally show this room part.
${isExpenseReport ? "" : "this room "}
There was a problem hiding this comment.
No way, We can not be sure where it should fit for other languages. But I have avoided the nested ternary.
Reviewer Checklist
Screenshots/VideosAndroid: Native |
|
fixed |
|
@mountiny Can you check? |
|
@FitseTLT Please resolve 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/mountiny in version: 9.1.41-0 🚀
|
|
🚀 Deployed to production by https://github.com/yuwenmemon in version: 9.1.41-1 🚀
|










Details
Fixed Issues
$ #60134
PROPOSAL: #60134 (comment)
Tests
Offline tests
Same as above
QA Steps
Same as above
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel so 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
2025-04-23.16-42-55.mp4
Android: mWeb Chrome
2025-04-16.16-57-50.mp4
iOS: Native
2025-04-16.17-10-35.mp4
iOS: mWeb Safari
2025-04-16.16-54-39.mp4
MacOS: Chrome / Safari
2025-04-16.16-41-34.mp4
MacOS: Desktop
2025-04-16.16-41-56.mp4