Ipfs-companion: Redirection toggle in popup menu

Created on 26 Dec 2018  路  17Comments  路  Source: ipfs/ipfs-companion

It would be handy to be able to disable/enable redirection to the gateway quickly from the popup menu, like you can with the global toggle.

Most helpful comment

Cannot be unseen:
2019-02-26--14-54-36

All 17 comments

Hm.. one already can disable redirect via this menu item:

2019-01-08--00-01-09

I agree it is not very intuitive :) Should we rename it to something else?
Or are you suggesting moving it from menu to an icon next to the global toggle?

Yeah that's a bit unintuitive, i'd presume that public gateway simply means it will redirect any page to the public gateway rather than 127.0.0.1:8080.

I would put it next to the global toggle, although i'm not sure what icon to use.

@swedneck does any of these icons fit, or should we design a new one?

cc @olizilla for UX sanity check :)

I can't find any icon there that really feels like it fits..

image
How about something like this?

It could also work to just rename it from "Switch to (custom|public) gateway" to "(Enable|Disable) gateway redirection" and otherwise leave it as is.

Some mockups below. Would appreciate sanity check.

Text-based global redirect toggle

| Enabled | Disabled |
| ---- | ---- |
| on-2019-01-20--17-15-32 | off-2019-01-20--17-15-55 |

Icon-based global redirect toggle

Alone, text may be enough, but we plan to add per-site redirect opt-out (#633) so the icon for global toggle may be a better idea:

| Enabled | Disabled |
| ---- | ---- |
| on-2019-01-20--22-59-30 | 2019-01-20--22-59-51 |

Having that, menu could include a single text toggle for current site:

2019-01-20--23-45-36

Thoughts? Feelings?

All of those look great, the last one looks perfect!

Proposed toggle in action (from PR https://github.com/ipfs-shipyard/ipfs-companion/pull/687#issuecomment-467243819):

redirect

This is a good time to provide feedback (or propose a better glyph) :)

@lidel I can't provide a better glyph right now but I don't thing it looks really good between the other two. The other are kind of circular, big, heavy. On the other hand, the middle one is just a plain icon. I'd, at least, put it into a circle to match the other two.

Cannot be unseen:
2019-02-26--14-54-36

I am ded 馃槶 馃ぃ

For what its worth _the hatboi_ goes away if we add another (lighter) glyph.
If it is something with similar stroke weight, things look more balanced:

We could also move the power button to the end:

2019-02-26--15-16-29

Thoughts?

i miss hatboi.

[redirect] [power] [settings] order wouldmake sense to me. But i think you should give hatboi a chance.

[redirect] [power] [settings]

2019-02-26--15-20-00

After some additional reviews it seems that the icon is causing more confusion than it should, and a regular menu item is more intuitive.

See update in https://github.com/ipfs-shipyard/ipfs-companion/pull/687#issuecomment-469369693

Ready for testing: v2.7.5.748 (Beta)

Was this page helpful?
0 / 5 - 0 ratings