Closed m-natarajan closed 9 months ago
Triggered auto assignment to @isabelastisser (Bug
), see https://stackoverflow.com/c/expensify/questions/14418 for more details.
Platforms
in OP are β
)Job added to Upwork: https://www.upwork.com/jobs/~011ad515ee3bf6c0e8
Triggered auto assignment to Contributor-plus team member for initial proposal review - @hoangzinh (External
)
After leaving a workspace room, the room is still in the chat view after closing the Concierge chat
Currently we are navigating to concierge chat when we leave room here https://github.com/Expensify/App/blob/862b0eac87e969e3c15d2ccde165600a6e40e8fb/src/libs/actions/Report.ts#L2110-L2115 but the route for the room is still in navigation state so when we navigate back it will navigate to it
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
If you close it and the workspace room will be still there
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.
In here, we should call Navigation.goBack
to pop the current route first before navigating to Concierge.
Navigation.goBack(ROUTES.HOME);
Navigation.navigate(ROUTES.REPORT_WITH_ID.getRoute(chat.reportID));
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.
We can call navigate here with FORCED_UP
navigation type
Navigation.navigate(ROUTES.REPORT_WITH_ID.getRoute(chat.reportID), CONST.NAVIGATION.TYPE.FORCED_UP);
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.
Link to @dukenv0307's proposal: https://github.com/Expensify/App/issues/33521#issuecomment-1868033113 πππ C+ reviewed
Triggered auto assignment to @youssef-lr, see https://stackoverflow.com/c/expensify/questions/7972 for more details.
BTW did u guys reproduce the issue? I Couldn't!!
I still reproduce this issue
https://github.com/Expensify/App/assets/129500732/1251a83e-c909-4d4a-8f66-95149b747b28
π£ @hoangzinh π An offer has been automatically sent to your Upwork account for the Reviewer role π Thanks for contributing to the Expensify app!
π£ @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 π
@hoangzinh this PR is ready for review
@dukenv0307 @hoangzinh any updates here?
@isabelastisser The PR is deployed to production more than a week ago but bot doesn't update
Has this been paid? Can we close this issue?
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!
Accepted. Thanks @isabelastisser
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: 1.4.16-3 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: @marcochavezf Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1703192168381059
Action Performed:
Expected Result:
You will see the Concierge chat and when you close it, you should not see the workspace room
Actual Result:
If you close it and the workspace room will be still there
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
https://github.com/Expensify/App/assets/38435837/fcf249f1-6217-41cb-9948-9d070eb3d5a8
https://github.com/Expensify/App/assets/38435837/810fb46b-d71b-4cb7-bf2e-4393b4192e5a
View all open jobs on GitHub
Upwork Automation - Do Not Edit