Expensify / App

Welcome to New Expensify: a complete re-imagination of financial collaboration, centered around chat. Help us build the next generation of Expensify by sharing feedback and contributing to the code.
https://new.expensify.com
MIT License
3.57k stars 2.92k forks source link

[HOLD for payment 2024-11-21] [$100] mWeb - Inbox - The "Focus" popup can´t be closed by tapping outside of it. #51432

Open lanitochka17 opened 1 month ago

lanitochka17 commented 1 month ago

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: 9.0.53-0 Reproducible in staging?: Y Reproducible in production?: Y If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: N/A If this was caught during regression testing, add the test name, ID and link from TestRail: N/A Issue reported by: Applause - Internal Team

Action Performed:

  1. In an account with "Focus" mode enabled, change the mode to "Most Recent"
  2. Log out of the account
  3. Log in again to the same account
  4. Verify if the "Focus Mode" popup is displayed
  5. Verify if the popup can be closed by tapping outside of it

Expected Result:

The user should be able to close the "Focus Mode" popup by tapping on the screen outside of it

Actual Result:

When the "Focus" popup is displayed, the user can´t close it by tapping on the screen outside the popup

Workaround:

Unknown

Platforms:

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

Screenshots/Videos

Add any screenshot/video evidence

https://github.com/user-attachments/assets/ee5f81b6-539c-46a2-9db1-5e1d34990897

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021851098193336540822
  • Upwork Job ID: 1851098193336540822
  • Last Price Increase: 2024-10-29
  • Automatic offers:
    • situchan | Reviewer | 104668615
    • ChavdaSachin | Contributor | 104668616
Issue OwnerCurrent Issue Owner: @VictoriaExpensify
melvin-bot[bot] commented 1 month ago

Triggered auto assignment to @VictoriaExpensify (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

lanitochka17 commented 1 month ago

@VictoriaExpensify FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

neonbhai commented 1 month ago

Proposal

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

mWeb - Inbox - The "Focus" popup can´t be closed by tapping outside of it

What is the root cause of that problem?

We don't handle the backdrop press in FocusModeNotification.tsx

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

We will add the onBackdropPress prop to FocusModeNotification.tsx here:

onBackdropPress={User.clearFocusModeNotification}
ChavdaSachin commented 1 month ago

Proposal

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

What is the root cause of that problem?

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

What alternative solutions did you explore? (Optional)

Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.

VictoriaExpensify commented 3 weeks ago

Ok I think we should fix this, but it seems like a minor bug so I think we should reduce the bounty a bit. If I'm missing something to do with the complexity, please let me know

melvin-bot[bot] commented 3 weeks ago

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

melvin-bot[bot] commented 3 weeks ago

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

melvin-bot[bot] commented 3 weeks ago

Upwork job price has been updated to $100

situchan commented 3 weeks ago

@ChavdaSachin's proposal looks good to me, considering android back button behavior as meaningful difference. 🎀👀🎀 C+ reviewed

melvin-bot[bot] commented 3 weeks ago

Triggered auto assignment to @cead22, see https://stackoverflow.com/c/expensify/questions/7972 for more details.

melvin-bot[bot] commented 3 weeks ago

📣 @situchan 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app!

Offer link Upwork job

melvin-bot[bot] commented 3 weeks ago

📣 @ChavdaSachin 🎉 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 📖

situchan commented 2 weeks ago

@ChavdaSachin how's it going?

ChavdaSachin commented 2 weeks ago

capturing videos

ChavdaSachin commented 2 weeks ago

While capturing the video for web I faced new issue - navigating back using browser back button does not close focus popover. it is reproducible for web in both staging and production. Have to think a solution for that issue.

Check this video https://github.com/user-attachments/assets/738008d9-8aef-4576-8ccc-3f71252666f9

cc. @situchan

situchan commented 2 weeks ago

@ChavdaSachin I think that's fine. That may require modal page refactor to have a new route if we should fix it so can be out of scope. @cead22 what do you think?

ChavdaSachin commented 2 weeks ago

Yes you are right, it might need refactoring should be out of the scope for this pr. Raising pr in a few minutes....

ChavdaSachin commented 2 weeks ago

PR is up...

ChavdaSachin commented 1 week ago

@cead22 ^pr is approved by c+ for few days, could you take a look

cead22 commented 1 week ago

Looking! For some reason it didn't get automatically assigned to me (maybe it was this https://github.com/Expensify/App/pull/52072#issuecomment-2458015295)

cead22 commented 1 week ago

I merged it

melvin-bot[bot] commented 1 week ago

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

melvin-bot[bot] commented 1 week ago

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

If no regressions arise, payment will be issued on 2024-11-21. :confetti_ball:

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

melvin-bot[bot] commented 1 week ago

@cead22 @VictoriaExpensify @ChavdaSachin / @situchan The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]

VictoriaExpensify commented 4 days ago

BugZero Checklist:

Bug classification Source of bug: - [ ] 1a. Result of the original design (eg. a case wasn't considered) - [ ] 1b. Mistake during implementation - [ ] 1c. Backend bug - [ ] 1z. Other: Where bug was reported: - [ ] 2a. Reported on production - [ ] 2b. Reported on staging (deploy blocker) - [ ] 2c. Reported on both staging and production - [ ] 2d. Reported on a PR - [ ] 2z. Other: Who reported the bug: - [ ] 3a. Expensify user - [ ] 3b. Expensify employee - [ ] 3c. Contributor - [ ] 3d. QA - [ ] 3z. Other:
Regression Test Proposal Template - [ ] **[BugZero Assignee]** Create a GH issue for creating/updating the regression test once above steps have been agreed upon. Link to issue: ## Regression Test Proposal ### Precondition: - ### Test: 1. Do we agree 👍 or 👎
VictoriaExpensify commented 4 days ago

Hey @situchan - can you please complete the checklist and I'll get your payment sorted 😄

VictoriaExpensify commented 4 days ago

Payment Summary Contributor: @ChavdaSachin paid $100 via Upwork

melvin-bot[bot] commented 10 hours ago

@cead22, @VictoriaExpensify, @ChavdaSachin, @situchan Whoops! This issue is 2 days overdue. Let's get this updated quick!