-
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-04-15] [$500] Self - DM - App returns to previous conversation instead of self-DM after leaving self-DM thread #38689
Comments
Triggered auto assignment to @Christinadobrzyn ( |
We think that this bug might be related to #vip-vsp |
@Christinadobrzyn 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 |
ProposalPlease re-state the problem that we are trying to solve in this issue.App returns to previous conversation instead of self-DM after leaving self-DM thread What is the root cause of that problem?we dont consider the self dm when calculating the App/src/libs/actions/Report.ts Lines 2363 to 2379 in 26ab4aa
What changes do you think we should make in order to solve the problem?we need to add POCScreen.Recording.2024-03-20.at.7.23.21.PM.mov |
ProposalPlease re-state the problem that we are trying to solve in this issue.
What is the root cause of that problem?
What changes do you think we should make in order to solve the problem?
What alternative solutions did you explore? (Optional)
|
ProposalPlease re-state the problem that we are trying to solve in this issue.App returns to previous conversation instead of self-DM after leaving self-DM thread What is the root cause of that problem?We have not set App/src/libs/actions/Report.ts Lines 2348 to 2357 in 399077f
What changes do you think we should make in order to solve the problem?When saw other pages which use Lines 85 to 93 in 399077f
App/src/libs/OptionsListUtils.ts Lines 1451 to 1459 in 399077f
App/src/libs/OptionsListUtils.ts Lines 1451 to 1459 in 399077f
So to avoid redundancy of code i propose that we update the shouldReportBeInOptionList function itself to set the default value of includeSelfDM to true , currently it is set to false:Lines 4176 to 4185 in 399077f
Then we remove the redundant part of the code in every component What alternative solutions did you explore? (Optional)N/A |
I can recreate this based on the steps in the OP - I think this can be external and part of vip-vsb |
Job added to Upwork: https://www.upwork.com/jobs/~016b6d3e4e9cf9c054 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @Santhosh-Sellavel ( |
we have some proposals to review when you have a chance @Santhosh-Sellavel! |
@ishpaul777 Can you help here as you were the author of self DM? |
@abzokhattab's proposal looks good and straight-forward! C+ Reviewed |
Triggered auto assignment to @luacmartins, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@luacmartins @Santhosh-Sellavel Should we hide the "Leave" option in case of selfDM? May be it is related to this comment |
Yes for self-dm we should hide leave, not for self-dm thread |
Yeah, I mean that selfDM 's threads. Because, self-DM is the spot for private notes, only current users can access it, and its thread as well. So I think the "leave" or "join" options in self-DM are redundant |
We can invite any users to specific threads. So Leave or Join makes sense to me, I'll let the team decide on it cc: @luacmartins |
Yea, agreed that we should hide those buttons for selfDM threads too. @Santhosh-Sellavel do you need to revise the approved proposal based on this? |
@luacmartins I thought we could invite anyone on the thread related to self-DM but not self-DM itself. Tagging @thienlnam here. |
@abzokhattab what's the ETA for the PR? |
will be ready today thanks @luacmartins for the ping. |
The PR is ready. please have a look and let me know if you have any comments. |
PR is under review |
|
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:
|
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:
|
Payouts due:
Upwork job is here. @Santhosh-Sellavel do we need a regression test for this? |
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:
|
awesome! no regression test is needed. Closing this. Let me know if I missed anything. Payment summary here for @Santhosh-Sellavel payment through NewDot. |
Requested on ND |
$500 approved for @Santhosh-Sellavel |
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.55-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: N/S
Issue reported by: Applause - Internal Team
Action Performed:
Expected Result:
After leaving thread, app will return to self-DM
Actual Result:
After leaving thread, app returns to a previous conversation before self-DM
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6420704_1710951422604.20240321_001108.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: