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

Connection status indicators on host list could be replaced with Material icons #217

Closed
wp9015362 opened this issue Sep 17, 2015 · 18 comments · Fixed by #233
Closed

Connection status indicators on host list could be replaced with Material icons #217

wp9015362 opened this issue Sep 17, 2015 · 18 comments · Fixed by #233
Labels

Comments

@wp9015362
Copy link

Hello,

similar to what @rhansby suggested in #207 and fixed with #216, the connection status indicators on the host list (the green and red circles next to the hostnames) could also be replaced with Material icons.

This would then also fix #202.

For the connected status, the following Material icons could be used:
ic_phonelink
or:
ic_cast_connected
or:
ic_wifi

For the disconnected status, the following Material icons could be used:
ic_phonelink_off
or:
ic_cast
or:
ic_signal_wifi_off

Regards

@khorimoto-zz
Copy link
Collaborator

I agree material icons would be nice, but I'm not sure the ones provided are actually good to use since they already have other implications (e.g., Chromecast, Wi-Fi, etc). Any other icon ideas?

@wp9015362
Copy link
Author

@khorimoto :

Some more ideas:

Connected status:

ic_leak_add
or:
ic_play_circle_filled
or:
ic_play_circle_outline
or:
ic_play_arrow

Disconnected status:

ic_leak_remove
or:
ic_pause_circle_filled
or:
ic_pause_circle_outline
or:
ic_pause
or:
ic_stop

Regards

@khorimoto-zz
Copy link
Collaborator

What about this:

Green ic_check_circle for connected.

Red ic_remove_circle for disconnected.

@wp9015362
Copy link
Author

@khorimoto :

No offence, but, personally, I do not like those icons for this purpose.

I also think colors should be avoided for the Material icons.

Actually, there is a specific Google Material Icons Guide, see:

https://google.github.io/material-design-icons/

And regarding colors it says:

https://google.github.io/material-design-icons/

Coloring

[...] In accordance with material design icon guidelines, for active icons we recommend using either black at 54% opacity or white at 100% opacity when displaying these on light or dark backgrounds, respectively. If an icon is disabled or inactive, using black at 26% or white at 30% for light and dark backgrounds, respectively. [...]

Here is the part from the Google Material Design System Icons Guideline which the Google Material Icons Guide is referring to:

https://www.google.com/design/spec/style/icons.html#icons-system-icons

Color

[...] The standard opacity for an active icon on a light background is 54% (#000000). An inactive icon, which is lower in the visual hierarchy, should have an opacity of 26% (#000000).

The standard opacity for an active icon on a dark background is 100% (#FFFFFF). An inactive icon, which is lower in the visual hierarchy, should have an opacity of 30% (#FFFFFF). [...]

So, as far as I can tell from reading this, colors other than black and white are not recommended for Material icons.

I also haven't seen any other app that uses Material icons in colors other than black and white.

So, I'd say ConnectBot shouldn't do that either.

After having read those guidelines mentioned above, I think a much better idea would be to use just one icon instead of two and make this one icon display as active for the connected status and inactive for the disconnected status (by adjusting the opacity as mentioned in the guidelines above).

I guess from all the Material icons which are currently available, the "ic_leak_add" Material icon would probably be the best for this.

How about you?

Regards

@khorimoto-zz
Copy link
Collaborator

Ah - thanks for pointing out the rules about colors.

Hmm, I still don't think the ic_leak_add icon looks good. I wonder if we could create our own icons.

@wp9015362
Copy link
Author

@khorimoto wrote:

Hmm, I still don't think the ic_leak_add icon looks good.

And what do you think about the idea to use just one icon and display it as either active (when connected) or inactive (when disconnected) by adjusting the opacity?

@khorimoto wrote:

I wonder if we could create our own icons.

A quick Google search came up with the following website, which apparently has some additional "Material" icons "from the community", see:

https://materialdesignicons.com/

It also has a link to GitHub in the upper right corner which links to the following repository:

https://github.com/Templarian/MaterialDesign

Maybe it has an icon that you like better?

Speaking about what you like:

If you would create your own icon, what would it look like 😉?

Regards

@wp9015362
Copy link
Author

@khorimoto :

There are some icon requests in the repository mentioned above which would probably be related to this issue, see:

Templarian/MaterialDesign#369
Templarian/MaterialDesign#427
Templarian/MaterialDesign#124

I think the icons in Templarian/MaterialDesign#369 (comment) already look quite promising for the ConnectBot host list connection status indicator. How about you?

Regards

@wp9015362
Copy link
Author

@khorimoto :

In Templarian/MaterialDesign#369 I have asked @CoDEmanX for a suggestion.

He kindly came up with this:

Connected:
lan-laptops3
Disconnected:
lan-laptops3-disconnected

What do you think?

Regards

@khorimoto-zz
Copy link
Collaborator

Nice - that one looks good to me. @kruton, @alescdb, @rhansby, @jklein24?

@kruton
Copy link
Member

kruton commented Sep 18, 2015

Why did the monitors get bigger when it disconnected? :) There are three states, though: not yet connected, connected, disconnected. I think I originally intended for disconnected to be an indicator that maybe you were connected but a network event caused the connection to be dropped.

@rhansby
Copy link
Collaborator

rhansby commented Sep 18, 2015

@khorimoto-zz
Copy link
Collaborator

I like connected, but it might be hard to differentiate between not yet
connected and disconnected. But, then again, it's already a little hard to
differentiate between the current icons too :)

