uProxy-p2p icon indicating copy to clipboard operation
uProxy-p2p copied to clipboard

Better UI for proxy failure

Open lucyhe opened this issue 12 years ago • 20 comments

This builds from an earlier issue: https://github.com/uProxy/uproxy/issues/249. Even if we notify the user that they disconnected and ask that they confirm undoing the proxy, there are still other issues:

  • Should we give them the option to leave the proxy settings as is? (Their browser would not be usable.)
  • What should we do if they close the tab that asks them to undo the proxy?
  • Should the extension UI have an indicator for the current proxy settings? Should there be an alert if the proxy settings are set but the user is not connected to any friends?

lucyhe avatar Nov 05 '14 23:11 lucyhe

I agree with @bemasc , the options should be "Use default connection" and "Close my tabs and use default connection". Allowing the user to "leave the proxy settings as is" doesn't make sense because the browser will be completely broken, including social networks within uProxy (see https://github.com/uProxy/uproxy/issues/552).

I think it would be good to add these same 2 options to the uProxy UI, and also change the uProxy button icon (in the browser toolbar) to indicate some error. If they close our confirmation tab, they will still hopefully notice this icon and open uProxy.

dborkan avatar Nov 06 '14 00:11 dborkan

Is the proxy setting in Chrome persistent? During a normal uproxy session with proxy setting enabled through uProxy, user's browser crashed or machine out of power, will proxy setting be remembered when browser is restarted again?

quantsword avatar Nov 12 '14 21:11 quantsword

Talking to @lucyhe, we currently have:

  • A tab pops up if the proxying shuts down without affirmative action from the local user
  • The browser state is set to a "broken proxy" state, so all network connections fail.
  • The user has a button in the pop-up tab to revert network settings to unproxied.

Notes:

  • The button is generally a bad idea to press. The tabs are likely sensitive, or unworkable in the non-proxying state. If the tab contents were neither, why were they using uProxy?
  • The user can close the tab. That leaves them with no controls to reset their network connectivity.
    • The tab doesn't come back.
    • Question: Unless they choose someone else to proxy through?
  • The extension's pop-up may/should show a similar control. But that requires some UX considerations.

mollyling avatar Nov 24 '14 21:11 mollyling

@zahoriea, we have a simple tab that pops up, but it's a little minimalistic. Should we arrange a discussion?

mollyling avatar Nov 24 '14 22:11 mollyling

A brief discussion would be great just so that I can better understand context. Are you available to come to the uProxy UI sync on 12/4 at 1pm? Otherwise, feel free to ping me and I would be happy to talk through!

zahoriea avatar Nov 24 '14 22:11 zahoriea

Yeah, happily!

mollyling avatar Nov 25 '14 21:11 mollyling

Updating the issue: @zahoriea put together some great mocks.

  • Put a description and action buttons at the bottom of the uproxy pop-up
    1. First, suggest reconnecting
    2. If that doesn't work, either let the user get help (jump to FAQ) or continue browsing un-proxied.
  • Perhaps move the tab to a toast?

mollyling avatar Dec 11 '14 15:12 mollyling

Renamed to get rid of dangerous as it's now just unusable in such situations.

iislucas avatar Dec 17 '14 21:12 iislucas

An update on where we're at: right now if proxying breaks (on Chrome, should be done on Firefox soon), we launch a tab that warns the user that their proxy has been disconnected, and asks the user to confirm.

This tab doesn't look much like the rest of the uProxy UI. I think we should either restyle this tab to look like uProxy (green material design buttons, etc), or launch the uProxy popup and show this info/confirmation there (this is an option now that we've moved to using a "toast" in Chrome)

dborkan avatar Jan 29 '15 17:01 dborkan

@dborkan Can you attach screenshots to the current state? Thanks!

zahoriea avatar Feb 10 '15 17:02 zahoriea

image

And then after confirming: image

lucyhe avatar Feb 10 '15 21:02 lucyhe

Here are updated failure screens. Would love peoples' feedback, especially @gwpenn on language! uproxy failure

Next, I'll work on an error treatment for the uProxy UI itself

zahoriea avatar Feb 11 '15 19:02 zahoriea

awesome!

iislucas avatar Feb 11 '15 20:02 iislucas

Here is a first stab at treatment for the UI, and in context. As always, feedback welcome! connectionfailed

zahoriea avatar Feb 11 '15 23:02 zahoriea

nice! Nit on wording: maybe something more specific like "Failed to get access" ? (connection failed is a little abstract in my mind)

iislucas avatar Feb 11 '15 23:02 iislucas

Looks great. I think we should do this in 2 parts:

  1. restyle the current tab
  2. update the popup UI

#1 I think is a must-have to start closed-beta testing, #2 isn't a must-have for closed-beta but I think we should have it for public launch

On Wed Feb 11 2015 at 5:14:42 PM iislucas [email protected] wrote:

nice! Nit on wording: maybe something more specific like "Failed to get access" ? (connection failed is a little abstract in my mind)

— Reply to this email directly or view it on GitHub https://github.com/uProxy/uproxy/issues/553#issuecomment-73985992.

dborkan avatar Feb 13 '15 00:02 dborkan

I'll do the restyling of the current tab

dborkan avatar Feb 13 '15 17:02 dborkan

failed is a bad word, its sounds like it was our fault, can we say dropped instead, it sounds more like it's a network problem.

it's like when engineers say there is a bug.

salomegeo avatar Feb 17 '15 20:02 salomegeo

+1, similarly if "start getting access" doesn't work we should word it to not look like uProxy's fault

On Tue, Feb 17, 2015, 14:27 salomegeo [email protected] wrote:

failed is a bad word, its sounds like it was our fault, can we say dropped instead, it sounds more like it's a network problem.

it's like when engineers say there is a bug.

— Reply to this email directly or view it on GitHub https://github.com/uProxy/uproxy/issues/553#issuecomment-74746012.

dborkan avatar Feb 18 '15 23:02 dborkan

Done for Chrome in https://github.com/uProxy/uproxy/pull/991. I'm closing this issue now, but we still have https://github.com/uProxy/uproxy/issues/249 remaining to put this error screen in Firefox

dborkan avatar Feb 26 '15 16:02 dborkan