-
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-06] [$250] [Held requests] Reason appears bolded briefly after holding the request #40408
Comments
Triggered auto assignment to @trjExpensify ( |
Triggered auto assignment to @techievivek ( |
👋 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:
|
@trjExpensify 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 this issue might be related to the #collect project. |
@trjExpensify, This issue was reported by me on slack, I also Proposed the fix over there. (this issue is reproducible on production as well) |
Yup, I agree that @GandalfGwaihir reported this issue first. |
The issue here is that the style doesn't match with the ProposalPlease re-state the problem that we are trying to solve in this issue.We apply style to optimistically set messages, but this is wrong we shouldn't set any style to it. What is the root cause of that problem?When we The RCA is because we set the comment to be of text type in optimistically generated comment What changes do you think we should make in order to solve the problem?We need to remove the style, update type as comment , and add an extra prop html and set it to comment: message: [
{
type: CONST.REPORT.MESSAGE.TYPE.COMMENT,
text: comment,
html: comment,
},
], Note: HTML parsing isn’t currently supported for hold requests but is being worked on over here #37015, hence the reason i have kept html prop to be just comment. and this issue is about the What alternative solutions did you explore? (Optional) |
Job added to Upwork: https://www.upwork.com/jobs/~012e7d4583f2b70df4 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @paultsimura ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.The reason in the transaction thread is bolded briefly after holding the request. What is the root cause of that problem?In here, we're setting the After this PR, the held message was broken down into 2 parts, 1 system message and 1 normal comment, however we didn't handle the "normal comment" part right. So it will fall to this case of the action user login comment and show as bold (the message type currently is What changes do you think we should make in order to solve the problem?If we look at the correct handling for "normal comment" here, we'll see that:
We need to handle the hold comment similarly (since by right it's a normal comment, which is also editable as a normal comment after holding API request is successful). To do this we need to add to here
Then update this to
We also needs to update the back-end similarly so it parses the hold comment correctly. If we simply set
It will not show as code block correctly in the message list, and when edit that hold comment to
It will now render as code block. That will also be inconsistent when we try to send
In the composer directly Besides the above change, we should compare the optimistic chat comment logic and the optimistic hold comment logic to make sure we're not missing out any other field. If we do, will need to update so it's similar to the chat comment logic. What alternative solutions did you explore? (Optional)We could even apply |
@paultsimura I think this should be onHold for #39452 based on this comment #39452 (comment) there's a change from |
By those comments which you linked, it seems they won't change the Can you confirm that this issue can be treated separately ? @robertjchen |
📣 @hoangzinh 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
📣 @dragnoir You have been assigned to this job! |
All done, OP updated. But the upwork link said "This job is no longer available." |
Cool, I'll sort that out when I pay. |
Update: The other PR is now on staging |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.77-11 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-06. 🎊 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:
|
This should be ready for payment :) |
Checklist time, please. :) |
BugZero Checklist:
|
Awesome, thanks- I think we can pay and close this one out @trjExpensify ? 🙏 |
Thanks! Payment summary as follows: $250 to @hoangzinh for the C+ review @allgandalf paid! @hoangzinh can you accept the offer please? |
Accepted. Thanks @trjExpensify |
Paid, closing! |
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.63-0
Reproducible in staging?: Y
Reproducible in production?: N
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-Internal team
Action Performed:
Expected Result:
The reason in the transaction thread will not appear bolded.
Actual Result:
The reason in the transaction thread is bolded briefly after holding the request.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Bug6453293_1713425278170.hold_request_bold.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @trjExpensifyThe text was updated successfully, but these errors were encountered: