Skip to content

[HOLD for payment 2024-02-09] [$250] Room - Tapping on "Leave" room directed to previously visited page for an second #35579

Closed

Description

@lanitochka17

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.35
Reproducible in staging?: Y
Reproducible in production?: N
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: Applause - Internal Team
Slack conversation:

Action Performed:

  1. Launch app
  2. Tap on any report
  3. Navigate back to LHN
  4. Tap fab---Start chat
  5. Tap room
  6. Enter all required fields
  7. Tap create room
  8. Tap on top right 3 dots and select "Leave" room

Expected Result:

When user leaves room, previously visited page must not be shown for an second and user must be navigated to concierge page

Actual Result:

When user leaves room, previously visited page( in step 2 visited page) shown for an second and then only navigated to concierge page

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

Bug6363866_1706807592795.7h.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~0171a4f0bb95566a69
  • Upwork Job ID: 1753162906835521536
  • Last Price Increase: 2024-02-09
  • Automatic offers:
    • situchan | Reviewer | 28135564
    • dukenv0307 | Contributor | 28135565

Activity

  1. added
    DeployBlockerCash
    on Feb 1, 2024
  2. github-actions commented on Feb 1, 2024

    @github-actions
    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 Feb 1, 2024

    @melvin-bot

    Triggered auto assignment to @bondydaa (Engineering), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.

  4. dukenv0307 commented on Feb 1, 2024

    @dukenv0307
    Contributor

    Proposal

    Please re-state the problem that we are trying to solve in this issue.

    • Room - Tapping on "Leave" room directed to previously visited page for an second

    What is the root cause of that problem?

    • When leaving room, we called leaveRoom with isWorkspaceMemberLeavingWorkspaceRoom param is false. It is because lodashGet(props.report, 'visibility', '') return ""

    What changes do you think we should make in order to solve the problem?

    • We need to pass the visibility to this

    What alternative solutions did you explore? (Optional)

    • NA
  5. situchan commented on Feb 1, 2024

    @situchan
    Contributor

    This is deploy blocker. @dukenv0307 do you know offending PR?

  6. dukenv0307 commented on Feb 1, 2024

    @dukenv0307
    Contributor

    @situchan Maybe this one. We not pass the visibility to the report

  7. situchan commented on Feb 1, 2024

    @situchan
    Contributor

    I am not sure about the expected behavior.
    After adding visibility, it doesn't return to Concierge chat.

  8. dukenv0307 commented on Feb 1, 2024

    @dukenv0307
    Contributor

    @situchan Yes. Based on the issue, we do not return to Concierge chat anymore

  9. bondydaa commented on Feb 1, 2024

    @bondydaa
    Contributor

    cc @mountiny @aimane-chnaif any ideas here since it looks like it might have started from #30168?

  10. bondydaa commented on Feb 1, 2024

    @bondydaa
    Contributor

    sounds like that PR might have introduced a few regressions but nothing too major so we'll just patch them as needed instead of reverting the PR.

    Going to assign you @dukenv0307 and @situchan for everything.

  11. added
    External
    Bug
    on Feb 1, 2024
  12. 24 remaining items

  13. added
    Awaiting Payment
    on Feb 2, 2024
  14. changed the title [-][$500] Room - Tapping on "Leave" room directed to previously visited page for an second[/-] [+][HOLD for payment 2024-02-09] [$500] Room - Tapping on "Leave" room directed to previously visited page for an second[/+] on Feb 2, 2024
  15. removed
    Reviewing
    on Feb 2, 2024
  16. melvin-bot commented on Feb 2, 2024

    @melvin-bot

    Reviewing label has been removed, please complete the "BugZero Checklist".

  17. melvin-bot commented on Feb 2, 2024

    @melvin-bot

    The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.35-7 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

    If no regressions arise, payment will be issued on 2024-02-09. 🎊

    For reference, here are some details about the assignees on this issue:

  18. melvin-bot commented on Feb 2, 2024

    @melvin-bot

    BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:

    • [@situchan] The PR that introduced the bug has been identified. Link to the PR:
    • [@situchan] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
    • [@situchan] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
    • [@situchan] Determine if we should create a regression test for this bug.
    • [@situchan] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
    • [@sakluger] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:
  19. added
    Daily
    and removed
    Weekly
    on Feb 9, 2024
  20. changed the title [-][HOLD for payment 2024-02-09] [$500] Room - Tapping on "Leave" room directed to previously visited page for an second[/-] [+][HOLD for payment 2024-02-09] [$250] Room - Tapping on "Leave" room directed to previously visited page for an second[/+] on Feb 9, 2024
  21. melvin-bot commented on Feb 9, 2024

    @melvin-bot

    Upwork job price has been updated to $250

  22. sakluger commented on Feb 9, 2024

    @sakluger
    Contributor

    Changing the bounty to $250 on @mountiny's suggestion since he confirmed it was the fair price before the PR was merged.

  23. sakluger commented on Feb 9, 2024

    @sakluger
    Contributor

    All paid out!

    @situchan could you please complete the BZ checklist before I close the issue?

  24. situchan commented on Feb 9, 2024

    @situchan
    Contributor

    offending PR: #30168
    Since it was large refactor, this was easily missed.

    As this was deploy blocker, we can skip regression test. QA team caught this during staging regression testing.

  25. sakluger commented on Feb 9, 2024

    @sakluger
    Contributor

    Nice, thanks for that! Closing out 👍

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

Metadata

Metadata

Labels

Awaiting PaymentBugDailyEngineeringExternal

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions