Skip to content

[$4000] mWeb/safari - Menu - "Open app banner" at the top causes spacing issues at the bottom of the browser #8791

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:

Pre-condition: User has the Expensify app installed on their device

  1. Access staging.new.expensify.com
  2. Sign into a valid applause.expensifail.com account
  3. Tap on "Profile" icon on the top right (At this point there should be a banner in the header)
    4 Tap on the "Workspace" to open the navigation links

Expected Result:

The user expects to navigate the menus without any issues

Actual Result:

The spacing that the banner takes up at the top of the screen ends of being compensated at the bottom once the user enters the workspace menus, this causes a visual blank space

Workaround:

Unknown

Platform:

Where is this issue occurring?

  • Mobile Web/safari
  • Web

Version Number: 1.1.57.0

Reproducible in staging?: Yes

Reproducible in production?: No

Email or phone of affected tester (no customers): n/a

Logs: https://stackoverflow.com/c/expensify/questions/4856

Notes/Photos/Videos: Any additional supporting documentation

Bug5548169_Banner_casues_spacing_issues.mp4

Image from iOS (14)

Expensify/Expensify Issue URL:

Issue reported by: Applause

Slack conversation:

View all open jobs on GitHub

Activity

  1. added
    DeployBlockerCash
    on Apr 26, 2022
  2. OSBotify commented on Apr 26, 2022

    @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 Apr 26, 2022

    @melvin-bot

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

  4. removed their assignment
    on Apr 27, 2022
  5. melvin-bot commented on Apr 27, 2022

    @melvin-bot

    Triggered auto assignment to @marcaaron (Demolition), see https://stackoverflow.com/c/expensify/questions/8099 for more details.

  6. cead22 commented on Apr 27, 2022

    @cead22
    Contributor

    I was able to reproduce on staging but not production, so left it as deploy blocker and added Demolition

  7. roryabraham commented on Apr 27, 2022

    @roryabraham
    Contributor

    Just guessing, but #8634 seems like the most likely culprit, followed by #8521

  8. marcaaron commented on Apr 27, 2022

    @marcaaron
    Contributor

    The banner is an iOS Smart App Banner. Not smart enough apparently :trollface:

    That link says it's opt-in, but not seeing where we enabled it...

    What outcome are we looking for here exactly?

  9. marcaaron commented on Apr 27, 2022

    @marcaaron
    Contributor

    I was able to reproduce on staging but not production, so left it as deploy blocker and added Demolition

    I'm not able to repro on dev so I'm removing the Demolition label.

  10. removed their assignment
    on Apr 27, 2022
  11. 161 remaining items

  12. Santhosh-Sellavel commented on Aug 21, 2022

    @Santhosh-Sellavel
    Collaborator

    @AndrewGable

    Does this job qualifies for payment, as proposed solution was implemented but the result was not as we expected though?

    cc: @JmillsExpensify @tgolen

  13. mdneyazahmad commented on Aug 22, 2022

    @mdneyazahmad
    Contributor

    I have been following this issue for a long time and also proposed a solution. In general higher prices issue is not that easy and it takes a quite amount of time to find the root cause and propose a working solution.

    I proposed #8791 (comment) a solution that would have been fixed the issue but it is not that easy to test the solution locally. We had multiple different proposals in past and had created multiple PRs to test the solution and that did not work so reverted.

    @Santhosh-Sellavel has suggested #8791 (comment) to test my proposal and meanwhile he also had a proposal that he tested locally and thought that it will fix the issue. He has been assigned. This PR also does not work as expected and he came know that the same solution as proposed by me will fix the issue and he also suggested to close and the issue is closed.

    @Santhosh-Sellavel your original #8791 (comment) says

    "Conclusion: In our app smart banner is shown only because of deep link integration."

    I think this is not not enough to fix the issue, it just states the banner is there because of the deep link integration and does not explain why there is a gap on the some pages and what are the exact code changes that will be needed to show and not show banner on some changes.

    I would appreciate it, if I also get compensated for the time as I proposed a solution before it was closed and my proposal was never tested.

    cc: @JmillsExpensify @Santhosh-Sellavel

  14. Santhosh-Sellavel commented on Aug 22, 2022

    @Santhosh-Sellavel
    Collaborator

    @mdneyazahmad

    @Santhosh-Sellavel your original #8791 (comment) says

    "Conclusion: In our app smart banner is shown only because of deep link integration."

    I think this is not not enough to fix the issue, it just states the banner is there because of the deep link integration and does not explain why there is a gap on the some pages and what are the exact code changes that will be needed to show and not show banner on some changes.

    In the same comment I have mentioned

    they use the apple-app-site-associations to show without any implementation.

    That's enough to show why the app banner shows on some pages (deep link configured) alone. If not, a couple
    of comments earlier I posted the entire configuration while answering the questions @tgolen here

    We know the root cause of why the banner is shown as detailed by this comment on Jun 21 - #8791 (comment). So it's clear at this point modifying the deep link config alone is enough to show/hide the app banner, yet we are still looking for other options too.

    Indeed your proposal that came on Jul 12 #8791 (comment) was to add workspace path to the config file

    I acknowledged the same in #8791 (comment) and my comment was

    Also, we have a new proposal from @mdneyazahmad this would show "App banner" on the workspace page also.

    Meanwhile, I found the smart banner solution which I proposed here #8791 (comment), got hired, and the rest is clear.

    cc: @AndrewGable @tgolen @JmillsExpensify

  15. tgolen commented on Aug 24, 2022

    @tgolen
    Contributor

    We are discussing this internally to see how to best move forward.

  16. melvin-bot commented on Sep 3, 2022

    @melvin-bot

    ⚠️ Looks like this issue was linked to a possible regression on PRODUCTION here

    If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results.

    If a production regression has occurred a Root Cause Analysis is required. Please follow the instructions here.

    If a regression has occurred and you are the assigned CM follow the instructions here.

    If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future.

  17. mallenexpensify commented on Sep 9, 2022

    @mallenexpensify
    Contributor

    Sorry this took forever. There was a lot of discussion .

    @Santhosh-Sellavel was hired to fix the job. Due to limitations beyond the control of us/Expensify and Santhosh, the bug hasn't been fixed yet. As time has passed working on this issue and we've learned more about the issue and options to fix it, we've decided to close this issue and not move forward with a fix. If @Santhosh-Sellavel would have completely fixed the issue and the bug didn't still persist, we'd compensate the full amount. Since the bug currently persists, we have decided to compensate $2000 for the edge case.

    @mdneyazahmad , unfortunately, you're ineligible for compensation for this issue. At a high level, time invested before an accepted proposal isn't due compensation (Time after neither cuz we've already hired someone who we'll be paying)

    The end result of @Santhosh-Sellavel fixing or not fixing the issue doesn't factor into the fact that their proposal was accepted and that they were hired.

    We appreciate the time you invested, if you think our stance here with this issue isn't aligned with our CONTRIBUTING.md, please comment on this issue and reference the CONTRIBUTING.md where applicable.

    @Santhosh-Sellavel has been paid $2000 in Upwork and their contract ended

  18. JmillsExpensify commented on Nov 11, 2022

    @JmillsExpensify
    Contributor

    I recently reported this bug, after I clearly forgot being part of the discussion originally. So it's still an odd experience to run into despite what we decided. That kind of got me to thinking, why do we have the "open app banner" at the top of the page? We're spending quite a lot of effort to make the app work on all platforms, so it struck me as a bit odd that we would keep pushing the native app on mWeb, really at the expense of the mWeb experience. Maybe we should just remove that banner to begin with.

  19. Santhosh-Sellavel commented on Nov 16, 2022

    @Santhosh-Sellavel
    Collaborator

    why do we have why the "open app banner" at the top of the page?

    Please read this

    Cc: @JmillsExpensify

  20. JmillsExpensify commented on Nov 18, 2022

    @JmillsExpensify
    Contributor

    That doesn't answer my question. I'm asking why we have an app banner at all.

  21. Santhosh-Sellavel commented on Nov 18, 2022

    @Santhosh-Sellavel
    Collaborator

    That's what I am trying to answer, we didn't implement banner. Banner was added automatically by iOS Safari browser based deeplink configuration. Please check in chrome we don't see it there, it shown only safari.

  22. tgolen commented on Nov 18, 2022

    @tgolen
    Contributor

    @JmillsExpensify Yeah, I had asked the exact same questions earlier. @Santhosh-Sellavel is right. This is not something that we control. Because of the deep-linking configuration that we have to upload our app with (to get deep-links to work), Apple will automatically display that banner on any page which can be deep-linked to. It sucks, and we can't control it :(

  23. JmillsExpensify commented on Nov 18, 2022

    @JmillsExpensify
    Contributor

    Oh thanks both. I'm on the same page now, appreciate the more detailed explanations. Keeping this close in any case for now.

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

Metadata

Metadata

Labels

EngineeringExternalWeekly

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions