-
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
[$500] Threads - 'n replies' appears under parent message in thread and it leads to not here page #32485
Comments
Job added to Upwork: https://www.upwork.com/jobs/~0127edd78e0e28e371 |
Triggered auto assignment to @conorpendergrast ( |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @allroundexperts ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Inside a thread, the initial report action has a replies counter increased, which leads to nowhere. What is the root cause of that problem?This is a BE issue: when executing OpenReport on clicking "Reply in thread" for the first time, the childReportID of the parent {
"onyxMethod": "merge",
"key": "reportActions_6248612838888226",
"value": {
"3456415368628704237": {
"childReportID": "7502146048786021",
"childType": "chat"
}
}
} However, when the API response comes, for some reason it contains the following command that removes the childReportID: {
"key": "reportActions_6248612838888226",
"onyxMethod": "merge",
"value": {
"3456415368628704237": {
"childReportID": null
}
}
} This results in App/src/pages/home/report/ReportActionItem.js Line 487 in dad6391
What changes do you think we should make in order to solve the problem?The BE should not remove the parent action item's What alternative solutions did you explore? (Optional) |
📣 @postonsundays! 📣
|
Seems like recent regression from backend |
ProposalPlease re-state the problem that we are trying to solve in this issue.The "n replies" button redirects to a broken view when the user sends a reply inside a reply view. What is the root cause of that problem?
What changes do you think we should make in order to solve the problem?Rather than setting The What alternative solutions did you explore? (Optional)Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job. |
ProposalPlease re-state the problem that we are trying to solve in this issue.The "n replies" button redirects to a broken view when the user sends a reply inside a reply view. What is the root cause of that problem?Because What changes do you think we should make in order to solve the problem?When we create reply report and success, we didn't save
Need to add this before failed controller App/src/libs/actions/Report.js Line 623 in 52a6383
What alternative solutions did you explore? (Optional)Screen.Recording.2023-12-06.at.10.24.58.AM.mov |
Seems like it's the same root cause as #32485 (comment) (BE regression). |
ProposalPlease re-state the problem that we are trying to solve in this issue.Thread first chat misses many context menu options when we don't send any message in the thread. What is the root cause of that problem?When we create a thread and don't send any messages, Line 916 in 5a0b7fd
So Lines 3919 to 3923 in 5a0b7fd
What changes do you think we should make in order to solve the problem?
What alternative solutions did you explore? (Optional)BE should return |
Hi, @conorpendergrast @allroundexperts |
@allroundexperts please prioritize this issue, the bug is pretty bad. Thx |
I agree with @paultsimura and @dukenv0307's analysis that something got changed on the backend. We should ideally fix this from the backend but if not, then @dukenv0307's proposal would work just fine! 🎀 👀 🎀 C+ reviewed |
Triggered auto assignment to @Beamanator, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
hi, @allroundexperts how about my proposal? I think that is main problem. |
I think this is not backend issue. And my proposal fix several issues. @allroundexperts Screen.Recording.2023-12-08.at.8.06.15.AM.mov |
Hi @yh-0218! Reason why I did not choose your proposal was that I wasn't able to find the pattern of setting success data with values other than |
https://github.com/Expensify/Web-Expensify/pull/40080 is in staging |
Tested on staging and wasn't able to reproduce (was only a few tests though) |
Yes, now the API response returns a valid |
@Beamanator @conorpendergrast @allroundexperts @aldo-expensify 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! |
PR https://github.com/Expensify/Web-Expensify/pull/40080 hit production yesterday |
Tested in production, the bug is not there anymore. |
Updated app this morn then noticed. |
Since it is present since you log in, it is not related to onyx updates sent through the pusher... it probably has a different cause |
@Beamanator @conorpendergrast @allroundexperts @aldo-expensify this issue is now 3 weeks old. There is one more week left before this issue breaks WAQ. What needs to happen to get a PR in review this week? Please create a thread in #expensify-open-source to discuss. Thanks! |
@Beamanator, @conorpendergrast, @allroundexperts, @aldo-expensify Whoops! This issue is 2 days overdue. Let's get this updated quick! |
We don't know if the issue at hand is |
@conorpendergrast @allroundexperts @aldo-expensify this issue is now 4 weeks old and preventing us from maintaining WAQ. This should now be your highest priority. Please post below what your plan is to get a PR in review ASAP. Thanks! |
Pretty sure this is fixed, I'm unable to reproduce so I'm closing. Comment/reopen if you disagree |
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.8-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:
In Step 5, there should be no 'n replies' under the parent message in thread
Actual Result:
In Step 5, there is 'n replies' under the parent message in thread. The 'n replies' link leads to not here page
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6301740_1701776763006.bandicam_2023-12-05_15-22-50-354.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: