-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[C+ Checklist Needs Completion] [$500] IOU-Markdown applied is displayed as text without markdown in IOU preview #33340
Comments
Job added to Upwork: https://www.upwork.com/jobs/~018df7a4462e491a32 |
Triggered auto assignment to @greg-schroeder ( |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @rushatgabhane ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Markdown applied is not displayed in IOU preview. The text with markdown applied in IOU description is shown in IOU preview as text without markdown applied. What is the root cause of that problem?We are displaying description as normal text in IOUPreview.
What changes do you think we should make in order to solve the problem?We should display description of request as HTML by using RenderHTML component and pass html prop as the parser of the description like this
What alternative solutions did you explore? (Optional)NA |
ProposalPlease re-state the problem that we are trying to solve in this issue.The issue is that when Markdown is applied, it appears as plain text in the IOU preview without rendering the Markdown formatting. What is the root cause of that problem?We are not checking either description is simple text or in Markdown format. We are displaying it as plain text for simple text and markdown format, that's why markdown format also shown as a plain text. As you can see here.
What changes do you think we should make in order to solve the problem?Here is the code which is responsible to display description in IOU Preview App/src/components/ReportActionItem/MoneyRequestPreview.js Lines 330 to 332 in c09a3fe
What alternative solutions did you explore? (Optional)Instead of checking each component/page individually for whether it is in plain text or Markdown format, we can implement this logic inside the |
📣 @AxeemHaider! 📣
|
For reference sake, parsing description text was removed in this issue so that special characters like That was accomplished in this PR. |
Contributor details |
✅ Contributor details stored successfully. Thank you for contributing to Expensify! |
@Victor-Nyagudi thanks for this reference. I tested my code on local machine and eveything is working perfectly you can see this video. |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
Awaiting proposal review @rushatgabhane |
@dukenv0307's proposal LGTM ![]() ![]() |
Triggered auto assignment to @youssef-lr, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@youssef-lr @greg-schroeder @rushatgabhane this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
Next up is @youssef-lr to confirm contributor assignment #33340 (comment) |
📣 @dukenv0307 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
@rushatgabhane The PR is ready for review. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.27-1 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 2024-01-26. 🎊 For reference, here are some details about the assignees on this 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:
|
c: @dukenv0307 - $500 - paid Rushat you can make a manual request, and then if you could complete the checklist we can close this out! |
|
Thank you! manual request here https://staging.new.expensify.com/r/8963455257501785 |
$500 approved for @rushatgabhane based on summary above. |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 1.4.14-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
Expensify/Expensify Issue URL:
Issue reported by: Applause-Internal Team
Slack conversation: @
Action Performed:
Expected Result:
Markdown applied must be displayed in IOU preview.
Actual Result:
Markdown applied is not displayed in IOU preview. The text with markdown applied in IOU description is shown in IOU preview as text without markdown applied.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Bug6320563_1703034733792.iou32.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: