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

fix: make IPhone version above 14.7 browsers allowed for Vaadin #11821

Merged
merged 4 commits into from
Sep 14, 2021

Conversation

denis-anisimov
Copy link
Contributor

@denis-anisimov denis-anisimov commented Sep 13, 2021

Fixes #11654

Description

Please list all relevant dependencies in this section and provide summary of the change, motivation and context.

Fixes # (issue)

Type of change

  • Bugfix
  • Feature

Checklist

  • I have read the contribution guide: https://vaadin.com/docs/latest/guide/contributing/overview/
  • I have added a description following the guideline.
  • The issue is created in the corresponding repository and I have referenced it.
  • I have added tests to ensure my change is effective and works as intended.
  • New and existing tests are passing locally with my change.
  • I have performed self-review and corrected misspellings.

Additional for Feature type of change

  • Enhancement / new feature was discussed in a corresponding GitHub issue and Acceptance Criteria were created.

@@ -56,6 +56,8 @@
private boolean isIPhone;
private boolean isChromeOS;

private boolean isIPhone14_7OrHigher;
Copy link

Choose a reason for hiding this comment

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

UnusedVariable: The field 'isIPhone14_7OrHigher' is never read.
(at-me in a reply with help or ignore)

Copy link
Contributor

@caalador caalador left a comment

Choose a reason for hiding this comment

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

Would be more explicit on the app that the test string is for.

caalador
caalador previously approved these changes Sep 14, 2021
Copy link
Contributor

@caalador caalador left a comment

Choose a reason for hiding this comment

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

Probably needs merge from master to get the error pattern fixed for the failing test.

@denis-anisimov
Copy link
Contributor Author

Probably needs merge from master to get the error pattern fixed for the failing test.

right...

@vaadin-bot
Copy link
Collaborator

SonarQube analysis reported 2 issues

  1. MAJOR BrowserDetails.java#L600: Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed. rule
  2. MINOR BrowserDetails.java#L614: Replace this if-then-else statement by a single return statement. rule

@vaadin-bot
Copy link
Collaborator

Hi @denis-anisimov and @caalador, when i performed cherry-pick to this commit to 2.7, i have encountered the following issue. Can you take a look and pick it manually?
Error Message:
Error: Command failed: git cherry-pick a561e5e
error: could not apply a561e5e... fix: make IPhone version above 14.7 browsers allowed for Vaadin (#11821)
hint: after resolving the conflicts, mark the corrected paths
hint: with 'git add ' or 'git rm '
hint: and commit the result with 'git commit'

@vaadin-bot
Copy link
Collaborator

Hi @denis-anisimov and @caalador, when i performed cherry-pick to this commit to 2.6, i have encountered the following issue. Can you take a look and pick it manually?
Error Message:
Error: Command failed: git cherry-pick a561e5e
error: could not apply a561e5e... fix: make IPhone version above 14.7 browsers allowed for Vaadin (#11821)
hint: after resolving the conflicts, mark the corrected paths
hint: with 'git add ' or 'git rm '
hint: and commit the result with 'git commit'

@vaadin-bot
Copy link
Collaborator

This ticket/PR has been released with platform 22.0.0.alpha4 and is also targeting the upcoming stable 22.0.0 version.

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

Successfully merging this pull request may close these issues.

Google app on iOS shows "browser too old" for Vaadin apps
4 participants