You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
MEDIUM: [$500] After leaving a workspace room, the room is still in the chat view after closing the Concierge chat #33521
BugSomething is broken. Auto assigns a BugZero manager.ExternalAdded to denote the issue can be worked on by a contributorReviewingHas a PR in reviewWeeklyKSv2
changed the title [-]After leaving a workspace room, the room is still in the chat view after closing the Concierge chat[/-][+][$500] After leaving a workspace room, the room is still in the chat view after closing the Concierge chat[/+]on Dec 22, 2023
but the route for the room is still in navigation state so when we navigate back it will navigate to it
What changes do you think we should make in order to solve the problem?
We need to delete the room route from the navigation state route so that when we navigate back it will not navigate to it by navigate with action type REPLACE
What alternative solutions did you explore? (Optional)
This is the same approach as we did here for other cases of navigating to Concierge from the report screen due to leaving room, leaving thread, ... so I prefer it.
What alternative solutions did you explore? (Optional)
We can call navigate here with FORCED_UP navigation type
Only FORCED_UP will work, UP as suggested in the above proposal will not work for case of navigating to another report, as expected here (then after I posted my proposal, that proposal was modified to change to navigate with action type REPLACE, this can be validated by checking the proposal edit timeline)
@FitseTLT@dukenv0307 Thanks for your proposals. The main proposal from @dukenv0307 looks good to me. If I recall correctly, it's the current recommended way to pop out the current route.
📣 @dukenv0307 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app!
Offer link Upwork job
Please accept the offer and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review 🧑💻
Keep in mind: Code of Conduct | Contributing 📖
BugSomething is broken. Auto assigns a BugZero manager.ExternalAdded to denote the issue can be worked on by a contributorReviewingHas a PR in reviewWeeklyKSv2
Activity
melvin-bot commentedon Dec 22, 2023
Triggered auto assignment to @isabelastisser (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.melvin-bot commentedon Dec 22, 2023
Bug0 Triage Checklist (Main S/O)
Platformsin OP are ✅)[-]After leaving a workspace room, the room is still in the chat view after closing the Concierge chat[/-][+][$500] After leaving a workspace room, the room is still in the chat view after closing the Concierge chat[/+]melvin-bot commentedon Dec 22, 2023
Job added to Upwork: https://www.upwork.com/jobs/~011ad515ee3bf6c0e8
melvin-bot commentedon Dec 22, 2023
Triggered auto assignment to Contributor-plus team member for initial proposal review - @hoangzinh (
External)FitseTLT commentedon Dec 22, 2023
Proposal
Please re-state the problem that we are trying to solve in this issue.
After leaving a workspace room, the room is still in the chat view after closing the Concierge chat
What is the root cause of that problem?
Currently we are navigating to concierge chat when we leave room here
App/src/libs/actions/Report.ts
Lines 2110 to 2115 in 862b0ea
but the route for the room is still in navigation state so when we navigate back it will navigate to it
What changes do you think we should make in order to solve the problem?
We need to delete the room route from the navigation state route so that when we navigate back it will not navigate to it by navigate with action type
REPLACEWhat alternative solutions did you explore? (Optional)
dukenv0307 commentedon Dec 22, 2023
Proposal
Please re-state the problem that we are trying to solve in this issue.
If you close it and the workspace room will be still there
What is the root cause of that problem?
In here, we're just pushing the Concierge route onto the current route, so when coming back from Concierge, it will come back to the room.
What changes do you think we should make in order to solve the problem?
In here, we should call
Navigation.goBackto pop the current route first before navigating to Concierge.This is the same approach as we did here for other cases of navigating to Concierge from the report screen due to leaving room, leaving thread, ... so I prefer it.
What alternative solutions did you explore? (Optional)
We can call navigate here with
FORCED_UPnavigation typeOnly
FORCED_UPwill work,UPas suggested in the above proposal will not work for case of navigating to another report, as expected here (then after I posted my proposal, that proposal was modified to change tonavigate with action type REPLACE, this can be validated by checking the proposal edit timeline)hoangzinh commentedon Dec 25, 2023
@FitseTLT @dukenv0307 Thanks for your proposals. The main proposal from @dukenv0307 looks good to me. If I recall correctly, it's the current recommended way to pop out the current route.
Link to @dukenv0307's proposal: #33521 (comment)
🎀👀🎀 C+ reviewed
melvin-bot commentedon Dec 25, 2023
Triggered auto assignment to @youssef-lr, see https://stackoverflow.com/c/expensify/questions/7972 for more details.
8 remaining items
melvin-bot commentedon Dec 28, 2023
📣 @hoangzinh 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app!
Offer link
Upwork job
melvin-bot commentedon Dec 28, 2023
📣 @dukenv0307 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app!
Offer link
Upwork job
Please accept the offer and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review 🧑💻
Keep in mind: Code of Conduct | Contributing 📖
dukenv0307 commentedon Dec 29, 2023
@hoangzinh this PR is ready for review
isabelastisser commentedon Jan 19, 2024
@dukenv0307 @hoangzinh any updates here?
dukenv0307 commentedon Jan 19, 2024
@isabelastisser The PR is deployed to production more than a week ago but bot doesn't update
quinthar commentedon Jan 22, 2024
Has this been paid? Can we close this issue?
isabelastisser commentedon Jan 22, 2024
Payment summary:
@dukenv0307 Contributor $500 paid in Upwork.
@hoangzinh C+ $500 offer sent in Upwork. Please accept it, and I will process the payment. Thanks!
hoangzinh commentedon Jan 22, 2024
Accepted. Thanks @isabelastisser