New issue
Advanced search Search tips

Issue 608940 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Feb 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 1
Type: Bug

Blocking:
issue 671375



Sign in to add a comment

Reset settings banner appears at top of page in sub-pages, breaking the full-page effect

Project Member Reported by michae...@chromium.org, May 3 2016

Issue description

See screenshot.

1. Should the banner be shown when navigating to a sub-page?
2. If so, how do we reposition or resize the expanded card?
 
Screenshot from 2016-05-03 16:19:45.png
74.9 KB View Download
Cc: bettes@chromium.org
Cc: dpa...@chromium.org
Owner: bettes@chromium.org
Current implementation is intentionally following what the old Options banner did (always shown at the top).

Re-assigning to @bettes.
Status: Assigned (was: Untriaged)
A couple options:
1) If we want to keep this treatment of the banner, it should be covered by a sub-page.
2) If it cannot be covered at all for security/other reasons, alternatively the warning could appear as a toast in the bottom left or a full-page-width banner above/below the app bar.
Labels: Hotlist-MD-Settings-General

Comment 5 by bettes@chromium.org, Aug 12 2016

Re: comment 3, 

If the urgency of this banner is of the most critical, meaning that chrome settings isn't functional, then this banner should be a modal dialog. 

If the urgency is low, meaning that chrome settings is still functional, then this banner should be converted to a toast. 

https://elements.polymer-project.org/elements/paper-toast?view=demo:demo/index.html&active=paper-toast

In either case, we should not be using the banner motif anymore. 
Cc: michae...@chromium.org
Owner: dpa...@chromium.org

Comment 7 by dpa...@chromium.org, Nov 10 2016

Cc: dbeam@chromium.org
@dbeam: Should this be a dev blocker? Also who is a good person to answer the question about "urgency" of this prompt from previous comment? Converting it to a dialog sounds reasonable to me.

Comment 8 by dbeam@chromium.org, Nov 10 2016

Cc: tbuck...@chromium.org
tbuckley@ or bettes@ probably would know how urgent this is
Dialog sounds right to me as well. I wouldn't say it is a dev blocker because:
1) It is very visible today (if not the best looking), so it gets the message across
2) It should (hopefully) be a rare case
Dialog should be using the same template as all others with the buttons:

CANCEL | RESET ALL SETTINGS
Blocking: 671375
Labels: -Pri-2 Pri-1
Status: Started (was: Assigned)
@tbuckley: Can you provide the string for the title of the dialog?

Also note that the "RESET ALL SETTINGS" button forwards the user to the reset profile dialog (see screencast). Just mentioning this in case you think that this text needs tweaking too.
banner_dialog.mp4
267 KB View Download
Owner: bettes@chromium.org
Dan had concerns about turning this into a modal dialog. This could be annoying to users, compared to the previous UI which could be simply ignored.

So per my understanding, we are faced with the following constraints.
1) Don't block the user on this UI.
2) Need a UI that is visible at all times (even when in a subpage), but without
   breaking how subpages look like, or breaking subpage in/out animations.

My suggestion is to use a infobar at the bottom. Sending this to bettes@ for further consideration.
Owner: dbeam@chromium.org
I want to push more on the modal dialog because it's opinionated, absolute, and doesn't introduce any new outlier patterns. 

None of us seem to have a good idea of how confident and urgent this warning is, so unless Dan can provide some numbers, I think we should continue with the modal dialog. 

I'll assign this to Dan for the time being, and I will work to getting better strings. (Thanks for highlighting the interaction dpapad@)

Comment 15 by dbeam@chromium.org, Jan 18 2017

Cc: -dbeam@chromium.org
Owner: dpa...@chromium.org
I volunteer brave dpapad@ to do some git blame archaeology and try to figure out who to ask about confidence.  if we're confident, modal dialog SGTM
Cc: robertshield@chromium.org
Done some research and found the original bug  issue 340803 .

+robertshield: Please see discussion above, along with questions about the urgency of this banner. The debate is whether this UI should be kept as a banner or converted to a modal dialog, for the new Material Design settings. 
From dbeam: just do it (TM)

More info: just make it a dialog.
Cc: privard@chromium.org alito@chromium.org
Apologies, I missed dpapad@'s first query. 

The infobar is there to let the curious user who ventures into their settings know that Chrome had reset something that got tampered with. A dialog accomplishes this as well, though at the time we deemed infobars to be more appropriate for "thing you probably want to know, but don't have to take action on if you don't want to".

One minor edge case is that some users might get this multiple times if malware on their system is constantly tampering with settings. This happen to very few users (malware has mostly adapted) but for those few that it does happen to, visiting settings might be annoying if it were a dialog.

In terms of how confident we are: very - the infobar appeared as a result of Chrome clearing a setting.
In terms of how urgent this is: we deemed it important enough to let the user know what happened if they visit chrome://settings, but not important enough to bother them with if they didn't.

In the end I defer to whichever approach you are most comfortable with and is most maintainable.

Thanks for the explanation.
Thanks for the explanation, Robert. 

If there are no objections, I'd like to move forward with the modal dialog given the high level of confidence and low frequency. This particular situation doesn't warrant new UI paradigms IMO.

dpapad@, feel free to reach out if there's anything else left unresolved. 

@bettes: Please see questions at comment 12 providing missing string for the dialog's title.
FYI: I just addressed a similar issue here:

https://codereview.chromium.org/2687643004/

My solution was to hide the banner when hasExpandedSection_ is true.

(In this case we really do want an infobar, although there is still an open request for an official mock)

It might be worth considering making a similar quick fix and lowering this to a P2?

@stenenjb: I have already implemented this(see comment#12 screencast). Just waiting on bettes/tbuckley to provide missing strings.
@dpapad, when is this dialog shown? Have some/all settings already been reset, or are we suggesting that users reset them? From #18 it sounds like this dialog is only shown when all settings have already been reset by Chrome.

If that's the case, we should change the dialog title "Settings reset" and only have a "Done" button.

If we are in fact prompting users to actually reset settings, let's make the title "Reset settings".
@tbuckley: The dialog is shown when SOME of the settings have been reset. Besides informing the user that this happened, it also offers the user the option to reset ALL SETTINGS. Removing the "ALL" from "Remove all settings" seems confusing to me.

Either way, please refer to the video at comment #12. Clicking on "reset all settings" brings up a 2nd dialog, with the title "Reset". So I think we need to make a distinction between the 1st and 2nd dialogs, and the proposed flow

1st dialog title "Reset settings" -> 2nd dialog "Reset"
does not make it clear which dialog does what.

How about the following?
 - 1st dialog title "Some settings were reset" -> 2nd dialog title "Reset"
 - 1st dialog's buttons [OK] [RESET ALL SETTINGS]

The proposal in #25 works for me.
Status: Fixed (was: Started)

Sign in to add a comment