-
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
Make bold/italic/strikethrough work with multi-line emails #15393
Conversation
@NikkiWines @thesahindia 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] |
This PR is not yet mergeable because it references my fork, but I'm raising it already to meet the deadline. @thesahindia You are in the opposite time zone to @NikkiWines. Can you please review both PRs at once? This way, @NikkiWines can do the same and merge both in one day. I will update package.json immediately once the expensify-common PR merges. |
@marktoman, I don't think I can approve this PR right now. We need to wait. |
Updated |
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.
LGTM!
All yours @NikkiWines
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.
Performance Comparison Report 📊Significant Changes To DurationThere are no entries Meaningless Changes To DurationShow entries
Show details
|
🚀 Deployed to staging by https://github.com/NikkiWines in version: 1.2.77-0 🚀
|
🚀 Deployed to staging by https://github.com/NikkiWines in version: 1.2.77-0 🚀
|
@kbecciv @johncschuster I am not able to reproduce on staging. Your video shows that it appears correctly for a moment, then the lines are added. This suggests the second version comes from the server. Could it be a bug on the server that has been fixed? New.Expensify.-.Google.Chrome.2023-03-01.02-20-49.mp4 |
🚀 Deployed to production by https://github.com/yuwenmemon in version: 1.2.77-4 🚀
|
Details
Upgrade expensify-common, which adds support for bold/italic/strikethrough emails in multi-line mode. This is achieved by preventing the email from starting with the ~_* MD characters. Such emails are not supported by major platforms. The consensus on the issue is that they should not be supported.
Fixed Issues
$ #14695
$ #14695 (comment)
Tests
New changes
Current behavior
Offline tests
QA Steps
New changes
Current behavior
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
Mobile Web - Chrome
Mobile Web - Safari
Desktop
iOS
Android