On Fri, Sep 18, 2015 at 10:27 AM Ryan Hansberry notifications@github.com
wrote:

what about:

not yet connected: https://www.google.com/design/icons/#ic_not_interested
[image: ic_not_interested_black_36dp]
https://cloud.githubusercontent.com/assets/1788374/9966139/dade1e8a-5def-11e5-9615-239004684dfa.png

connected: https://www.google.com/design/icons/#ic_check_circle

disconnected: https://www.google.com/design/icons/#ic_error


Reply to this email directly or view it on GitHub
#217 (comment)
.

@wp9015362
Copy link
Author

@rhansby :

@khorimoto already suggested those icons in #217 (comment). But, as already mentioned in #217 (comment), I personally do not like those icons for this purpose.

@kruton wrote:

Why did the monitors get bigger when it disconnected? :) There are three states, though: not yet connected, connected, disconnected. I think I originally intended for disconnected to be an indicator that maybe you were connected but a network event caused the connection to be dropped.

Sorry, my mistake, unfortunately I posted the "lan-laptops4" icon at first for the connected icon, even though it should have been the "lan-laptops3" icon. The "lan-laptops3" icon has the same size as the disconnected icon.

Regarding the "not yet connected" (i.e. pending connection) icon:

@CoDEmanX also posted an icon with dotted lines ("lan-laptops2").

So how about this:

Not yet connected:
lan-laptops2
Connected:
lan-laptops3
Disconnected:
lan-laptops3-disconnected

?

Anyway, I have asked @CoDEmanX for yet another suggestion regarding the "not yet connected" icon and I also came up with the idea to use a small clockface in place where the line/cross is in the connected/disconnected icon, see:

Templarian/MaterialDesign#369 (comment)

Besides, I'd say it would make more sense if you would reply in the respective thread (Templarian/MaterialDesign#369) since discussing the same issue among two threads becomes messy.

PS:

For the record, this is the post where he showed the "lan-laptops2" and "lan-laptops3" icons:

Templarian/MaterialDesign#369 (comment)

And this is the post where he showed the "lan-laptops3-disconnected" icon:

Templarian/MaterialDesign#369 (comment)

As you can see, he also posted a link to the the SVG sources.

@Templarian just said that he will include them in the collection tonight, see:

Templarian/MaterialDesign#369 (comment)

Regards

@wp9015362
Copy link
Author

@khorimoto wrote:

I like connected, but it might be hard to differentiate between not yet connected and disconnected.

Well, I really do not like the check circle icon for the connected status, but here is a possible solution for the not yet connected and disconnected discernibility issue and also a rather nice alternative for the connected status, see:

Not yet connected (ic_access_time):
ic_access_time

Connected (ic_swap_vertical_circle):
ic_swap_vertical_circle

Disconnected (ic_highlight_off):
ic_highlight_off

How do you like that @khorimoto / @rhansby ?

Regards

@wp9015362
Copy link
Author

@khorimoto :

He has posted an update, see:

Templarian/MaterialDesign#369 (comment)

You like it?

Regards

@wp9015362
Copy link
Author

@khorimoto :

The icons have now been added to the collection.

Here are two variants, which I think should be used for ConnectBot:

Either this variant:

Pending:
timer-sand
timer-sand
Connected:
ethernet-cable
ethernet-cable
Disconnected:
ethernet-cable-off
ethernet-cable-off

Or alternatively this variant:

Pending:
timer-sand
timer-sand
Connected:
lan-connect
lan-connect
Disconnected:
lan-disconnect
lan-disconnect

Regards

@bengolds
Copy link
Collaborator

rhansby, I'd prefer your choices here. If "disconnected" signals a problem, the "error" exclamation mark is a good match for it. The check circle feels like a great fit here as well.

Also, colorizing the icons is totally acceptable; they even have instructions for doing so here. The existing color scheme is a good fit here and communicates well, which is the main point.

@rhansby
Copy link
Collaborator

rhansby commented Sep 22, 2015

@bengolds thanks for the guidance.

I've created a PR at #233 and I'd appreciate if everyone in this discussion looked over it.

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

Successfully merging a pull request may close this issue.

5 participants