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

Issue 2910203003: Handling edge cases of new login screen (Closed)

Created:
3 years, 6 months ago by Wenzhao (Colin) Zang
Modified:
3 years, 6 months ago
CC:
chromium-reviews, alemate+watch_chromium.org, achuith+watch_chromium.org, arv+watch_chromium.org, oshima+watch_chromium.org, rkc
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Handling edge cases of new login screen The edge cases include: (1) Adjust drop down menu position to avoid going beyond screen border. (2) Adjust 'Add supervised user' z-index to prevent being blocked by the scroll bar. (3) When hiding bottom empty area, check screen size instead of virtual keyboard status as the latter may not be updated in time. (4) Add animation for switching main pod. (5) Add animation for drop down menu button. (6) Adjust the position and style of sign-in banner. (7) The border of 'more settings' in header bar is adjusted to be square. (8) Adjust scroll bar style to prevent it from occasionally flicking. (9) Add Oobe.clearErrors() in several places, basically error bubbles will be cleared as long as there's user click event, or orientation change, hiding / showing virtual keyboard or user removal. This part is subject to further evaluation. (10) Add outline to avatar. (11) Old codes unrelated to the new design are removed. (12) Add an additional safety check to see if the screen height is large enough for the current pod padding choice, and switch to scrollable container case if it's not large enough. The new login screen is testable after this CL, though the following work is still blocked by not having assets yet: (1) Public session pod. (2) Badges for supervised user, signed-in user, etc. (3) Caps lock icon and smart lock icon. In addition, codes for a very hacky way of testing is added. We may have to remove them in the future but I'd like to keep them for now. BUG=718159 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2910203003 Cr-Commit-Position: refs/heads/master@{#476173} Committed: https://chromium.googlesource.com/chromium/src/+/7cf104a50a7131c2359d7975e7007e9e661e07cd

Patch Set 1 #

Total comments: 13

Patch Set 2 : Address comments #

Patch Set 3 : Adjust animation duration and add small screen handling #

Unified diffs Side-by-side diffs Delta from patch set Stats (+300 lines, -262 lines) Patch
M chrome/browser/resources/chromeos/login/md_header_bar.css View 2 chunks +5 lines, -1 line 0 comments Download
M chrome/browser/resources/chromeos/login/md_header_bar.js View 1 chunk +1 line, -1 line 0 comments Download
M ui/login/account_picker/md_screen_account_picker.css View 1 2 4 chunks +37 lines, -14 lines 0 comments Download
M ui/login/account_picker/md_screen_account_picker.js View 2 chunks +1 line, -9 lines 0 comments Download
M ui/login/account_picker/md_user_pod_row.css View 1 2 8 chunks +31 lines, -25 lines 0 comments Download
M ui/login/account_picker/md_user_pod_row.js View 1 2 30 chunks +223 lines, -211 lines 0 comments Download
M ui/login/account_picker/md_user_pod_template.html View 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 23 (14 generated)
Wenzhao (Colin) Zang
alemate@(for owner review), jdufault@, please take a look. Thanks so much.
3 years, 6 months ago (2017-05-31 01:16:35 UTC) #10
jdufault
https://codereview.chromium.org/2910203003/diff/1/ui/login/account_picker/md_user_pod_row.css File ui/login/account_picker/md_user_pod_row.css (right): https://codereview.chromium.org/2910203003/diff/1/ui/login/account_picker/md_user_pod_row.css#newcode35 ui/login/account_picker/md_user_pod_row.css:35: transition: all 360ms; Is this from spec? This seems ...
3 years, 6 months ago (2017-05-31 17:13:21 UTC) #11
Wenzhao (Colin) Zang
https://codereview.chromium.org/2910203003/diff/1/ui/login/account_picker/md_user_pod_row.css File ui/login/account_picker/md_user_pod_row.css (right): https://codereview.chromium.org/2910203003/diff/1/ui/login/account_picker/md_user_pod_row.css#newcode35 ui/login/account_picker/md_user_pod_row.css:35: transition: all 360ms; On 2017/05/31 17:13:21, jdufault wrote: > ...
3 years, 6 months ago (2017-05-31 18:50:16 UTC) #12
jdufault
lgtm https://codereview.chromium.org/2910203003/diff/1/ui/login/account_picker/md_user_pod_row.js File ui/login/account_picker/md_user_pod_row.js (right): https://codereview.chromium.org/2910203003/diff/1/ui/login/account_picker/md_user_pod_row.js#newcode3555 ui/login/account_picker/md_user_pod_row.js:3555: // is reduced properly, the size of the ...
3 years, 6 months ago (2017-05-31 19:02:36 UTC) #13
Wenzhao (Colin) Zang
On 2017/05/31 19:02:36, jdufault wrote: > lgtm > > https://codereview.chromium.org/2910203003/diff/1/ui/login/account_picker/md_user_pod_row.js > File ui/login/account_picker/md_user_pod_row.js (right): > ...
3 years, 6 months ago (2017-05-31 20:08:59 UTC) #14
Wenzhao (Colin) Zang
1) Update the animation duration to 300 ms after syncing with UX. 2) Add an ...
3 years, 6 months ago (2017-05-31 23:17:01 UTC) #16
Alexander Alekseev
lgtm
3 years, 6 months ago (2017-06-01 00:14:29 UTC) #17
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/2910203003/40001
3 years, 6 months ago (2017-06-01 00:18:03 UTC) #20
commit-bot: I haz the power
3 years, 6 months ago (2017-06-01 03:31:15 UTC) #23
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/7cf104a50a7131c2359d7975e700...

Powered by Google App Engine
This is Rietveld 408576698