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

feat(icon): support for iOS splash screens #308

Merged
merged 10 commits into from
Aug 13, 2020
Merged

Conversation

dvarnai
Copy link
Contributor

@dvarnai dvarnai commented Jul 30, 2020

Hi,

This pull request adds support to automatically generate splash screens for IOS devices (#101 ) as the current implementation doesn't work as it's ignored by IOS.

The changes might not be structured in the nicest way so feel free to let me know what you think and I'll refactor it.

Best regards,
Daniel

@RubenVanEldik
Copy link

I was just looking for this! @dvarnai Awesome that you made a pull request. Hopefully it will be merged soon. :)

Copy link

@RubenVanEldik RubenVanEldik left a comment

Choose a reason for hiding this comment

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

Hi @dvarnai! I loved your PR! But I thought I could make it a bit more maintainable. Would love to know what you think about it!

lib/icon/module.js Outdated Show resolved Hide resolved
lib/icon/module.js Outdated Show resolved Hide resolved
lib/icon/module.js Outdated Show resolved Hide resolved
lib/icon/module.js Outdated Show resolved Hide resolved
lib/icon/resize.js Outdated Show resolved Hide resolved
lib/icon/resize.js Outdated Show resolved Hide resolved
lib/meta/module.js Outdated Show resolved Hide resolved
@dvarnai
Copy link
Contributor Author

dvarnai commented Aug 1, 2020

@RubenVanEldik cheers! great idea!

@pi0 pi0 changed the base branch from dev to master August 13, 2020 13:51
@pi0 pi0 changed the title Add support for IOS splash screens feat(icon): support for iOS splash screens Aug 13, 2020
@codecov
Copy link

codecov bot commented Aug 13, 2020

Codecov Report

Merging #308 into master will increase coverage by 1.13%.
The diff coverage is 85.41%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #308      +/-   ##
==========================================
+ Coverage   84.37%   85.51%   +1.13%     
==========================================
  Files          10       10              
  Lines         320      352      +32     
  Branches      103      107       +4     
==========================================
+ Hits          270      301      +31     
- Misses         46       47       +1     
  Partials        4        4              
Impacted Files Coverage Δ
lib/icon/resize.js 0.00% <0.00%> (ø)
lib/manifest/module.js 91.42% <ø> (ø)
lib/utils/index.js 89.28% <83.33%> (-4.47%) ⬇️
lib/icon/module.js 94.25% <100.00%> (+0.66%) ⬆️
lib/meta/module.js 81.90% <100.00%> (+4.82%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5a64908...ff2880f. Read the comment docs.

Copy link
Member

@pi0 pi0 left a comment

Choose a reason for hiding this comment

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

Thanks for the PR @dvarnai

@pi0
Copy link
Member

pi0 commented Aug 13, 2020

@dvarnai I've made some refactors. Would be also nice if later on you could help on adding some docs.

@pi0 pi0 merged commit f4eeda7 into nuxt-community:master Aug 13, 2020
[1668, 2224, 'ipadpro10'], // Ipad Pro 10.5"
[2048, 2732, 'ipadpro12'], // Ipad Pro 12.9"
[640, 1136, 'iphonese'], // Iphone SE
[50, 1334, 'iphone6'], // Iphone 6
Copy link

@adambullmer adambullmer Mar 9, 2021

Choose a reason for hiding this comment

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

Is the iphone 6 splash screen suppose to be 50 px wide? Might need to be 750

Copy link

Choose a reason for hiding this comment

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

definitely is 750 x 1334

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.

None yet

5 participants