-
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
Fix/14941 whitespace above block quotes is stripped away #15504
Fix/14941 whitespace above block quotes is stripped away #15504
Conversation
@thienlnam @rushatgabhane 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] |
Hi, @rushatgabhane Could you help to review this PR? This PR is created 2 days ago |
@tienifr the version is supposed to be upgraded by someone internal only. https://github.com/Expensify/expensify-common#deploying-a-change-expensify-only |
@thienlnam since @tienifr has already upgraded App, could you please upgrade the version for other repos. https://github.com/Expensify/expensify-common#deploying-a-change-expensify-only |
Did someone not create a new version when the expensify-common PR was merged? |
@thienlnam i don't think so. Main is at commit 69e32de |
Actually, this should be fine I'm not sure what the problem is - the App changes are now pointing the latest expensify-common We don't need to update the other repos unless there was changes merged that need to be updated, and looking at the changes from https://github.com/Expensify/expensify-common/pull/503/files it shouldn't impact any other repo So this should be ready to be reviewed right? I think the expensify only page needs to be updated since contributors can create App PRs with the new commit hash |
Reviewer Checklist
Screenshots/Videos |
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.
@thienlnam LGTM!
Performance Comparison Report 📊Significant Changes To Duration
Show details
Meaningless Changes To DurationShow entries
Show details
|
@Expensify/mobile-deployers 📣 Please look into this performance regression as it's a deploy blocker. |
🚀 Deployed to staging by https://github.com/thienlnam in version: 1.2.78-0 🚀
|
🚀 Deployed to production by https://github.com/mountiny in version: 1.2.78-0 🚀
|
Details
When we intentionally add a blank line above the blockquote and send it, there's no blank line above the block quote. In order to fix this issue, we should remove that replacement logic in expensify-common repo and enable the enableExperimentalBRCollapsing flag of react-native-render-html on native platform so that the behavior of the native platform will follow the correct HTML standard.
Fixed Issues
$ #14941
PROPOSAL: #14941 (comment)
Tests
For all platforms
1, Compose a message like this:
2, Post the message
3, Edit the message you posted
4, Verify that there is a blank line (and an even amount of space) above and below the block quote. The same message you sent in step 1 is shown in the editor
Additional test for IOS and Android (to ensure there is no regression bug created by the PR)
1, Compose a message like this:
2, Post the message
3, Verify that there is no extra space displayed when used non-quoted and quoted than non-quoted text
Offline tests
QA Steps
For all platforms
1, Compose a message like this:
2, Post the message
3, Edit the message you posted
4, Verify that there is a blank line (and an even amount of space) above and below the block quote. The same message you sent in step 1 is shown in the editor
Additional test for IOS and Android (to ensure there is no regression bug created by the PR)
1, Compose a message like this:
2, Post the message
3, Verify that there is no extra space displayed when used non-quoted and quoted than non-quoted text
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.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
Web
web.mp4
Mobile Web - Chrome
chrome.mp4
Mobile Web - Safari
safari.mp4
Desktop
desktop.mp4
iOS
ios.2.mp4
Android
android.1.mp4