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

Add iPadOs device check to overlay continue button #91

Merged
merged 1 commit into from
Feb 28, 2024
Merged

Conversation

mchoun
Copy link
Contributor

@mchoun mchoun commented Jan 29, 2024

Description

Our overlay currently will check for iOS when the continue message is clicked. If the device is an iOS device, it will display an alert and prompt the user to switch to the tab manually to reactivate the PayPal window.

However, Safari on iOS13 and up on an iPad device will return a user agent that looks like a MacOS desktop user agent and this alert is not displayed.

The proposed solution will cover this edge case and properly display the alert message.

Why are we making these changes? Include references to any related Jira tasks or GitHub Issues

Jira Ticket - LI-30263

Screenshots (if applicable)

Simulator Screenshot - iPad Air (5th generation) - 2024-02-13 at 11 19 06

Dependent Changes (if applicable)

Related PR from krakenjs/belter

Groups who should review (if applicable)

❤️ Thank you!

@mchoun mchoun marked this pull request as ready for review February 15, 2024 22:07
@mchoun mchoun requested a review from a team as a code owner February 15, 2024 22:07
@nbierdeman nbierdeman mentioned this pull request Feb 27, 2024
Copy link

codecov bot commented Feb 27, 2024

Codecov Report

Attention: Patch coverage is 0% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 59.21%. Comparing base (951a575) to head (859552a).

Files Patch % Lines
src/overlay/template.jsx 0.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main      #91   +/-   ##
=======================================
  Coverage   59.21%   59.21%           
=======================================
  Files           7        7           
  Lines         152      152           
  Branches       35       35           
=======================================
  Hits           90       90           
  Misses         52       52           
  Partials       10       10           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@SancSalix SancSalix left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh man so excited to get this in. and thank you for doublechecking on the chrome browser!

@mchoun mchoun merged commit ad3c695 into main Feb 28, 2024
2 of 3 checks passed
@mchoun mchoun deleted the li-30263 branch February 28, 2024 18:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants