-
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 2023-03-13] Empty line appears both in report and in LHN if # is followed by two or more spaces in multiline message #15372
Comments
Triggered auto assignment to @NicMendonca ( |
Bug0 Triage Checklist (Main S/O)
|
Taking a look |
Job added to Upwork: https://www.upwork.com/jobs/~0179eff6125b6d2857 |
ProposalPlease re-state the problem that we are trying to solve in this issue.The first line of a two line message, like
will be displayed as an empty line and the message preview in LHN is empty. What is the root cause of that problem?The regex rule to translate markdown heading to HTML heading matches the last spaces if there're two or more spaces after # What changes do you think we should make in order to solve the problem?To fix this issue, we need to positive lookahead any non-whitespace character before the first capturing group. We can improve regex rule https://github.com/Expensify/expensify-common/blob/a2942d035614bf4bed90ffe2114d6ee828ee96da/lib/ExpensiMark.js#L167 from
to
What alternative solutions did you explore? (Optional)None |
Triggered auto assignment to Contributor Plus for review of internal employee PR - @s77rt ( |
I don't think this one will require c+ review :) |
@Gonals, @NicMendonca Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@Gonals just to confirm - what's the latest on this one? |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.2.78-0 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2023-03-13. 🎊 After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
As a reminder, here are the bonuses/penalties that should be applied for any External issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
@eh2077 don't forget to apply tot he job for reporting |
Hi @NicMendonca , thanks for reminding! But it looks like I can’t access the job on Upwork |
Opps, sorry! I've made it public. @eh2077 can you try again please? |
@NicMendonca I have applied the job, thank you! |
@eh2077 paid! 🎉 |
Hi @NicMendonca , I just accepted the offer you sent me! Hmm, it looks like still need your help to make the payment and then end the contract on Upwork. Would you please help with it? Thanks! |
@eh2077 sorry! Just re-issued payment and closed out the contract. Can you confirm on your end? |
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:
Expected Result:
The first line of the message and message preview is LHN should be '# '
Actual Result:
The first line of the message is displayed as an empty line and message preview in LHN is empty as well
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.2.75-0
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:
Screen.Recording.2023-02-22.at.8.59.05.PM.mov
Recording.1579.mp4
Expensify/Expensify Issue URL:
Issue reported by: @eh2077
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1677074059909059
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: