-
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
[HOLD for payment 2022-05-20] [$2000] When copy&paste multiple messages line breaks aren't maintained #7352
Comments
Triggered auto assignment to @roryabraham ( |
Triggered auto assignment to @kadiealexander ( |
Proposal App/src/pages/home/report/ReportActionItemFragment.js Lines 65 to 77 in 8a31526
There is a simple solution for the problem: We can enclose the decoded HTML for the single line messages in a div with the
1.New.Expensify.Mozilla.Firefox.2022-01-24.16-25-41.mp4The above approach works fine as shown.
|
I too am trying to figure out where this comes from. It seems like it might be an implementation detail from either react-native-render-html or react-native-web 🤔 If that's the case, I think we need to decouple the
I have several thoughts about how this could all be simplified/cleaned up, but first I want to confirm that my high-level understanding of this is correct. @kursat Any comments? |
Posted to upwork: https://www.upwork.com/jobs/~0104b0a207be0dbbcb |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @rushatgabhane ( |
Current assignee @roryabraham is eligible for the Exported assigner, not assigning anyone new. |
Hmm I think that'll lead to an extra new line at the end of copied text. |
Hey @thienlnam, data-testid is added by react-native-render-html. @roryabraham all steps are correct. @sig5's proposal looks like a workaround to me. So I am trying to find a better solution for this for a couple days. @roryabraham If I can be able to find a better solution, we can also implement your improvement ideas. |
@kursat any updates on this one? Thanks! |
Hey @rushatgabhane, I couldn't find enough time to find a proper solution yet. Please let me work some more this weekend. Hopefully, I will send a proposal on Monday. |
@roryabraham should this job be doubled? I know @kursat said they're working on it but that shouldn't be a reason to not double because anyone can propose a solution and be hired |
Yep, let's double this one. |
Doubled price to $500 - https://www.upwork.com/jobs/~0104b0a207be0dbbcb |
Thanks @ahmdshrif C+ reviewed 🎀 👀 🎀 @roryabraham I think we should hire @ahmdshrif, we can then work together on all the test cases. Let me know what you think |
Okay. Honestly, I had some difficulty following the language used throughout this discussion, but the videos give me enough confidence to think that we're on the right track.
I agree that there's a substantial burden on maintenance in our Markdown parser, but that predates my time at Expensify so I don't have all the context around why we decided to build our own Markdown parser. Generally I think the reason is that we wanted to have full control over the markdown syntax we choose to support not to support in our chat application. |
📣 @ahmdshrif You have been assigned to this job by @roryabraham! |
Have sent contracts to @ahmdshrif and @rushatgabhane to ensure they're paid when this is completed. Please accept when you can! |
Looks like the PR is almost ready. @rushatgabhane mentioned that he wants to review, so I'm waiting on the C+ 👍 before I do a final review. |
PR review is still ongoing |
Expensify-common PR was merged just a few minutes ago. Next up is the NewDot PR. |
@roryabraham in case anything is weird with this issue, can you drop a comment in denoting payment date if one isn't auto-added? |
See update above! Begone, Melvin. |
@roryabraham do we need to issue payment for anything so far? I'm unclear on if this issue has anything unusual I need to manage. |
@kadiealexander this issue should be setttled on May 20. |
Thanks @rushatgabhane! |
Paid!!! Thanks for your work team. |
Cheers! |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
Steps 2
Expected Result:
Line breaks should be maintained. The three messages would show on three lines
Actual Result:
Line breaks are not maintained. The three messages are on one line.
Workaround:
Unknown.
Platform:
Where is this issue occurring?
Version Number: 1.1.30-3
Reproducible in staging?: Y
Reproducible in production?: Y
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Related to #5142
Expensify/Expensify Issue URL:
Issue reported by: @mallenexpensify
Slack conversation: https://expensify.slack.com/archives/C01GTK53T8Q/p1642095778439500
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: