-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Escape special characters in MARKEDREIMBURSED
message
#34081
Conversation
@cubuspl42 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] |
In the test steps, you mention NewDot only once:
Is this intentional? |
Would you upload a video presenting the test flow, at least from step 3, for at least one platform, let's say macOS / Web? |
@cubuspl42 I've supplemented the recording from Step 3 to |
Reviewer Checklist
Screenshots/VideosMacOS: Desktop |
@@ -12,7 +13,7 @@ function ReportActionItemBasicMessage({message, children}: ReportActionItemBasic | |||
const styles = useThemeStyles(); | |||
return ( | |||
<View> | |||
<Text style={[styles.chatItemMessage, styles.colorMuted]}>{message}</Text> | |||
<Text style={[styles.chatItemMessage, styles.colorMuted]}>{Str.htmlDecode(message)}</Text> |
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.
Maybe could memoize the decoded message but it probably doesn't make a significant difference
✋ 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/roryabraham in version: 1.4.25-0 🚀
|
🚀 Deployed to production by https://github.com/mountiny in version: 1.4.25-10 🚀
|
Details
This PR escapes special characters in
MARKEDREIMBURSED
message.Fixed Issues
$ #33996
PROPOSAL: #33996 (comment)
Tests
isPolicyExpenseChatEnabled = true
on the policy by:Offline tests
NA
QA Steps
isPolicyExpenseChatEnabled = true
on the policy by:PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
Screen.Recording.2024-01-09.at.17.33.33-compressed.mov
MacOS: Desktop