fix invitation message is converted to uni message#52684
fix invitation message is converted to uni message#52684yuwenmemon merged 1 commit intoExpensify:mainfrom NJ-2020:fix/51424
Conversation
|
@abdulrahuman5196 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] |
|
Checking now |
Reviewer Checklist
Screenshots/Videos |
|
Since @NJ-2020 's was not able to get sms invitation, I provided screenshots on testing as discussed here #51424 (comment) |
abdulrahuman5196
left a comment
There was a problem hiding this comment.
Changes looks good and works well. Reviewers checklist is also complete.
All yours. @yuwenmemon
🎀 👀 🎀
C+ Reviewed
| ...(optimisticAnnounceChat.announceChatReportActionID ? {announceCreatedReportActionID: optimisticAnnounceChat.announceChatReportActionID} : {}), | ||
| welcomeNote: Parser.replace(welcomeNote), | ||
| welcomeNote: Parser.replace(welcomeNote, { | ||
| shouldEscapeText: false, |
There was a problem hiding this comment.
Hmmm... the welcomeNote is provided by form input, right? Are there not security implications of leaving the text unescaped?
There was a problem hiding this comment.
Hi, @yuwenmemon . Sorry I don't understand what would be the security implication in this case?
There was a problem hiding this comment.
Nvm, tested - it only comes via email/text and we prevent html tags anyway
There was a problem hiding this comment.
Sorry for the delay! Wanted to be able to get a closer look at this one and time passed me by.
|
✋ 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/yuwenmemon in version: 9.0.77-0 🚀
|
|
🚀 Deployed to production by https://github.com/jasperhuangg in version: 9.0.77-6 🚀
|
| ...(optimisticAnnounceChat.announceChatReportActionID ? {announceCreatedReportActionID: optimisticAnnounceChat.announceChatReportActionID} : {}), | ||
| welcomeNote: Parser.replace(welcomeNote), | ||
| welcomeNote: Parser.replace(welcomeNote, { | ||
| shouldEscapeText: false, |
There was a problem hiding this comment.
We have an issue indirectly related to these changes
More context here










Explanation of Change
Fixed Issues
$ #51424
PROPOSAL: #51424 (comment)
Tests
Offline tests
Same as tests
QA Steps
Same as tests
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: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop