Skip to content

chore: display warning on deprecated <splash> tag usage#1451

Merged
erisu merged 2 commits intoapache:masterfrom
erisu:chore/warn-for-deprecated-tag
Jun 30, 2022
Merged

chore: display warning on deprecated <splash> tag usage#1451
erisu merged 2 commits intoapache:masterfrom
erisu:chore/warn-for-deprecated-tag

Conversation

@erisu
Copy link
Copy Markdown
Member

@erisu erisu commented Jun 30, 2022

Motivation and Context

Users may still use old tag.

Description

Display a warning to migate to the new preference tag when <splash> tag is used.

This only checks for slash tags in platform[name="android as global tags could still be used in other platforms.

Testing

cordova build

Checklist

  • I've run the tests to see all new and existing tests pass
  • I added automated test coverage as appropriate for this change
  • Commit is prefixed with (platform) if this change only applies to one platform (e.g. (android))
  • If this Pull Request resolves an issue, I linked to the issue in the text above (and used the correct keyword to close issues using keywords)
  • I've updated the documentation if necessary

@erisu erisu added this to the 11.0.0 milestone Jun 30, 2022
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Jun 30, 2022

Codecov Report

❌ Patch coverage is 25.00000% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 72.41%. Comparing base (606e9c4) to head (f68faa7).
⚠️ Report is 168 commits behind head on master.

Files with missing lines Patch % Lines
lib/prepare.js 25.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1451      +/-   ##
==========================================
- Coverage   72.52%   72.41%   -0.11%     
==========================================
  Files          21       21              
  Lines        1740     1744       +4     
==========================================
+ Hits         1262     1263       +1     
- Misses        478      481       +3     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Copy Markdown
Member

@NiklasMerz NiklasMerz left a comment

Choose a reason for hiding this comment

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

This works.

Looks like I get these warnings twice but I think this is ok

grafik

@erisu erisu merged commit 273d1bd into apache:master Jun 30, 2022
@erisu erisu deleted the chore/warn-for-deprecated-tag branch June 30, 2022 11:00
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.

3 participants