-
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 2024-06-03] [$250] Room - Multiline name set for URL is shown in different format for room and task description #39496
Comments
Triggered auto assignment to @bfitzexpensify ( |
@bfitzexpensify FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors |
We think that this bug might be related to #vip-vsp |
ProposalPlease re-state the problem that we are trying to solve in this issue.The task description update message doesn't render the markdown which is different with room description. What is the root cause of that problem?For room description update message, the message contains a HTML of the markdown,
but for task update description, even when we use markdown, the text doesn't contains the HTML representation of the MD.
So, when we try to render it, it just shows as plain text. What changes do you think we should make in order to solve the problem?I think we can fix it on the BE by returning the HTML representation of the MD for task description update message too, but in case we want to handle it in FE, we can do it using ExpensiMark. App/src/components/ReportActionItem/TaskAction.tsx Lines 17 to 22 in 7177173
What alternative solutions did you explore? (Optional)Convert the description to HTML optimistically and send it to the BE. Line 4016 in aed0bf0
The changelog can be a title or description changelog, so maybe we can conditionally parse it only when it's a description update. And then parse the description value here that will be sent to the BE. Line 438 in aed0bf0
Then, we need to replace App/src/components/ReportActionItem/TaskView.tsx Lines 141 to 144 in aed0bf0
We also don't need the App/src/pages/tasks/TaskDescriptionPage.tsx Line 112 in aed0bf0
And last, when comparing the value here on submitting, App/src/pages/tasks/TaskDescriptionPage.tsx Lines 47 to 52 in aed0bf0
we should update it to,
No need to convert I just realized this is what we did for the room description App/src/libs/actions/Report.ts Line 1754 in aed0bf0
App/src/pages/RoomDescriptionPage.tsx Line 35 in aed0bf0
|
Job added to Upwork: https://www.upwork.com/jobs/~0120eebece9f86310e |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @abdulrahuman5196 ( |
Upwork job price has been updated to $250 |
Proposal from @bernhardoj ready for review @abdulrahuman5196 |
Hi, Will check on the proposal today. |
Checking now |
@bernhardoj Even in the optimistic message(offline) I am seeing the same issue. I think regardless of backend fix we might need a FE fix as well. But I tried your fix for doing the parser replace, but didn't workout for me. Could you kindly check and update proposal. |
It works fine for me. Screen.Recording.2024-04-10.at.10.08.41.movBtw, I just updated my proposal to include another solution that needs more changes but I think is better. |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
Checking now |
@bernhardoj 's proposal here #39496 (comment) looks good and works well. And regarding the alternate solution, that change would almost make the description as complex as a comment. So I think at this point the proposed solution looks good keeping the description simple and effective. But anyways if internal engineer feels different, feel free to go with alternate solution. 🎀 👀 🎀 |
Triggered auto assignment to @cristipaval, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
📣 @abdulrahuman5196 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. If a regression has occurred and you are the assigned CM follow the instructions here. If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.75-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-06-03. 🎊 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:
|
Triggered auto assignment to @sonialiap ( |
Adding a BZ buddy for payment/regression test update - I will be OOO until June 11th |
@cristipaval I see this was linked to a deploy blocker, was there a regression? |
Unfortunately, yes. But its closed now. |
Not a regression
Yes.
|
Since there was a regression I'm going to need to lower the payment by 50% to $125 Payment summary: |
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
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:
Slack conversation:
Action Performed:
Expected Result:
System message for multiline name set for URL must not be shown in different format for room and task description inconsistently.
Actual Result:
System message for multiline name set for URL is shown in different format for room and task description
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6435854_1712079389764.TX_am.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: