Skip to content
This repository has been archived by the owner on Jun 14, 2018. It is now read-only.

New sync state icon design #200

Merged
merged 2 commits into from
Aug 23, 2017
Merged

New sync state icon design #200

merged 2 commits into from
Aug 23, 2017

Conversation

jancborchardt
Copy link
Member

As discussed in #196. Fix #196 #43

states

Please review @MorrisJobke @rullzer @MariusBluem @AndyScherzinger @skjnldsv

For reference, they are compressed as we usually do:

Signed-off-by: Jan-Christoph Borchardt <[email protected]>
@jancborchardt
Copy link
Member Author

@rullzer I put the »states.svg« in there on purpose as overview, also if any future changes are needed. Let me know if it absolutely should be removed, but I’d really prefer if it stays there.

This was referenced Aug 15, 2017
@skjnldsv
Copy link
Member

skjnldsv commented Aug 15, 2017

Holy crap, 163 files?
How are we supposed to review that? X)

NOT SVGO as it leads to data loss

Ahahahha! Good old memories! 😆

@jancborchardt
Copy link
Member Author

Just clone it and look at it in a file manager ;) it's only 3 folders. 7 svgs each and 5 differently sized pngs per icon.

Yes it was a pain to export that and if it wouldn't (hopefully) be a one-time thing I'd have checked how to script it. ;)

@jancborchardt
Copy link
Member Author

Just remembered: @rullzer where can I find the icons which are shown when a file is shared?

@AndyScherzinger
Copy link
Member

PR for Android nextcloud/android#1354 - to be shipped with the upcoming release 🚀

@rullzer
Copy link
Member

rullzer commented Aug 16, 2017

Let me take over this later to make sure everything still builds

@rullzer rullzer self-assigned this Aug 16, 2017
@pixelipo
Copy link

pixelipo commented Aug 17, 2017

@jancborchardt sorry I couldn't join the discussion earlier in #196 (too busy with real life 😉 ).

I have one question: is the "rounded line endings" default for Nextcloud icons now? I'm asking because there is noticable mix of rounded and straight edges. This PR uses different style than existing icons such as checkmark.svg, pause.svg and close.svg, to name a few (hacked into NC files app here for example):

image

I suggest we decide which version to use and stick to it.

P.S. Nextcloud icon ("connecting") seems not to have enough padding on the sides

@pixelipo
Copy link

Nitpicking this PR, I notice weird viewbox values: viewBox="0 0 4.2333331 4.2333334" (should be 0 0 16 16) and unused(?) but defined stroke-width in SVG files.

Also, the all seem to be translated on y-axis: <g transform="translate(0 -292.77)"> - this is a very trivial issue, just gives some strange datapoints overall.

@jancborchardt
Copy link
Member Author

jancborchardt commented Aug 17, 2017

@pixelipo yeah, the plan is to go with the more rounded version as it’s friendlier and it’s easier to notice cause it has less forms/corners.

About the strange values: That is weird – it’s out of Inkscape (with 16*16 document) and then through Scour. :\ Let’s merge so we have the actual files proper, and the »backend« SVG details we can fix in a follow-up, ok?

P.S. Nextcloud icon ("connecting") seems not to have enough padding on the sides

Yeah, that is intentionally since if it would be just 14px width it would be too small, and it’s a circle after all so pixel perfectness is less of an issue.

@pixelipo
Copy link

Here's 2 cleaned up examples - state-error.svg (27% smaller file):
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 16 16"><path d="M 8 0 A 8 8 0 0 0 0 8 A 8 8 0 0 0 8 16 A 8 8 0 0 0 16 8 A 8 8 0 0 0 8 0 z M 4.2636719 3.2636719 A 1 1 0 0 1 4.9824219 3.5664062 L 8 6.5839844 L 11.017578 3.5664062 A 1 1 0 0 1 11.705078 3.2636719 A 1 1 0 0 1 12.431641 4.9804688 L 9.4140625 8 L 12.431641 11.017578 A 1 1 0 1 1 11.017578 12.431641 L 8 9.4140625 L 4.9824219 12.431641 A 1 1 0 1 1 3.5683594 11.017578 L 6.5859375 8 L 3.5683594 4.9804688 A 1 1 0 0 1 4.2636719 3.2636719 z " /></svg>

and state-pause.svg(38% smaller):
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" version="1.1"><path d="M 8 0 C 3.5817 0 0 3.5817 0 8 C 0 12.4183 3.5817 16 8 16 C 12.4183 16 16 12.4183 16 8 C 16 3.5817 12.4183 0 8 0 z M 5.9844 2.968 A 1 1 0 0 1 7 4 L 7 12 A 1 1 0 1 1 5 12 L 5 4 A 1 1 0 0 1 5.9844 2.968 z M 9.9844 2.968 A 1 1 0 0 1 11 4 L 11 12 A 1 1 0 1 1 9 12 L 9 4 A 1 1 0 0 1 9.9844 2.968 z " /></svg>

But I agree, this can be a follow-up. Are SVGs actually used anywhere? I know Gtk supports scalable icons, but I don't know if NC client is.

@jancborchardt
Copy link
Member Author

No it's mainly the sources I think.

@rullzer @pfiff45 ready to merge?

@rullzer
Copy link
Member

rullzer commented Aug 23, 2017

No don't merge as is I need to generate the png files else building fails hard ;)

Signed-off-by: Roeland Jago Douma <[email protected]>
Copy link
Member

@rullzer rullzer left a comment

Choose a reason for hiding this comment

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

Lets do this

@rullzer rullzer merged commit eb3bba6 into master Aug 23, 2017
@rullzer rullzer deleted the icons-redesign branch August 23, 2017 13:06
@jancborchardt
Copy link
Member Author

Thanks @rullzer! :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants