Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[HOLD for payment 2024-03-26] [$500] Clicking back from "settings" opens the chat roport correctly but the LHN does not updated in resized window #38058

Closed
1 of 6 tasks
m-natarajan opened this issue Mar 11, 2024 · 15 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. External Added to denote the issue can be worked on by a contributor Weekly KSv2

Comments

@m-natarajan
Copy link

m-natarajan commented Mar 11, 2024

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.50-2
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: @quinthar
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1709954156595959

Action Performed:

  1. Go to any chat on Desktop
  2. Open the inspector (to squish the main pane)
  3. Click Settings
  4. Then click the < button in the main pane settings header

Note that the main pane switches back to your chat
Note that the LHN doesn't switch to show the chat

Expected Result:

Both chat report page and LHN updates correctly

Actual Result:

Note that the main pane switches back to your chat
Note that the LHN doesn't switch to show the chat

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

Recording.2834.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~0102df661b992fc6ab
  • Upwork Job ID: 1768017543522787328
  • Last Price Increase: 2024-03-13
@m-natarajan m-natarajan added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Mar 11, 2024
Copy link

melvin-bot bot commented Mar 11, 2024

Triggered auto assignment to @johncschuster (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

@apeyada
Copy link
Contributor

apeyada commented Mar 11, 2024

Proposal

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

Clicking back from "settings" opens the chat roport correctly but the LHN does not updated in resized window

What is the root cause of that problem?

shouldShowBackButton={isLessThanMediumScreen}

shouldShowBackButton={isLessThanMediumScreen}

Here, the condition of showing back button is wrong. It's true even if it's isMediumScreenWidth

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

Update above conditions to isSmallScreenWidth

@melvin-bot melvin-bot bot added the Overdue label Mar 13, 2024
@johncschuster johncschuster added the External Added to denote the issue can be worked on by a contributor label Mar 13, 2024
Copy link

melvin-bot bot commented Mar 13, 2024

Job added to Upwork: https://www.upwork.com/jobs/~0102df661b992fc6ab

@melvin-bot melvin-bot bot changed the title Clicking back from "settings" opens the chat roport correctly but the LHN does not updated in resized window [$500] Clicking back from "settings" opens the chat roport correctly but the LHN does not updated in resized window Mar 13, 2024
@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Mar 13, 2024
Copy link

melvin-bot bot commented Mar 13, 2024

Triggered auto assignment to Contributor-plus team member for initial proposal review - @Pujan92 (External)

@melvin-bot melvin-bot bot removed the Overdue label Mar 13, 2024
@abzokhattab
Copy link
Contributor

i think this is related to this PR #37525 (comment)

@shubham1206agra
Copy link
Contributor

This is a regression from #37525. It might be intentional.
cc @narefyev91 @rushatgabhane @luacmartins

@Pujan92
Copy link
Contributor

Pujan92 commented Mar 14, 2024

Yes, it is related to #37525 and I don't think it is intentional and seems the condition was updated mistakenly. Let @narefyev91 confirm.

@narefyev91
Copy link
Contributor

Hey - yup making window to break earlier to mobile size - is intentional, but back button can be used at later break point. Will fix that

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Daily KSv2 labels Mar 14, 2024
@Pujan92 Pujan92 removed their assignment Mar 14, 2024
@Pujan92
Copy link
Contributor

Pujan92 commented Mar 14, 2024

@johncschuster Can you plz assign @rushatgabhane here as they are handling the review of the regression fix PR.

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Help Wanted Apply this label when an issue is open to proposals by contributors Weekly KSv2 labels Mar 14, 2024
@melvin-bot melvin-bot bot added the Awaiting Payment Auto-added when associated PR is deployed to production label Mar 19, 2024
@melvin-bot melvin-bot bot changed the title [$500] Clicking back from "settings" opens the chat roport correctly but the LHN does not updated in resized window [HOLD for payment 2024-03-26] [$500] Clicking back from "settings" opens the chat roport correctly but the LHN does not updated in resized window Mar 19, 2024
Copy link

melvin-bot bot commented Mar 19, 2024

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

@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Mar 19, 2024
Copy link

melvin-bot bot commented Mar 19, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.54-4 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-03-26. 🎊

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

Copy link

melvin-bot bot commented Mar 19, 2024

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:

  • [@rushatgabhane] The PR that introduced the bug has been identified. Link to the PR:
  • [@rushatgabhane] 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:
  • [@rushatgabhane] 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:
  • [@rushatgabhane] Determine if we should create a regression test for this bug.
  • [@rushatgabhane] 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.
  • [@johncschuster] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

@johncschuster
Copy link
Contributor

Payment Summary:

C+: @rushatgabhane - $500 to be paid via Manual Request

@rushatgabhane
Copy link
Member

rushatgabhane commented Mar 26, 2024

  1. The PR that introduced the bug has been identified. Link to the PR: Invite user to workspace via invite link #37525

  2. 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: https://github.com/Expensify/App/pull/37525/files#r1540046598

  3. 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: N.A.

  4. Determine if we should create a regression test for this bug. No

  5. 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 - N.A.

@JmillsExpensify
Copy link

$500 approved for @rushatgabhane based on summary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. External Added to denote the issue can be worked on by a contributor Weekly KSv2
Projects
None yet
Development

No branches or pull requests

10 participants