Repository navigation
[HOLD for payment 2024-04-15] IOU - IOU preview in the main chat does not support mark down, while IOU report supports it #39451
Description
Activity
- addedDeployBlockerCashThis issue or pull request should block deploymentThis issue or pull request should block deployment
on Apr 2, 2024 Triggered auto assignment to @aldo-expensify (
DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
- Identify the pull request that introduced this issue and revert it.
- Find someone who can quickly fix the issue.
- Fix the issue yourself.
We think that this bug might be related to #wave-collect - Release 1
Proposal
Please re-state the problem that we are trying to solve in this issue.
IOU preview in the main chat does not support mark down, while IOU report supports it
What is the root cause of that problem?
We don't use
renderHTMLto render the description inReportPreviewhence it displays as plain-textApp/src/components/ReportActionItem/ReportPreview.tsx
Lines 299 to 305 in 26a2a8f
{shouldShowSubtitle && ( <View style={styles.flexRow}> <View style={[styles.flex1, styles.flexRow, styles.alignItemsCenter]}> <Text style={[styles.textLabelSupporting, styles.textNormal, styles.lh20]}>{previewSubtitle || moneyRequestComment}</Text> </View> </View> )} What changes do you think we should make in order to solve the problem?
We should use
renderHTMLto render the description like we do here:
App/src/components/ReportActionItem/MoneyRequestPreview/MoneyRequestPreviewContent.tsx
Lines 297 to 301 in 26a2a8f
{shouldShowDescription && ( <View style={[styles.breakWord, styles.preWrap]}> <RenderHTML html={`<muted-text>${parser.replace(merchantOrDescription)}</muted-text>`} /> </View> )} - addedReviewingHas a PR in reviewHas a PR in reviewWeeklyKSv2KSv2and removedHourlyKSv2KSv2
on Apr 2, 2024 - addedHourlyKSv2KSv2BugSomething is broken. Auto assigns a BugZero manager.Something is broken. Auto assigns a BugZero manager.and removedReviewingHas a PR in reviewHas a PR in reviewWeeklyKSv2KSv2
on Apr 2, 2024 20 remaining items
- changed the title
[-] IOU - IOU preview in the main chat does not support mark down, while IOU report supports it[/-][+][HOLD for payment 2024-04-15] IOU - IOU preview in the main chat does not support mark down, while IOU report supports it[/+]on Apr 8, 2024 The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.60-13 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-04-15. 🎊
For reference, here are some details about the assignees on this issue:
- @ishpaul777 requires payment (Needs manual offer from BZ)
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:
- [@ishpaul777] The PR that introduced the bug has been identified. Link to the PR:
- [@ishpaul777] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
- [@ishpaul777] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
- [@ishpaul777] Determine if we should create a regression test for this bug.
- [@ishpaul777] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
- [@kadiealexander] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:
Payment Summary
- ROLE: @ishpaul777 paid $500 via Upwork (LINK)
BugZero Checklist (@kadiealexander)
- I have verified the correct assignees and roles are listed above and updated the necessary manual offers
- I have verified that there are no duplicate or incorrect contracts on Upwork for this job (https://www.upwork.com/ab/applicants//hired)
- I have paid out the Upwork contracts or cancelled the ones that are incorrect
- I have verified the payment summary above is correct
- addedInternalRequires API changes or must be handled by Expensify staffRequires API changes or must be handled by Expensify staff
on Apr 15, 2024 Job added to Upwork: https://www.upwork.com/jobs/~019a357ce26a3a91d5
- removedInternalRequires API changes or must be handled by Expensify staffRequires API changes or must be handled by Expensify staff
on Apr 15, 2024 hey @kadiealexander The issue was create before the price drop https://expensify.slack.com/archives/C02NK2DQWUX/p1712250884549319, I think provious bounty $500 should be applicable here
Fixed, please accept.
Thank you! Accepted
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 1.4.59-0
Reproducible in staging?: y
Reproducible in production?: n
Issue reported by: Applause - Internal Team
Action Performed:
Expected Result:
Since IOU preview in IOU report (Step 6) supports mark down, the IOU preview in the main chat should also support mark down.
Actual Result:
The IOU preview in the main chat does not support mark down.
Workaround:
n/a
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6435885_1712081039309.20240403_015949.mp4
View all open jobs on GitHub
Issue Owner
Current Issue Owner: @ishpaul777Upwork Automation - Do Not Edit