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 2023-12-15] [$500] mWeb/Safari - IOU - Next button in BNP in Request money and Send money is blocked by address bar #31134

Closed
1 of 6 tasks
izarutskaya opened this issue Nov 9, 2023 · 43 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors

Comments

@izarutskaya
Copy link

izarutskaya commented Nov 9, 2023

If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!


Version Number: v1.3.97-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: Applause-Internal Team
Slack conversation: @

Action Performed:

  1. Navigate to staging.new.expensify.com
  2. Tap + > Request money.
  3. Go back to Home.
  4. Tap + > Send money.

Expected Result:

The Next button in BNP in Request money and Send money page will not be blocked by browser address bar.

Actual Result:

The Next button in BNP in Request money and Send money page is blocked by browser address bar.

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

Bug6270141_1699544225330.RPReplay_Final1699529808.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~019e7d88002f72cbd2
  • Upwork Job ID: 1722641847224213504
  • Last Price Increase: 2023-11-30
@izarutskaya izarutskaya added External Added to denote the issue can be worked on by a contributor Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Nov 9, 2023
@melvin-bot melvin-bot bot changed the title mWeb/Safari - IOU - Next button in BNP in Request money and Send money is blocked by address bar [$500] mWeb/Safari - IOU - Next button in BNP in Request money and Send money is blocked by address bar Nov 9, 2023
Copy link

melvin-bot bot commented Nov 9, 2023

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

Copy link

melvin-bot bot commented Nov 9, 2023

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

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Nov 9, 2023
Copy link

melvin-bot bot commented Nov 9, 2023

Bug0 Triage Checklist (Main S/O)

  • This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
  • This bug is not a duplicate report (check E/App issues and #expensify-bugs)
    • If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead
  • This bug is reproducible using the reproduction steps in the OP. S/O
    • If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
    • If the reproduction steps aren't clear and you determine the correct steps, please update the OP.
  • This issue is filled out as thoroughly and clearly as possible
    • Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.
  • I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

Copy link

melvin-bot bot commented Nov 9, 2023

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

@ishpaul777
Copy link
Contributor

ishpaul777 commented Nov 9, 2023

Proposal

Problem

mWeb/Safari - IOU - Next button in BNP in Request money and Send money is blocked by address bar

Root cause

We have applied initial minHeight in screenwrapper in #30065 for #17866, on Ios safari the banner is added to viewport after minHeight is applied to Screen causeing the button to be overlapped by searchbar

Changes

We should check if browser is mobile safari and add event listener for window resize (it fires when smart banner is renderred verified on staging physical device) though we can not test the solution in dev enviornment as the banner can only be shown in stag/prod enviornment as smart banner we use requires to have set up Universal Linking to show banner ref. here for more info.

Code changes

Screenshot 2023-11-19 at 9 04 40 PM

@melvin-bot melvin-bot bot added the Overdue label Nov 13, 2023
@greg-schroeder
Copy link
Contributor

Awaiting proposal review

@melvin-bot melvin-bot bot removed the Overdue label Nov 13, 2023
@fedirjh
Copy link
Contributor

fedirjh commented Nov 13, 2023

cc @sarious Could you please handle this regression ?

@sarious
Copy link
Contributor

sarious commented Nov 13, 2023

@fedirjh
Well, is it related only for Chrome browser?
Is this "Open in the app" banner created in app or by 3rd party service?

@getusha
Copy link
Contributor

getusha commented Nov 13, 2023

@sarious based on the bug report it's happening on iOS: mWeb Safari

@sarious
Copy link
Contributor

sarious commented Nov 13, 2023

@sarious based on the bug report it's happening on iOS: mWeb Safari

Oh, I see. Just want to reproduce it and understand the origin of this banner. It looks like not the component of app?
I don't see this banner (can not reproduce) on either the local version or the staging version on iOS mWeb Safari.

@sarious
Copy link
Contributor

sarious commented Nov 13, 2023

@ishpaul777 it looks like that banner is not displayed permanently.. I haven't figured out when and how yet.
Maybe it will be difficult to calculate banner height, it looks like managed by 3rd party service.

@sarious
Copy link
Contributor

sarious commented Nov 14, 2023

@izarutskaya could you provide, please, the complete steps to reproduce this issue?
I'm trying to reproduce in simulator iPhone 14 Simulator Version: 16.4. The link: https://staging.new.expensify.com
But I don't see a notification on top of the page about opening the app.

Copy link

melvin-bot bot commented Nov 16, 2023

📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸

@melvin-bot melvin-bot bot added the Overdue label Nov 16, 2023
@greg-schroeder
Copy link
Contributor

@ishpaul777 @izarutskaya any chance you could help answer @sarious's questions above?

@melvin-bot melvin-bot bot removed the Overdue label Nov 16, 2023
@ishpaul777
Copy link
Contributor

ishpaul777 commented Nov 16, 2023

The smart app banner is exclusive to safari mobile only, I think we use a webpack plugin for production and staging builds only, so you might not able reproduce this on simulator, you can try playing with configuration for webpack dev file, it may work but it still requires a physical device to be able to reproduce as far as i can tell, i'll add more details soon (currently i am AFK)

@izarutskaya
Copy link
Author

I can still reproduce it on iPhone 14 Pro Max/iOS16.6.1
Build v1.4.0-3
If I try to change text size on my device the button becomes more visible, but I'm not sure if this will help

Rpreplay.Final1700219381.mp4

@sarious
Copy link
Contributor

sarious commented Nov 17, 2023

The smart app banner is exclusive to safari mobile only, I think we use a webpack plugin for production and staging builds only, so you might not able reproduce this on simulator, you can try playing with configuration for webpack dev file, it may work but it still requires a physical device to be able to reproduce as far as i can tell, i'll add more details soon (currently i am AFK)

Well, thank you for answering! I've been checking on staging environment: staging.new.expensify.com. And it seems it doesn't matter is it physical device or emulator.

@melvin-bot melvin-bot bot added the Overdue label Nov 19, 2023
@getusha
Copy link
Contributor

getusha commented Nov 26, 2023

@sarious you can raise this to expensify-open-source channel, similar issue has been fixed before.

@melvin-bot melvin-bot bot added the Overdue label Nov 29, 2023
@greg-schroeder
Copy link
Contributor

Yes let's start a discussion!

@melvin-bot melvin-bot bot removed the Overdue label Nov 30, 2023
Copy link

melvin-bot bot commented Nov 30, 2023

@greg-schroeder @getusha this issue is now 3 weeks old. There is one more week left before this issue breaks WAQ and will need to go internal. What needs to happen to get a PR in review this week? Please create a thread in #expensify-open-source to discuss. Thanks!

Copy link

melvin-bot bot commented Nov 30, 2023

📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸

Copy link

melvin-bot bot commented Nov 30, 2023

@greg-schroeder @getusha this issue is now 3 weeks old. There is one more week left before this issue breaks WAQ and will need to go internal. What needs to happen to get a PR in review this week? Please create a thread in #expensify-open-source to discuss. Thanks!

1 similar comment
Copy link

melvin-bot bot commented Nov 30, 2023

@greg-schroeder @getusha this issue is now 3 weeks old. There is one more week left before this issue breaks WAQ and will need to go internal. What needs to happen to get a PR in review this week? Please create a thread in #expensify-open-source to discuss. Thanks!

@greg-schroeder
Copy link
Contributor

@sarious were you able to get that discussion rolling or do you need someone to step in?

@melvin-bot melvin-bot bot removed the Overdue label Dec 4, 2023
@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Daily KSv2 labels Dec 5, 2023
@sarious
Copy link
Contributor

sarious commented Dec 5, 2023

@sarious were you able to get that discussion rolling or do you need someone to step in?

It seems @fedirjh has added some fix for Safari browser. It should work.

By the way, I think it would be good to implement a possibility to test "Install/open" banner to prevent future issues. How do I promote this idea so that someone will do it, if it possible at all?

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Dec 8, 2023
@melvin-bot melvin-bot bot changed the title [$500] mWeb/Safari - IOU - Next button in BNP in Request money and Send money is blocked by address bar [HOLD for payment 2023-12-15] [$500] mWeb/Safari - IOU - Next button in BNP in Request money and Send money is blocked by address bar Dec 8, 2023
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Dec 8, 2023
Copy link

melvin-bot bot commented Dec 8, 2023

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

Copy link

melvin-bot bot commented Dec 8, 2023

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.9-5 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 2023-12-15. 🎊

After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.

  • External issue reporter
  • Contributor that fixed the issue
  • Contributor+ that helped on the issue and/or PR

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

  • @getusha requires payment (Needs manual offer from BZ)

Copy link

melvin-bot bot commented Dec 8, 2023

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:

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

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Dec 14, 2023
@greg-schroeder
Copy link
Contributor

Okay so ... actually I think this one wasn't reviewed by @getusha after all, as it was handled alongside several others by @fedirjh and @c3024 here: #32460

Sorry, I withdrew the offer I made by mistake.

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. Daily KSv2 Engineering External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors
Projects
None yet
Development

No branches or pull requests

6 participants