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

Issue 2820153003: [MD Bookmarks] Add keyboard navigation to sidebar. (Closed)

Created:
3 years, 8 months ago by calamity
Modified:
3 years, 7 months ago
Reviewers:
tsergeant
CC:
chromium-reviews, dcheng, michaelpg+watch-md-ui_chromium.org, jlklein+watch-closure_chromium.org, vitalyp+closure_chromium.org, dbeam+watch-closure_chromium.org, arv+watch_chromium.org, chrome-apps-syd-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[MD Bookmarks] Add keyboard navigation to sidebar. This CL adds keyboard navigation to the bookmark manager sidebar by making only a single focus target for the sidebar which is changed by keypresses. BUG=692844 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2820153003 Cr-Commit-Position: refs/heads/master@{#468913} Committed: https://chromium.googlesource.com/chromium/src/+/84f04dbf558f6c3391ef4115e45d7c0ddefc0f00

Patch Set 1 #

Total comments: 12

Patch Set 2 : fix_breakage #

Patch Set 3 : select_on_move #

Total comments: 13

Patch Set 4 : rebase, address comments #

Patch Set 5 : rebase #

Total comments: 6

Patch Set 6 : address comments #

Patch Set 7 : fix sidebar.html #

Patch Set 8 : rebase #

Patch Set 9 : fix test #

Total comments: 4

Patch Set 10 : address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+361 lines, -17 lines) Patch
M chrome/browser/resources/md_bookmarks/compiled_resources2.gyp View 1 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/resources/md_bookmarks/folder_node.html View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/resources/md_bookmarks/folder_node.js View 1 2 3 4 5 6 7 8 9 6 chunks +158 lines, -0 lines 0 comments Download
M chrome/test/data/webui/BUILD.gn View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M chrome/test/data/webui/md_bookmarks/dnd_manager_test.js View 1 2 3 4 5 6 7 1 chunk +1 line, -10 lines 0 comments Download
M chrome/test/data/webui/md_bookmarks/folder_node_test.js View 1 2 3 4 5 6 7 8 4 chunks +44 lines, -3 lines 0 comments Download
A chrome/test/data/webui/md_bookmarks/md_bookmarks_focus_test.js View 1 2 3 4 5 6 7 8 9 1 chunk +130 lines, -0 lines 0 comments Download
M chrome/test/data/webui/md_bookmarks/test_store.js View 1 2 3 4 5 6 7 8 9 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/test/data/webui/md_bookmarks/test_util.js View 1 2 2 chunks +20 lines, -2 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 50 (38 generated)
calamity
And here's the meat. It's a doozy. I have one or two things left to ...
3 years, 8 months ago (2017-04-18 08:30:26 UTC) #3
tsergeant
Firstly, there's two places (the first two comments) where the code seems to be wrong. ...
3 years, 8 months ago (2017-04-19 01:42:16 UTC) #4
calamity
Okay, fixed the things. Selecting on focus feels a bit weird and clicking doesn't focus ...
3 years, 8 months ago (2017-04-19 04:51:02 UTC) #7
tsergeant
As discussed, I'm pretty happy with this version https://codereview.chromium.org/2820153003/diff/80001/chrome/browser/resources/md_bookmarks/folder_node.html File chrome/browser/resources/md_bookmarks/folder_node.html (right): https://codereview.chromium.org/2820153003/diff/80001/chrome/browser/resources/md_bookmarks/folder_node.html#newcode89 chrome/browser/resources/md_bookmarks/folder_node.html:89: is-open$="[[!isClosed_]]" ...
3 years, 8 months ago (2017-04-19 07:32:18 UTC) #8
calamity
https://codereview.chromium.org/2820153003/diff/80001/chrome/browser/resources/md_bookmarks/folder_node.html File chrome/browser/resources/md_bookmarks/folder_node.html (right): https://codereview.chromium.org/2820153003/diff/80001/chrome/browser/resources/md_bookmarks/folder_node.html#newcode89 chrome/browser/resources/md_bookmarks/folder_node.html:89: is-open$="[[!isClosed_]]" on-tap="toggleFolder_" tabindex=""> On 2017/04/19 07:32:17, tsergeant wrote: > ...
3 years, 7 months ago (2017-04-28 06:15:48 UTC) #24
tsergeant
Cool, I think new focus test is significantly better. Also, Rietveld has no idea what's ...
3 years, 7 months ago (2017-05-01 01:35:56 UTC) #25
calamity
https://codereview.chromium.org/2820153003/diff/80001/chrome/browser/resources/md_bookmarks/folder_node.html File chrome/browser/resources/md_bookmarks/folder_node.html (right): https://codereview.chromium.org/2820153003/diff/80001/chrome/browser/resources/md_bookmarks/folder_node.html#newcode89 chrome/browser/resources/md_bookmarks/folder_node.html:89: is-open$="[[!isClosed_]]" on-tap="toggleFolder_" tabindex=""> On 2017/05/01 01:35:57, tsergeant wrote: > ...
3 years, 7 months ago (2017-05-03 03:01:47 UTC) #36
tsergeant
https://codereview.chromium.org/2820153003/diff/300001/chrome/browser/resources/md_bookmarks/folder_node.html File chrome/browser/resources/md_bookmarks/folder_node.html (right): https://codereview.chromium.org/2820153003/diff/300001/chrome/browser/resources/md_bookmarks/folder_node.html#newcode83 chrome/browser/resources/md_bookmarks/folder_node.html:83: is-open$="[[!isClosed_]]" on-tap="toggleFolder_" tabindex=""> With the change to paper-icon-button-light, tabindex ...
3 years, 7 months ago (2017-05-03 03:56:38 UTC) #37
calamity
https://codereview.chromium.org/2820153003/diff/300001/chrome/browser/resources/md_bookmarks/folder_node.html File chrome/browser/resources/md_bookmarks/folder_node.html (right): https://codereview.chromium.org/2820153003/diff/300001/chrome/browser/resources/md_bookmarks/folder_node.html#newcode83 chrome/browser/resources/md_bookmarks/folder_node.html:83: is-open$="[[!isClosed_]]" on-tap="toggleFolder_" tabindex=""> On 2017/05/03 03:56:38, tsergeant wrote: > ...
3 years, 7 months ago (2017-05-03 05:13:56 UTC) #42
tsergeant
lgtm
3 years, 7 months ago (2017-05-03 05:31:49 UTC) #43
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/2820153003/320001
3 years, 7 months ago (2017-05-03 07:02:39 UTC) #47
commit-bot: I haz the power
3 years, 7 months ago (2017-05-03 07:06:28 UTC) #50
Message was sent while issue was closed.
Committed patchset #10 (id:320001) as
https://chromium.googlesource.com/chromium/src/+/84f04dbf558f6c3391ef4115e45d...

Powered by Google App Engine
This is Rietveld 408576698