-
Notifications
You must be signed in to change notification settings - Fork 804
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
Annotated version of Big Sur icon #4714
Conversation
Kudos, SonarCloud Quality Gate passed! |
@elsiehupp ah, only saw this now as I was not mentioned, sorry! :)
And that should be it, right? Thanks for your help! |
@jancborchardt—No worries about the delay. (This is not urgent.) I created this icon by mocking it up in Affinity Designer and then manually coding it in VS Code using an SVG preview VS Code extension. Affinity Design has... mostly serviceable SVG support, but in particular it rasterizes layer effects, so I had to figure out how to recreate those using SVG tutorials online. The purpose of this particular Pull Request is specifically to annotate the SVG file as it resides in the Nextcloud codebase, but, yes, I can imagine the guide being useful as, say, a Markdown-based tutorial. Could you approve and merge this Pull Request just so that the annotated markup is available to future contributors? I should have included all these annotations in the previous Pull Request (that was merged), but I didn't think to do it at the time. For the Talk icon, you could create an Issue and assign it to me, and I can walk you through adapting it to match this one. (It should be pretty straightforward.) |
The approach I would recommend is adapting this icon (as a template) to the Talk icon, not the other way around. (I can write additional instructions on how to do this.) I recommend using this as the template because of the complexity of all the various layer effects, but also because Inkscape adds a bunch of useless boilerplate clutter, as one would expect from machine-generated markup. Inkscape should probably respect the structure of this document if you open it, but I haven't tested this myself. I guess a way of looking at this is that hand-optimizing the SVG is better for Git comparison than just using the raw Inkscape, Affinity, or Illustrator output—can you imagine using illegible machine-generated C++ code for a merge?!? It's been 9 months since I last read through this SVG document, but IIRC if you literally just read through the raw markup from top to bottom it should kind of make sense? IIRC I was downright absurdly thorough with the annotations. (Again, I can write additional instructions in, like, a Markdown document, but you should be able to get a sense of what's involved by read the annotations.) |
313805f
to
9b1bbc2
Compare
@jancborchardt oh, it looks like you all figured it out!. I was reviewing this Pull Request, and it turned out that the SVG wasn't validating because for some reason the SVG plugin I was using for VS Code was less strict than the SVG parser used by the browser, and the browser SVG parser doesn't like certain types of markup inside comments:
Anyway, could you or someone else in @nextcloud/desktop approve this now that it actually validates? Thanks! |
9b1bbc2
to
bbb0c65
Compare
bbb0c65
to
496d0c1
Compare
496d0c1
to
1a0c314
Compare
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #4714 +/- ##
==========================================
+ Coverage 59.24% 59.26% +0.01%
==========================================
Files 143 143
Lines 18445 18445
==========================================
+ Hits 10928 10931 +3
+ Misses 7517 7514 -3 |
Well, it passed all the checks this time. Anybody willing to approve it? |
Signed-off-by: Elsie Hupp <[email protected]>
1a0c314
to
04d16b7
Compare
Kudos, SonarCloud Quality Gate passed! |
AppImage file: nextcloud-PR-4714-04d16b7824e633b66fbd9fbbed98c615e14e8c2d-x86_64.AppImage |
This is an update to #4631 adding extensive inline annotations and CSS variables in order to make it easier to create alternate versions of the icon with different logos and/or different backgrounds.
The icon should be visually identical to the previous version.
At the beginning of the document, the following text appears in an XML comment: