-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Make sure that we pass markdown to parser when getting the parsed originalCommentHTML #13703
Conversation
|
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.
Code LGTM, testing now
haha same |
@thesahindia @techievivek One of you needs to 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] |
Reviewer Checklist
Screenshots/VideosWeb2022-12-19_13-54-48.mp4Mobile Web - Chrome2022-12-19_14-04-33.mp4Mobile Web - Safari2022-12-19_14-02-43.mp4Desktop2022-12-19_13-56-32.mp4iOS2022-12-19_14-01-48.mp4Android2022-12-19_14-12-06.mp4 |
Removing @thesahindia I don't think we need C+ review here |
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.
Tests well!
Make sure that we pass markdown to parser when getting the parsed originalCommentHTML (cherry picked from commit 0d024be)
Performance Comparison Report 📊Significant Changes To DurationThere are no entries Meaningless Changes To DurationShow entries
Show details
|
…-13703 🍒 Cherry pick PR #13703 to staging 🍒
🚀 Cherry-picked to staging by @stitesExpensify in version: 1.2.41-2 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
🚀 Deployed to production by @yuwenmemon in version: 1.2.41-4 🚀
|
🚀 Cherry-picked to staging by https://github.com/AndrewGable in version: 1.3.28-2 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
🚀 Deployed to production by https://github.com/AndrewGable in version: 1.3.28-5 🚀
|
@stitesExpensify please review
Details
We were passing HTML to the
parser.replace
function here - this caused us to double escape the HTML when comparing it with the original, which meant that we would mistakenly think a non-edited comment was indeed changed.Fixed Issues
$ #13661
Tests
```hello world```
)"example"
"example 2"
edited
label doesn't flashexample
Offline tests
Same as online tests above.
QA Steps
Same as tests above
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)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)/** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)ScrollView
component to make it scrollable when more elements are added to the page.Screenshots/Videos
Web
Kapture.2022-12-19.at.12.28.51.mp4
Mobile Web - Chrome
Kapture.2022-12-19.at.12.49.20.mp4
Mobile Web - Safari
Kapture.2022-12-19.at.12.44.55.mp4
Desktop
Kapture.2022-12-19.at.12.33.38.mp4
iOS
Kapture.2022-12-19.at.12.43.34.mp4
Android
Kapture.2022-12-19.at.12.51.40.mp4