Skip to content

[DISTANCE] [$1000] LOW: mWeb / Safari- i icon and mapbox logo not displayed #27800

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!


Issue found when executing PR #27491

Action Performed:

  1. Launch the app on mWeb safari
  2. Open the global create menu and select Request money
  3. Select the Distance tab if it is not already active

Expected Result:

Toggle attribution (i) icon at the bottom-right of the map and Mapbox logo at the bottom-left of the map displayed to select

Actual Result:

Icon and mapbox icon not displayed. (No issue in chrome mWeb)

Workaround:

Unknown

Platforms:

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

  • Android / native
  • Android / Chrome
  • iOS / native
  • iOS / Safari
  • MacOS / Chrome / Safari
  • MacOS / Desktop

Version Number: 1.3.71-7

Reproducible in staging?: Yes

Reproducible in production?: Yes

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

Notes/Photos/Videos: Any additional supporting documentation

Bug6206495_IMG_7377

Expensify/Expensify Issue URL:

Issue reported by: Applause - Internal Team

Slack conversation:

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~015fbbf81efc9a06b4
  • Upwork Job ID: 1706697994798551040
  • Last Price Increase: 2023-10-19
  • Automatic offers:
    • abdulrahuman5196 | Reviewer | 27464745
    • aswin-s | Contributor | 27464746
Issue OwnerCurrent Issue Owner: @abdulrahuman5196

Activity

  1. added
    BugSomething is broken. Auto assigns a BugZero manager.
    on Sep 19, 2023
  2. melvin-bot commented on Sep 19, 2023

    @melvin-bot

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

  3. melvin-bot commented on Sep 19, 2023

    @melvin-bot

    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
  4. johncschuster commented on Sep 19, 2023

    @johncschuster
    Contributor

    @lanitochka17 for those of us less familiar with this new feature, can you please provide a video example of the incorrect behavior, as well as a video example of the correct behavior? I'd like to see the difference between what you spotted on Safari vs Chrome.

    Thanks!

  5. m-natarajan commented on Sep 19, 2023

    @m-natarajan

    @johncschuster I am attaching the video for reference.

    RPReplay-Final1695160118.MP4
  6. akinwale commented on Sep 20, 2023

    @akinwale
    Contributor

    This seems to be caused by the Smart App banner pushing down the elements, which can only be seen on the staging or production URLs. Still trying to figure out why.

    There's an open PR that fixes a bug that occurs when the map container resizes. I am not sure if that would fix this, but it may be worth a shot to check it out.

    EDIT: The PR is in staging now, but no dice.

  7. akinwale commented on Sep 20, 2023

    @akinwale
    Contributor

    After doing some more digging, it turns out that when the Smart App Banner is displayed, it somehow messes up the z-indexes of the map and its controls, since it triggers a re-render of the map canvas, and the map ends up being rendered over the Mapbox logo and the toggle attribution icon, resulting in the controls being hidden.

    Setting a z-index of -1 for the .mapboxgl-canvas CSS class seems to solve the rendering problem. However, this prevents the map from being interacted with (tap / touch / pan / zoom operations stop working).

  8. melvin-bot commented on Sep 25, 2023

    @melvin-bot

    @johncschuster, @lanitochka17 Huh... This is 4 days overdue. Who can take care of this?

  9. johncschuster commented on Sep 26, 2023

    @johncschuster
    Contributor

    Thanks for posting that video, @m-natarajan! That was very helpful!

  10. added
    ExternalAdded to denote the issue can be worked on by a contributor
    on Sep 26, 2023
  11. 88 remaining items

  12. abdulrahuman5196 commented on Nov 17, 2023

    @abdulrahuman5196
    Contributor

    The PR that introduced the bug has been identified. Link to the PR:
    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:
    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:

    Not a regression. Issue present as part of the mapbox implementation.

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

    Yes.

    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.

    1. Open NewExpensify on Safari mWeb
    2. Open Request Money page from global navigation
    3. Open 'Distance' tab
    4. Wait for the map to load
    5. Verify that the MapBox logo and the information icon is shown at the bottom edge of the map

    @johncschuster
    Seems melvin bot didn't update here automatically. Seems the issue is in payment due for today - #30673 (comment)

  13. abdulrahuman5196 commented on Nov 22, 2023

    @abdulrahuman5196
    Contributor

    @johncschuster Gentle ping on payment as mentioned above.

  14. aswin-s commented on Nov 28, 2023

    @aswin-s
    Contributor

    @johncschuster @dylanexpensify Gentle reminder on the payment.

  15. johncschuster commented on Nov 30, 2023

    @johncschuster
    Contributor

    Thanks for the bump! I'll get payment issued shortly!

  16. aswin-s commented on Dec 9, 2023

    @aswin-s
    Contributor
  17. johncschuster commented on Dec 12, 2023

    @johncschuster
    Contributor

    Sorry team! I let this slip. Payment has now been issued!

  18. johncschuster commented on Dec 12, 2023

    @johncschuster
    Contributor

    I'll leave this open for me so I can get the regression steps

  19. melvin-bot commented on Dec 18, 2023

    @melvin-bot

    This issue has not been updated in over 15 days. @johncschuster, @aswin-s, @abdulrahuman5196, @lanitochka17, @aldo-expensify eroding to Monthly issue.

    P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do!

  20. moved this from Release 5: Best in Class to Done in [#whatsnext] Wave 05 - Deprecate Freeon Jan 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

BugSomething is broken. Auto assigns a BugZero manager.DistanceWave5-free-submittersEngineeringExternalAdded to denote the issue can be worked on by a contributorMonthlyKSv2ReviewingHas a PR in review

Type

No type

Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions