Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(20)

Issue 2151513002: Revamped signin/sync error surfacing on desktop user menu (Closed)

Created:
4 years, 5 months ago by Jane
Modified:
4 years, 5 months ago
CC:
chromium-reviews, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Revamped signin/sync error surfacing on desktop user menu This is for material design user menu on windows/linux only. Specifically: 1. Created a new UI for error surfacing that sits above the user menu (instead of the current email badging UI); 2. Funneled all signin- and sync-related errors through this UI: unrecoverable errors, auth errors, out-of-date-client error, and passphrase error. See the detailed list of errors and their designed behavior here: https://docs.google.com/document/d/1jEzY44oMWenzJQUIBf1x8dkkqm2PJbYngvQzeXTMkLc/edit#heading=h.o6ftotuznu1h 3. Removed the blue tutorial headers for the user menu because the existing tutorial modes will be either no longer applicable in MD or migrated into another UI, and we are not planning to add new modes. Other useful links: - The error detection logic roughly follows the error surfacing mechanism on the settings page in this function: https://cs.chromium.org/chromium/src/chrome/browser/sync/sync_ui_util.cc?rcl=1468394226&l=151 - Screenshot: https://drive.google.com/a/google.com/file/d/0B7Fvv7JszRyGUGtKaFFRMmxBSG8/view - Mocks: https://folio.googleplex.com/chrome-ux-specs-and-sources/Chrome%20Desktop%20Sign%20In/user_menu#%2Fpreview-3.png (Don't refer to the strings there) - Project design doc: https://docs.google.com/document/d/17yHrKd_EU6WoIAgljnZmNCSJLRlbM3O2Pxr7aPEnqik/edit?ts=57445a70#heading=h.6xrfx2rucezz BUG=615893 Committed: https://crrev.com/8377f1c3a69342cdedf56368e25387d3fcaad2ec Cr-Commit-Position: refs/heads/master@{#406476}

Patch Set 1 #

Total comments: 73

Patch Set 2 : Rebased and addressed comments #

Total comments: 16

Patch Set 3 : More comments and removed multiple inheritance #

Patch Set 4 : Moved a comment around #

Total comments: 14

Patch Set 5 : Nits #

Total comments: 1

Patch Set 6 : Addressed rogerta's last comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+348 lines, -41 lines) Patch
M chrome/app/chromium_strings.grd View 1 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/app/generated_resources.grd View 1 2 1 chunk +27 lines, -0 lines 0 comments Download
M chrome/app/google_chrome_strings.grd View 1 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/profiles/new_avatar_button.h View 1 2 3 4 5 4 chunks +40 lines, -8 lines 0 comments Download
M chrome/browser/ui/views/profiles/new_avatar_button.cc View 1 2 3 4 5 6 chunks +82 lines, -24 lines 0 comments Download
M chrome/browser/ui/views/profiles/profile_chooser_view.h View 1 2 2 chunks +13 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/profiles/profile_chooser_view.cc View 1 2 10 chunks +168 lines, -9 lines 0 comments Download
M chrome/common/url_constants.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/url_constants.cc View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 40 (23 generated)
Jane
Hi Mike, PTAL. Thanks!
4 years, 5 months ago (2016-07-13 15:01:28 UTC) #4
Jane
4 years, 5 months ago (2016-07-13 18:25:52 UTC) #7
Jane
Hi Mike, sorry about the confusion. False alarm - patch #1 is still good, PTAL. ...
4 years, 5 months ago (2016-07-13 19:35:12 UTC) #10
msw
Mostly minor comments. https://codereview.chromium.org/2151513002/diff/1/chrome/app/chromium_strings.grd File chrome/app/chromium_strings.grd (right): https://codereview.chromium.org/2151513002/diff/1/chrome/app/chromium_strings.grd#newcode1115 chrome/app/chromium_strings.grd:1115: Chromium is out of date. It's ...
4 years, 5 months ago (2016-07-13 22:31:39 UTC) #11
Jane
Thanks for the super detailed review! I definitely need to pay more attention to details. ...
4 years, 5 months ago (2016-07-14 00:18:59 UTC) #13
msw
+Roger for managed account question and related account/sync review. (Roger, please pass this along to ...
4 years, 5 months ago (2016-07-14 02:23:34 UTC) #16
Roger Tawa OOO till Jul 10th
Looks good Jane. A few questions below. https://codereview.chromium.org/2151513002/diff/20001/chrome/browser/ui/views/profiles/new_avatar_button.h File chrome/browser/ui/views/profiles/new_avatar_button.h (right): https://codereview.chromium.org/2151513002/diff/20001/chrome/browser/ui/views/profiles/new_avatar_button.h#newcode60 chrome/browser/ui/views/profiles/new_avatar_button.h:60: bool has_sync_error_; ...
4 years, 5 months ago (2016-07-14 14:14:00 UTC) #17
Roger Tawa OOO till Jul 10th
https://codereview.chromium.org/2151513002/diff/20001/chrome/browser/ui/views/profiles/profile_chooser_view.cc File chrome/browser/ui/views/profiles/profile_chooser_view.cc (right): https://codereview.chromium.org/2151513002/diff/20001/chrome/browser/ui/views/profiles/profile_chooser_view.cc#newcode1490 chrome/browser/ui/views/profiles/profile_chooser_view.cc:1490: if (SigninManagerFactory::GetForProfile(browser_->profile()) On 2016/07/14 14:14:00, Roger Tawa wrote: > ...
4 years, 5 months ago (2016-07-14 14:26:21 UTC) #18
Jane
Thanks! https://codereview.chromium.org/2151513002/diff/1/chrome/browser/ui/views/profiles/new_avatar_button.h File chrome/browser/ui/views/profiles/new_avatar_button.h (right): https://codereview.chromium.org/2151513002/diff/1/chrome/browser/ui/views/profiles/new_avatar_button.h#newcode48 chrome/browser/ui/views/profiles/new_avatar_button.h:48: // SigninErrorController::Observer and SyncErrorController::Observer On 2016/07/14 02:23:33, msw ...
4 years, 5 months ago (2016-07-14 15:34:37 UTC) #20
msw
Okay, thanks for reviewing, Roger! Just some minor nits left on my side. https://codereview.chromium.org/2151513002/diff/80001/chrome/browser/ui/views/profiles/new_avatar_button.cc File ...
4 years, 5 months ago (2016-07-14 17:47:53 UTC) #21
Jane
Thanks! https://codereview.chromium.org/2151513002/diff/80001/chrome/browser/ui/views/profiles/new_avatar_button.cc File chrome/browser/ui/views/profiles/new_avatar_button.cc (right): https://codereview.chromium.org/2151513002/diff/80001/chrome/browser/ui/views/profiles/new_avatar_button.cc#newcode170 chrome/browser/ui/views/profiles/new_avatar_button.cc:170: OnErrorChanged(); // This calls Update() On 2016/07/14 17:47:52, ...
4 years, 5 months ago (2016-07-14 17:59:44 UTC) #22
msw
lgtm
4 years, 5 months ago (2016-07-14 18:25:39 UTC) #23
Roger Tawa OOO till Jul 10th
lgtm, one comment below. https://codereview.chromium.org/2151513002/diff/100001/chrome/browser/ui/views/profiles/new_avatar_button.h File chrome/browser/ui/views/profiles/new_avatar_button.h (right): https://codereview.chromium.org/2151513002/diff/100001/chrome/browser/ui/views/profiles/new_avatar_button.h#newcode83 chrome/browser/ui/views/profiles/new_avatar_button.h:83: std::unique_ptr<SyncErrorObserver> sync_error_observer_; I think you ...
4 years, 5 months ago (2016-07-14 18:56:52 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2151513002/120001
4 years, 5 months ago (2016-07-20 03:08:07 UTC) #35
commit-bot: I haz the power
Committed patchset #6 (id:120001)
4 years, 5 months ago (2016-07-20 03:13:24 UTC) #37
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-20 03:13:29 UTC) #38
commit-bot: I haz the power
4 years, 5 months ago (2016-07-20 03:15:17 UTC) #40
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/8377f1c3a69342cdedf56368e25387d3fcaad2ec
Cr-Commit-Position: refs/heads/master@{#406476}

Powered by Google App Engine
This is Rietveld 408576698