Skip to content

[HOLD for payment 2023-08-08] [$1000] Dev: Web - Can't click plus button after leaving a room #23881

Closed

Description

@kbecciv

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Action Performed:

  1. Login with any account.
  2. Create a new room.
  3. Leave the room.
  4. Click on plus button

Expected Result:

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

Screen.Recording.2023-07-30.at.09.03.39.mov

Expensify/Expensify Issue URL:
Issue reported by: @hungvu193
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1690682725357069

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~017df576fd65e43186
  • Upwork Job ID: 1686101709086126080
  • Last Price Increase: 2023-07-31

Activity

  1. added
    DeployBlockerCash
    Needs Reproduction
    on Jul 30, 2023
  2. OSBotify commented on Jul 30, 2023

    @OSBotify
    Contributor

    👋 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:

    1. Identify the pull request that introduced this issue and revert it.
    2. Find someone who can quickly fix the issue.
    3. Fix the issue yourself.
  3. melvin-bot commented on Jul 30, 2023

    @melvin-bot

    Triggered auto assignment to @luacmartins (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

  4. getusha commented on Jul 30, 2023

    @getusha
    Contributor

    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 NoDropZone component, has a full screen width and prevents any events from passing to the LHN.

    it will be rendered together based on the routes here:

    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.

  5. added
    Daily
    and removed
    Hourly
    on Jul 30, 2023
  6. b4s36t4 commented on Jul 30, 2023

    @b4s36t4
    Contributor

    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.

    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

    function navigateToConciergeChat() {
    and here as well
    action: () => Report.leaveRoom(props.report.reportID),
    .

    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

    if (route.name === NAVIGATORS.RIGHT_MODAL_NAVIGATOR) {
    component to the RHN assuming it's still no closed.

    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

    function navigateToConciergeChat() {

    to dismiss the modal before navigating any further to CONCIERGE report.

    What alternative solutions did you explore? (Optional)

    NA

  7. allroundexperts commented on Jul 31, 2023

    @allroundexperts
    Contributor

    We have a PR for this ready for review.

  8. Beamanator commented on Jul 31, 2023

    @Beamanator
    Contributor

    I couldn't reproduce this exact issue, so closing

  9. removed
    DeployBlockerCash
    on Jul 31, 2023
  10. 47 remaining items

  11. Beamanator commented on Aug 9, 2023

    @Beamanator
    Contributor

    @allroundexperts mind taking care of the checklist here? 🙏

  12. allroundexperts commented on Aug 11, 2023

    @allroundexperts
    Contributor

    On it now!

  13. allroundexperts commented on Aug 11, 2023

    @allroundexperts
    Contributor

    Checklist

    1. Migrate DragNDrop #23589
    2. 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.
  14. allroundexperts commented on Aug 11, 2023

    @allroundexperts
    Contributor

    @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?

    That's correct @joekaufmanexpensify!

  15. joekaufmanexpensify commented on Aug 11, 2023

    @joekaufmanexpensify
    Contributor

    Thanks! BZ checklist is complete.

  16. joekaufmanexpensify commented on Aug 11, 2023

    @joekaufmanexpensify
    Contributor

    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!

  17. hungvu193 commented on Aug 11, 2023

    @hungvu193
    Contributor

    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 😄

  18. joekaufmanexpensify commented on Aug 11, 2023

    @joekaufmanexpensify
    Contributor

    Of course!

  19. joekaufmanexpensify commented on Aug 11, 2023

    @joekaufmanexpensify
    Contributor

    @gadhiyamanan offer sent for $250!

  20. gadhiyamanan commented on Aug 11, 2023

    @gadhiyamanan
    Contributor

    @joekaufmanexpensify offer accepted, thanks

  21. joekaufmanexpensify commented on Aug 11, 2023

    @joekaufmanexpensify
    Contributor

    @hungvu193 contract ended with no payment!

  22. joekaufmanexpensify commented on Aug 11, 2023

    @joekaufmanexpensify
    Contributor

    @gadhiyamanan $250 sent and contract ended!

  23. joekaufmanexpensify commented on Aug 11, 2023

    @joekaufmanexpensify
    Contributor

    Upwork job closed.

  24. joekaufmanexpensify commented on Aug 11, 2023

    @joekaufmanexpensify
    Contributor

    Reporting was the only payment needed here. So this is now all set. Thanks everyone!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Awaiting PaymentBugDailyEngineering

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions