-
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-03-20] [$500] Chat - Deleting a comment within the thread causes LHN to display 'No active yet' #36866
Comments
Triggered auto assignment to @JmillsExpensify ( |
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. |
ProposalPlease re-state the problem that we are trying to solve in this issue.The current code has multiple issues that can lead to incorrect behavior and unexpected results. These issues include race conditions, incorrect use of functions, and incorrect handling of optimistic actions. What is the root cause of that problem?The root cause of the problem is that the code does not correctly handle optimistic actions and does not use the correct functions to perform certain operations. What changes do you think we should make in order to solve the problem?To solve the problem, we need to make the following changes to the code:
What alternative solutions did you explore? (Optional)I explored the following alternative solutions:
However, I believe that the solution I have proposed is the most efficient and effective way to solve the problem. Code Solution
This code correctly handles optimistic actions and uses the correct functions to perform certain operations. It also includes error handling to ensure that the code does not crash if the report name cannot be determined. |
@JmillsExpensify Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@JmillsExpensify Still overdue 6 days?! Let's take care of this! |
@JmillsExpensify 8 days overdue is a lot. Should this be a Weekly issue? If so, feel free to change it! |
@JmillsExpensify 12 days overdue. Walking. Toward. The. Light... |
@JmillsExpensify this issue was created 2 weeks ago. Are we close to a solution? Let's make sure we're treating this as a top priority. Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
1 similar comment
@JmillsExpensify this issue was created 2 weeks ago. Are we close to a solution? Let's make sure we're treating this as a top priority. Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
Job added to Upwork: https://www.upwork.com/jobs/~011a10053ebf8f9226 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @allroundexperts ( |
No worries! Let's start with external and see how the discussion unfolds. |
ProposalPlease re-state the problem that we are trying to solve in this issue.Deleting a comment within the thread causes LHN to display "No active yet" What is the root cause of that problem?Here we determine the subtitle text for the LHN where we are only looking for the last message text within the report. Now when the parent thread comment is deleted, the last message text in the report will be empty. Since we are not also looking into the message text within the latest visible action, the What changes do you think we should make in order to solve the problem?Here, we can additionally look for the last action’s message text and display the message if it is not empty. If empty, we can continue to display the We can make changes like this:
We can also optimize further by making use of What alternative solutions did you explore? (Optional) |
Thanks for the proposal @omarnagy91. I think your RCA is a little too generic and the same goes for your proposed solution as well. @rojiphil's proposal looks good to me since it has a clear RCA and a straight forward fix as well. 🎀 👀 🎀 C+ reviewed |
Triggered auto assignment to @francoisl, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
❌ There was an error making the offer to @rojiphil for the Contributor role. The BZ member will need to manually hire the contributor. |
Hm weird, I'll take a look why the automation didn't work. In the meantime, can you manually invite @rojiphil please @JmillsExpensify? |
@allroundexperts PR is ready for review |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.51-3 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-03-20. 🎊 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:
|
Payment Summary
BugZero Checklist (@JmillsExpensify)
|
I tentatively filled out the payment summary above, though we'll wait for confirmation via the BZ checklist first. |
@allroundexperts Gentle bump to fill the BZ checklist as a reviewer here. |
@rojiphil In the meantime, I've sent you an offer via Upwork. |
Thanks @JmillsExpensify. Accepted the offer |
All paid out. |
Checklist
Regression test steps
Do we 👍 or 👎 ? |
LGTM, regression test issue opened. |
Stepping in to help with payment summary here, we need to pay:
|
$500 approved for @allroundexperts |
@JmillsExpensify, @francoisl, @rojiphil, @allroundexperts Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@JmillsExpensify, @francoisl, @rojiphil, @allroundexperts Still overdue 6 days?! Let's take care of this! |
Everything is done. |
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: v1.4.43-0
Reproducible in staging?: Y
Reproducible in production?: Y
Email or phone of affected tester (no customers): abebemiherat@gmail.com
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause-Internal Team
Slack conversation:
Action Performed:
1, Navigate to any conversation.
2, Write a comment twice if no previous message history.
3, Enter the thread of the second comment and delete the comment within the thread.
Observation: "No active yet" is displayed instead of showing the next comment.
Expected Result:
When deleting a comment inside the thread, the subsequent comment should be displayed instead of "No active yet".
Actual Result:
After deleting a comment within the thread, the Left Hand Navigation (LHN) shows "No active yet" instead of displaying the next comment.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Bug6385361_1708409141658.Screen_Recording_2024-02-19_at_8.37.33_PM.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: