-
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
[$250] Web - Thread - Noting happen when clicking "Join thread" button unless returning to inbox again #52472
Comments
Triggered auto assignment to @stephanieelliott ( |
Edited by proposal-police: This proposal was edited at 2024-11-13 13:06:19 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.Web - Thread - Noting happen when clicking "Join thread" button unless returning to inbox again What is the root cause of that problem?We are unnecessarily displaying join option for report actions that are not parent of a chat thread
and when we press the join button openReport is called with new child report id here App/src/libs/actions/Report.ts Line 1871 in 4d9be4e
so when we navigate back to the inbox it will be opened as the last accessed report What changes do you think we should make in order to solve the problem?We should only show join option on a report action if there is a chat thread associated with that report action that the user can join into (otherwise the join button will be a duplicate of reply in thread, there only difference being reply in thread opens the child report ). So we should check if the report action has a
We won't need the else condition here App/src/libs/actions/Report.ts Line 1852 in 4d9be4e
What alternative solutions did you explore? (Optional) |
Edited by proposal-police: This proposal was edited at 2024-11-19 08:56:27 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue."Join thread" option navigating to "reply in thread" page after navigating to other bottom navigations like Search or Setting and returning back to inbox What is the root cause of that problem?
The difference is here, if
Lines 1762 to 1768 in b1c1a4b
App/src/libs/actions/Report.ts Line 1843 in b1c1a4b
What changes do you think we should make in order to solve the problem?In this function, we should navigate to the thread if we create a new report
App/src/libs/actions/Report.ts Line 1874 in b1c1a4b
What alternative solutions did you explore? (Optional)
https://github.com/Expensify/App/blob/b1c1a4b53746f6e9ba0a7853faaf42695ca4c067/src/pages/home/report/ContextMen And update the
|
Agree this seems buggy, adding labels. |
Job added to Upwork: https://www.upwork.com/jobs/~021858763130278701100 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @parasharrajat ( |
Both of the proposals lack clear explanations.
Apart from this, the expected behavior here should be that the user does not navigate to the thread in any way. Please update your proposals for it. Ref: #27994 |
@parasharrajat I updated my alternative solution. |
@parasharrajat I have tried to make it more readable based on your suggestion. Can you check it again? Thx |
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: v9.0.61-0
Reproducible in staging?: Y
Reproducible in production?: Y
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause Internal Team
Action Performed:
Expected Result:
The "Join Thread" option should navigate to thread immediately or not navigating at all unless clicking "reply in thread"
Actual Result:
"Join thread" option navigating to "reply in thread" page after navigating to other bottom navigations like Search or Setting and returning back to inbox
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6663491_1731486430970.bandicam_2024-11-13_11-14-04-868.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @parasharrajatThe text was updated successfully, but these errors were encountered: