fix: Thread title and system message for currency change have different format#58317
Conversation
|
There was getWorkspaceNameUpdatedMessage in ReportActionsUtils that returns the same format for policy change name action as getWorkspaceNameUpdatedMessage in ReportUtils. The only difference is getWorkspaceNameUpdatedMessage in ReportUtils encodes the message with Str.htmlEncode. I have removed getWorkspaceNameUpdatedMessage from ReportActionsUtils since it is not used anywhere. And I have used getWorkspaceNameUpdatedMessage from ReportUtils to format report title in getReportNameInternal. Let, me know if I should make different change concerning this update. |
|
@mananjadhav 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] |
|
@mananjadhav I am having a build issue with android and ios. Can you please, review the PR while I am uploading evidence for the platforms I haven't added yet. |
I'll start with the review. What is the build issue you're getting? |
iOS was something like build exception 65, and a long list of error on android while the build is in execution phase. It didn't work when cleaning the project, but everything worked fine when I used a new clone. And I have uploaded evidence for all platforms. Thanks for asking! |
|
@mountiny Can you please trigger an adhoc build, this will help @etCoderDysto complete the checklist and QA on mobile platforms. |
@mananjadhav I have tested the change on all platforms. I have fixed the build error I was facing. And I have also completed the checklist. |
|
🚧 @mountiny has triggered a test app build. You can view the workflow run here. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪 |
|
@mananjadhav I have uploaded evidence for platforms. |
mananjadhav
left a comment
There was a problem hiding this comment.
Code changes look fine. Testing these.
Reviewer Checklist
Screenshots/VideosAndroid: Nativeandroid-system-message.movAndroid: mWeb Chromemweb-chrome-system-message.moviOS: Nativeios-system-message.mp4iOS: mWeb Safarimweb-safari-system-message.movMacOS: Chrome / Safariweb-system-message-01.movweb-system-message-02.movMacOS: Desktopdesktop-system-message.mov |
|
✋ 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.24-2 🚀
|
|
🚀 Deployed to production by https://github.com/jasperhuangg in version: 9.1.24-10 🚀
|
1 similar comment
|
🚀 Deployed to production by https://github.com/jasperhuangg in version: 9.1.24-10 🚀
|
Explanation of Change
Fixed Issues
$ #57740
PROPOSAL: #57740 (comment)
Tests
Same as QA steps
Offline tests
N/A
QA Steps
// TODO: These must be filled out, or the issue title must include "[No QA]."
Test 1
System message

Thread title

Test 2
System message

Thread title

Test 3
System message

Thread title

Test 4
System message
Thread title

Test 5
System message

Thread title
Test 6
System message

Thread title

Test 7
System message

Thread title

Test 8
System message

Thread title

Test 9
System message

Thread title

Test 10
System message
Thread title

PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))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.mp4
Android: mWeb Chrome
android.chrome.mp4
iOS: Native
ios.mp4
iOS: mWeb Safari
mobile.safari.mp4
MacOS: Chrome / Safari
web.mp4
For details, please refer the screenshots uploaded on QA steps section.
MacOS: Desktop
Desktop.mp4