-
Notifications
You must be signed in to change notification settings - Fork 687
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
Fixes #4791 shows png files instead of SVG in source index #4845
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #4845 +/- ##
===========================================
+ Coverage 77.53% 81.74% +4.21%
===========================================
Files 49 49
Lines 3418 3418
Branches 392 392
===========================================
+ Hits 2650 2794 +144
+ Misses 669 533 -136
+ Partials 99 91 -8
Continue to review full report at Codecov.
|
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.
Do we still reference the old svg's elsewhere? If not (it seems like they aren't referenced elsewhere), perhaps we could delete them and their associated AppArmor rules.
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.
Tested against staging VMs, source interface renders correctly using PNGs for the changed icons.
waiting on response to @emkll before merging.
We should at least keep the svgs as source file for the png files. And, I think we should remove the AppArmor rules as you suggested. |
@emkll ping for bringing it back to view :) |
It looks like the svg files that are no longer used are still whitelisted by AppArmor in this PR - can you update that prior to merge @kushaldas? |
Adds 3 png files and also updates the source index tempate to use the PNG files. Removes the unused svg files of the same PNG files.
7e4b2ba
to
e396d11
Compare
hmm lint is failing but the failure looks unrelated to this diff - want to rebase on latest? |
The motivating issue appears to have been resolved upstream. We can still pick up this PR (it may be wise to default to PNG to avoid future issues like this), but note that
|
Closing out this year+-old PR, @kushaldas feel free to reopen if you want to pick this up again. |
Status
Ready for review
Description of Changes
Fixes #4791
Adds 3 png files and also updates the source index tempate to use
the png files.
Testing
Deployment
Any special considerations for deployment? Consider both:
Checklist
If you made changes to the server application code:
make lint
) and tests (make -C securedrop test
) pass in the development containerIf you made changes to
securedrop-admin
:make -C admin test
) pass in the admin development containerIf you made changes to the system configuration:
If you made non-trivial code changes:
If you made changes to documentation:
make docs-lint
) passed locally