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

Issue 2926003002: Refresh UI of public session pods for new login screen (Closed)

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

Description

Refresh UI of public session pods for new login screen Main differences with the old implementation are: 1) There're two types of click events on public session pods: switching between large and small pods, and pod expansion / collapse. It's observed that a single click event may be handled twice by two different click handlers. We have to disallow click event handling by handlers other than the public session pod itself. 2) When the pod is expanded, all other elements in the account picker must be hidden. If there's a window resize event when it's expanded, we can either place pods behind the scene or postpone placement until the pod collapses. The former method is used, because postponing pod placement may further complicate things. A known issue not covered: the resetTabOrder() function needs to be modified. BUG=718159 Review-Url: https://codereview.chromium.org/2926003002 Cr-Commit-Position: refs/heads/master@{#478013} Committed: https://chromium.googlesource.com/chromium/src/+/12ab698854b581200db8cc4a68f75bd99e38f0c8

Patch Set 1 #

Total comments: 4

Patch Set 2 : Address comments and make minor changes on positioning #

Total comments: 2

Patch Set 3 : Removed getter and setter of lastPosition #

Unified diffs Side-by-side diffs Delta from patch set Stats (+323 lines, -247 lines) Patch
M ui/login/account_picker/md_user_pod_row.css View 1 2 14 chunks +114 lines, -116 lines 0 comments Download
M ui/login/account_picker/md_user_pod_row.js View 1 2 22 chunks +151 lines, -78 lines 0 comments Download
M ui/login/account_picker/md_user_pod_template.html View 4 chunks +58 lines, -53 lines 0 comments Download

Messages

Total messages: 16 (8 generated)
Wenzhao (Colin) Zang
3 years, 6 months ago (2017-06-07 04:18:06 UTC) #5
jdufault
https://codereview.chromium.org/2926003002/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/2926003002/diff/1/ui/login/account_picker/md_user_pod_row.css#newcode228 ui/login/account_picker/md_user_pod_row.css:228: .input-line { Are these display: none css additions permanently ...
3 years, 6 months ago (2017-06-07 17:29:31 UTC) #6
Wenzhao (Colin) Zang
Addressed comments and made minor changes on positioning to handle edge cases, as a follow-up ...
3 years, 6 months ago (2017-06-07 21:12:45 UTC) #7
jdufault
lgtm after comment https://codereview.chromium.org/2926003002/diff/20001/ui/login/account_picker/md_user_pod_row.js File ui/login/account_picker/md_user_pod_row.js (right): https://codereview.chromium.org/2926003002/diff/20001/ui/login/account_picker/md_user_pod_row.js#newcode2194 ui/login/account_picker/md_user_pod_row.js:2194: lastPosition_: {left: 'unset', top: 'unset'}, Just ...
3 years, 6 months ago (2017-06-08 00:49:37 UTC) #8
Wenzhao (Colin) Zang
https://codereview.chromium.org/2926003002/diff/20001/ui/login/account_picker/md_user_pod_row.js File ui/login/account_picker/md_user_pod_row.js (right): https://codereview.chromium.org/2926003002/diff/20001/ui/login/account_picker/md_user_pod_row.js#newcode2194 ui/login/account_picker/md_user_pod_row.js:2194: lastPosition_: {left: 'unset', top: 'unset'}, On 2017/06/08 00:49:37, jdufault ...
3 years, 6 months ago (2017-06-08 01:14:50 UTC) #9
xiyuan
lgtm
3 years, 6 months ago (2017-06-08 14:57:02 UTC) #10
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/2926003002/40001
3 years, 6 months ago (2017-06-08 17:17:43 UTC) #13
commit-bot: I haz the power
3 years, 6 months ago (2017-06-08 17:32:45 UTC) #16
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/12ab698854b581200db8cc4a68f7...

Powered by Google App Engine
This is Rietveld 408576698