-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Theming: Generate different favicon sizes #6460
Conversation
2fa2785
to
90c0f8f
Compare
Codecov Report
@@ Coverage Diff @@
## master #6460 +/- ##
============================================
+ Coverage 50.72% 50.73% +<.01%
- Complexity 24478 24479 +1
============================================
Files 1581 1581
Lines 93578 93596 +18
Branches 1359 1359
============================================
+ Hits 47471 47484 +13
- Misses 46107 46112 +5
|
90c0f8f
to
3fc0e36
Compare
4c5b87b
to
70d4137
Compare
Tests are also fixed now. Please review @nextcloud/theming @nickvergessen |
bump ... please review @nextcloud/theming |
How can we test this? :) |
@skjnldsv You need imagemagick enabled in your webserver setup. Then the endpoint http://localhost/index.php/apps/theming/favicon/core should return an ico file with different sizes. |
|
I did, but I only get one picture. 32x32 |
@skjnldsv I think most browsers/image viewers will show only a single image. Opening in gimp should show up the different sizes as single layers. |
Can you change the color and try it again? I guess we need to trigger the regeneration when updating. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perfect!
I like it and it works here, but somehow postgres fails hard:
|
…browser fixes #5193 Signed-off-by: Julius Haertl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
d8ab686
to
7a812aa
Compare
@MorrisJobke Tests run fine locally. I rebased and pushed again. Let's see if that one still fails. |
@MorrisJobke Postgres 10 is still not supported: #5930 |
This should avoid resizing done by browsers and will fix #5193
Signed-off-by: Julius Haertl jus@bitgrid.net
@nextcloud/theming