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

Issue 2269743002: Profile Avatar Selector: Allow arrow keys to be used for moving between avatars. (Closed)

Created:
4 years, 4 months ago by Moe
Modified:
4 years, 3 months ago
Reviewers:
Dan Beam
CC:
chromium-reviews, michaelpg+watch-elements_chromium.org, stevenjb+watch-md-settings_chromium.org, dbeam+watch-elements_chromium.org, oshima+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Profile Avatar Selector: Allow arrow keys to be used for moving between avatars. BUG=639843 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/41da613e2425d5cd726390dcecdb4102315900c1 Cr-Commit-Position: refs/heads/master@{#420355}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Addressed comment #

Patch Set 3 : Fixed broken test #

Patch Set 4 : Make left and right arrow keys to act like up and down #

Total comments: 2

Patch Set 5 : Fixes the RTL issue #

Total comments: 1

Patch Set 6 : Up/Down keys focus the avatar directly above/below the currently focused one #

Total comments: 13

Patch Set 7 : Addressed comments #

Total comments: 20

Patch Set 8 : Addressed comments #

Total comments: 2

Patch Set 9 : Addressed comments #

Messages

Total messages: 70 (46 generated)
Moe
Hi Dan, This CL makes the profile avatar selector more accessible by allowing up/down arrow ...
4 years, 4 months ago (2016-08-22 21:17:44 UTC) #5
Dan Beam
https://codereview.chromium.org/2269743002/diff/1/ui/webui/resources/cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector.html File ui/webui/resources/cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector.html (right): https://codereview.chromium.org/2269743002/diff/1/ui/webui/resources/cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector.html#newcode18 ui/webui/resources/cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector.html:18: background: transparent; iirc, using shorthands in mixins is kind ...
4 years, 4 months ago (2016-08-22 21:28:11 UTC) #6
Moe
https://codereview.chromium.org/2269743002/diff/1/ui/webui/resources/cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector.html File ui/webui/resources/cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector.html (right): https://codereview.chromium.org/2269743002/diff/1/ui/webui/resources/cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector.html#newcode18 ui/webui/resources/cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector.html:18: background: transparent; On 2016/08/22 21:28:11, Dan Beam wrote: > ...
4 years, 4 months ago (2016-08-23 15:12:25 UTC) #14
Moe
Hi Dan, Could you please take another look at this? I was waiting to hear ...
4 years, 3 months ago (2016-09-06 17:37:35 UTC) #23
Dan Beam
https://codereview.chromium.org/2269743002/diff/120001/ui/webui/resources/cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector.js File ui/webui/resources/cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector.js (right): https://codereview.chromium.org/2269743002/diff/120001/ui/webui/resources/cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector.js#newcode41 ui/webui/resources/cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector.js:41: avatarList.addOwnKeyBinding('left', '_onUpKey'); shouldn't left/right/up/down already work? (in LTR) left ...
4 years, 3 months ago (2016-09-07 01:17:56 UTC) #32
Moe
https://codereview.chromium.org/2269743002/diff/120001/ui/webui/resources/cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector.js File ui/webui/resources/cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector.js (right): https://codereview.chromium.org/2269743002/diff/120001/ui/webui/resources/cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector.js#newcode41 ui/webui/resources/cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector.js:41: avatarList.addOwnKeyBinding('left', '_onUpKey'); On 2016/09/07 01:17:56, Dan Beam wrote: > ...
4 years, 3 months ago (2016-09-07 15:50:50 UTC) #33
Dan Beam
On 2016/09/07 15:50:50, moe wrote: > https://codereview.chromium.org/2269743002/diff/120001/ui/webui/resources/cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector.js > File > ui/webui/resources/cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector.js > (right): > > ...
4 years, 3 months ago (2016-09-15 17:46:32 UTC) #34
Moe
Dan, Please take another look at this.
4 years, 3 months ago (2016-09-15 18:40:21 UTC) #36
Dan Beam
https://codereview.chromium.org/2269743002/diff/140001/ui/webui/resources/cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector.js File ui/webui/resources/cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector.js (right): https://codereview.chromium.org/2269743002/diff/140001/ui/webui/resources/cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector.js#newcode42 ui/webui/resources/cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector.js:42: avatarList.addOwnKeyBinding('left', '_onDownKey'); i think this code would be more ...
4 years, 3 months ago (2016-09-15 20:57:23 UTC) #40
Moe
On 2016/09/15 20:57:23, Dan Beam wrote: > https://codereview.chromium.org/2269743002/diff/140001/ui/webui/resources/cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector.js > File > ui/webui/resources/cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector.js > (right): > ...
4 years, 3 months ago (2016-09-16 16:13:54 UTC) #41
Dan Beam
On 2016/09/16 16:13:54, moe wrote: > On 2016/09/15 20:57:23, Dan Beam wrote: > > > ...
4 years, 3 months ago (2016-09-16 16:58:39 UTC) #42
Moe
On 2016/09/16 16:58:39, Dan Beam wrote: > On 2016/09/16 16:13:54, moe wrote: > > On ...
4 years, 3 months ago (2016-09-19 22:24:18 UTC) #43
Dan Beam
On 2016/09/19 22:24:18, moe wrote: > On 2016/09/16 16:58:39, Dan Beam wrote: > > On ...
4 years, 3 months ago (2016-09-20 00:45:22 UTC) #44
Moe
Dan, Please take another look.
4 years, 3 months ago (2016-09-20 20:53:57 UTC) #45
Dan Beam
https://codereview.chromium.org/2269743002/diff/160001/ui/webui/resources/cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector.html File ui/webui/resources/cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector.html (right): https://codereview.chromium.org/2269743002/diff/160001/ui/webui/resources/cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector.html#newcode18 ui/webui/resources/cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector.html:18: --cr-profile-avatar-selector-listbox: { use a var if you only need ...
4 years, 3 months ago (2016-09-21 03:40:59 UTC) #46
Moe
https://codereview.chromium.org/2269743002/diff/160001/ui/webui/resources/cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector.html File ui/webui/resources/cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector.html (right): https://codereview.chromium.org/2269743002/diff/160001/ui/webui/resources/cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector.html#newcode18 ui/webui/resources/cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector.html:18: --cr-profile-avatar-selector-listbox: { On 2016/09/21 03:40:59, Dan Beam wrote: > ...
4 years, 3 months ago (2016-09-21 16:52:57 UTC) #48
Dan Beam
https://codereview.chromium.org/2269743002/diff/160001/ui/webui/resources/cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector.html File ui/webui/resources/cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector.html (right): https://codereview.chromium.org/2269743002/diff/160001/ui/webui/resources/cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector.html#newcode18 ui/webui/resources/cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector.html:18: --cr-profile-avatar-selector-listbox: { On 2016/09/21 16:52:57, moe wrote: > On ...
4 years, 3 months ago (2016-09-21 17:54:26 UTC) #50
Moe
Thank you for the feedback. Please take another look. https://codereview.chromium.org/2269743002/diff/160001/ui/webui/resources/cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector.html File ui/webui/resources/cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector.html (right): https://codereview.chromium.org/2269743002/diff/160001/ui/webui/resources/cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector.html#newcode18 ui/webui/resources/cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector.html:18: ...
4 years, 3 months ago (2016-09-22 00:25:09 UTC) #54
Dan Beam
https://codereview.chromium.org/2269743002/diff/180001/ui/webui/resources/cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector_grid.js File ui/webui/resources/cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector_grid.js (right): https://codereview.chromium.org/2269743002/diff/180001/ui/webui/resources/cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector_grid.js#newcode70 ui/webui/resources/cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector_grid.js:70: if (Polymer.dom(owner).activeElement == item) { On 2016/09/22 00:25:09, moe ...
4 years, 3 months ago (2016-09-22 01:01:43 UTC) #56
Dan Beam
lgtm https://codereview.chromium.org/2269743002/diff/200001/ui/webui/resources/cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector_grid.html File ui/webui/resources/cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector_grid.html (right): https://codereview.chromium.org/2269743002/diff/200001/ui/webui/resources/cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector_grid.html#newcode12 ui/webui/resources/cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector_grid.html:12: @apply(--cr-profile-avatar-selector-grid); ^ still used?
4 years, 3 months ago (2016-09-22 01:03:25 UTC) #57
Moe
Thank you. https://codereview.chromium.org/2269743002/diff/180001/ui/webui/resources/cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector_grid.js File ui/webui/resources/cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector_grid.js (right): https://codereview.chromium.org/2269743002/diff/180001/ui/webui/resources/cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector_grid.js#newcode70 ui/webui/resources/cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector_grid.js:70: if (Polymer.dom(owner).activeElement == item) { On 2016/09/22 ...
4 years, 3 months ago (2016-09-22 14:06:49 UTC) #61
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/2269743002/220001
4 years, 3 months ago (2016-09-22 15:40:54 UTC) #67
commit-bot: I haz the power
Committed patchset #9 (id:220001)
4 years, 3 months ago (2016-09-22 15:46:53 UTC) #68
commit-bot: I haz the power
4 years, 3 months ago (2016-09-22 15:49:59 UTC) #70
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/41da613e2425d5cd726390dcecdb4102315900c1
Cr-Commit-Position: refs/heads/master@{#420355}

Powered by Google App Engine
This is Rietveld 408576698