App: Edit comment - Spaces are not displayed in edit box
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Expected Result:
Spaces should be visible in edit comment box
Actual Result:
Spaces are not visible in edit comment box.
Action Performed:
- Navigate to a conversation
- Send a message with the following text
Hello
Space
Test
- Right click on the message and click edit comment.
Workaround:
N/a
Platform:
Where is this issue occurring?
Web ✔️ iOS Android Desktop App Mobile Web
Version Number: 1.0.43-0
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:
Expensify/Expensify Issue URL: https://www.upwork.com/jobs/~01aab2d470107fe14c
From @roryabraham https://expensify.slack.com/archives/C01GTK53T8Q/p1620849222131700
When editing a comment, newlines do not appear in the text box.
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 38 (33 by maintainers)
@pranshuchittora That looks correct to me! Generally speaking, we try to match GitHub-flavored markdown.
To summarise
expensify-common
.expensify-common
to the merge commit hash inE.cash
repo (this repo).Is this correct?
cc @jasperhuangg @marcaaron
Created a tracking issue for other HTML —> MD conversions here
@pranshuchittora just sent you the contract in Upwork, thanks!
Also, it might be fine for this work to be split up into several issues - but we can start by handling the line breaks at least?
Ok based on the conversations in Slack I think that how we should handle this is:
text
field altogether as we are discussing deprecating it and removing itExpensiMark
that will convert HTML back into our own custom flavor of markdown. Something like:ExpensiMark()
text
valuehttps://github.com/Expensify/Expensify.cash/blob/087205d81ed0bf3b072d85e09c20bf2af1c91262/src/pages/home/report/ReportActionContextMenu.js#L141-L149
Created job in Upwork: https://www.upwork.com/jobs/~01aab2d470107fe14c