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
[HOLD for payment 2023-08-08] [$1000] Dev: Web - Can't click plus button after leaving a room #23881
User can click plus button and it works as expected (show the context menu).
Actual Result:
User can't click plus button after leaving a room.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Android / native
Android / Chrome
iOS / native
iOS / Safari
MacOS / Chrome / Safari
MacOS / Desktop
Version Number: Dev 1.3.47-5 Reproducible in staging?: n/a Reproducible in production?: n/a 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 Notes/Photos/Videos: Any additional supporting documentation
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open StagingDeployCash deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
Identify the pull request that introduced this issue and revert it.
When we click leave room and navigate to concierge the navigation route will be present, it will just push another new page without removing the Right modal navigator. hence the descriptor will be rendered inside NoDropZone
What changes do you think we should make in order to solve the problem?
To ensure that the NoDropZone component is not rendered when navigating to concierge, we should close the Right Modal Navigator before leaving. This is because the NoDropZone component only exists within the routes of the Right Modal Navigator. for example: we can just use Navigation.goBack just before leaveRoom.
What alternative solutions did you explore? (Optional)
Change the place where we add NoDropZone wrapper, to put it another suitable place.
Please re-state the problem that we are trying to solve in this issue.
Dev: Web - Can't click plus button after leaving a room
What is the root cause of that problem?
I think this is the regression coming from this PR -> #23528.
It also happens for threads as well, if we leave a thread we can't click anything on LHN menu.
Here we have implemented NoDrop component for RHN, but due the fact we're navigating inside the RHN when deleting a Thread/Room we're just navigating to the CONCIERGE screen here
If we observe the Navigation state we're still having the RHN in the navigation state even though we've been out of the RHN screens and the code here rendering NoDropZone
https://github.com/Expensify/App/pull/23589/files#r1290992254
3 & 4. This was a regression from a PR that I had reviewed and was caught on dev environment (almost immediately after merging). The code did not even hit staging. As such, I don't think that a slack discussion or a regression test is needed here.
@Beamanator@allroundexperts It does look to me the PR here would probably fix the other issue too (which was reported first), but curious if y'all agree?
Okay, we chatted about this internally, and for fairness purposes, we decided @gadhiyamanan should actually receive the reporting bonus here, since they reported a bug with the same root cause, prior to this one being reported.
With that in mind, I'm going to send @gadhiyamanan a $250 reporting bonus offer here.
@hungvu193 I'm going to close your Upwork job, and request a $250 escrow refund for the job (since the $250 won't be paid out). We appreciate you reporting the bug in this issue! But paying out the first reporter for the bug's root cause is the best path forward to ensure a fair standard for how we handle bug reports.
Okay, we chatted about this internally, and for fairness purposes, we decided @gadhiyamanan should actually receive the reporting bonus here, since they reported a bug with the same root cause, prior to this one being reported.
With that in mind, I'm going to send @gadhiyamanan a $250 reporting bonus offer here.
@hungvu193 I'm going to close your Upwork job, and request a $250 escrow refund for the job (since the $250 won't be paid out). We appreciate you reporting the bug in this issue! But paying out the first reporter for the bug's root cause is the best path forward to ensure a fair standard for how we handle bug reports.
Let me know if anyone has any questions!
Thanks for explaining Joe. Please request a refund 😄
Activity
OSBotify commentedon Jul 30, 2023
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open
StagingDeployCashdeploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:melvin-bot commentedon Jul 30, 2023
Triggered auto assignment to @luacmartins (
Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.getusha commentedon Jul 30, 2023
Proposal
Please re-state the problem that we are trying to solve in this issue.
What is the root cause of that problem?
this is a regression from: #23528
the
NoDropZonecomponent, has a full screen width and prevents any events from passing to the LHN.it will be rendered together based on the routes here:
App/src/libs/Navigation/AppNavigator/createResponsiveStackNavigator/ThreePaneView.js
Line 34 in eb02006
When we click leave room and navigate to concierge the navigation route will be present, it will just push another new page without removing the Right modal navigator. hence the descriptor will be rendered inside
NoDropZoneWhat changes do you think we should make in order to solve the problem?
To ensure that the NoDropZone component is not rendered when navigating to concierge, we should close the Right Modal Navigator before leaving. This is because the NoDropZone component only exists within the routes of the Right Modal Navigator. for example: we can just use Navigation.goBack just before leaveRoom.
What alternative solutions did you explore? (Optional)
Change the place where we add
NoDropZonewrapper, to put it another suitable place.b4s36t4 commentedon Jul 30, 2023
Proposal
Please re-state the problem that we are trying to solve in this issue.
Dev: Web - Can't click plus button after leaving a room
What is the root cause of that problem?
I think this is the regression coming from this PR -> #23528.
Here we have implemented NoDrop component for RHN, but due the fact we're navigating inside the RHN when deleting a Thread/Room we're just navigating to the
CONCIERGEscreen hereApp/src/libs/actions/Report.js
Line 1247 in 24ed1be
App/src/pages/ReportDetailsPage.js
Line 121 in 513fed9
If we observe the Navigation state we're still having the RHN in the navigation state even though we've been out of the RHN screens and the code here rendering
NoDropZoneApp/src/libs/Navigation/AppNavigator/createResponsiveStackNavigator/ThreePaneView.js
Line 55 in 24ed1be
What changes do you think we should make in order to solve the problem?
I feel if it's the last screen in RHN we should remove the navigation state from RHN.
For this current issue we can update the function here
App/src/libs/actions/Report.js
Line 1247 in 24ed1be
to dismiss the modal before navigating any further to
CONCIERGEreport.What alternative solutions did you explore? (Optional)
NA
allroundexperts commentedon Jul 31, 2023
We have a PR for this ready for review.
Beamanator commentedon Jul 31, 2023
I couldn't reproduce this exact issue, so closing
47 remaining items
Beamanator commentedon Aug 9, 2023
@allroundexperts mind taking care of the checklist here? 🙏
allroundexperts commentedon Aug 11, 2023
On it now!
allroundexperts commentedon Aug 11, 2023
Checklist
3 & 4. This was a regression from a PR that I had reviewed and was caught on dev environment (almost immediately after merging). The code did not even hit staging. As such, I don't think that a slack discussion or a regression test is needed here.
allroundexperts commentedon Aug 11, 2023
That's correct @joekaufmanexpensify!
joekaufmanexpensify commentedon Aug 11, 2023
Thanks! BZ checklist is complete.
joekaufmanexpensify commentedon Aug 11, 2023
Okay, we chatted about this internally, and for fairness purposes, we decided @gadhiyamanan should actually receive the reporting bonus here, since they reported a bug with the same root cause, prior to this one being reported.
With that in mind, I'm going to send @gadhiyamanan a $250 reporting bonus offer here.
@hungvu193 I'm going to close your Upwork job, and request a $250 escrow refund for the job (since the $250 won't be paid out). We appreciate you reporting the bug in this issue! But paying out the first reporter for the bug's root cause is the best path forward to ensure a fair standard for how we handle bug reports.
Let me know if anyone has any questions!
hungvu193 commentedon Aug 11, 2023
Thanks for explaining Joe. Please request a refund 😄
joekaufmanexpensify commentedon Aug 11, 2023
Of course!
joekaufmanexpensify commentedon Aug 11, 2023
@gadhiyamanan offer sent for $250!
gadhiyamanan commentedon Aug 11, 2023
@joekaufmanexpensify offer accepted, thanks
joekaufmanexpensify commentedon Aug 11, 2023
@hungvu193 contract ended with no payment!
joekaufmanexpensify commentedon Aug 11, 2023
@gadhiyamanan $250 sent and contract ended!
joekaufmanexpensify commentedon Aug 11, 2023
Upwork job closed.
joekaufmanexpensify commentedon Aug 11, 2023
Reporting was the only payment needed here. So this is now all set. Thanks everyone!