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

Issue 2334553002: [MD History] Add keyboard navigation to the main history list. (Closed)

Created:
4 years, 3 months ago by calamity
Modified:
4 years, 2 months ago
Reviewers:
tsergeant, Dan Beam
CC:
chromium-reviews, jlklein+watch-closure_chromium.org, Patrick Dubroy, michaelpg+watch-md-ui_chromium.org, dbeam+watch-history_chromium.org, pam+watch_chromium.org, arv+watch_chromium.org, oshima+watch_chromium.org, vitalyp+closure_chromium.org, dbeam+watch-closure_chromium.org, chrome-apps-syd-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[MD History] Add keyboard navigation to the main history list. This CL adds arrow-key navigation to the main history list and makes a single history item tab-navigable by using cr.ui.FocusRow and iron-list's tab index property. BUG=623011 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/a1bc7bb78d1a777435f8aa73bdcd4eaae4eff8b3 Cr-Commit-Position: refs/heads/master@{#419956}

Patch Set 1 #

Total comments: 13

Patch Set 2 : address_comments #

Total comments: 6

Patch Set 3 : address comments #

Total comments: 2

Patch Set 4 : address comment #

Patch Set 5 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+422 lines, -9 lines) Patch
M chrome/browser/resources/md_history/app.crisper.js View 1 2 3 4 6 chunks +228 lines, -4 lines 0 comments Download
M chrome/browser/resources/md_history/app.vulcanized.html View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/resources/md_history/compiled_resources2.gyp View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/resources/md_history/history_item.html View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/resources/md_history/history_item.js View 1 2 3 4 3 chunks +134 lines, -1 line 0 comments Download
M chrome/browser/resources/md_history/history_list.html View 1 2 3 4 2 chunks +5 lines, -2 lines 0 comments Download
M chrome/browser/resources/md_history/history_list.js View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/test/data/webui/md_history/history_list_test.js View 1 2 3 4 2 chunks +47 lines, -0 lines 0 comments Download
M ui/webui/resources/js/cr/ui/focus_row.js View 1 chunk +1 line, -1 line 0 comments Download

Depends on Patchset:

Messages

Total messages: 31 (19 generated)
calamity
https://codereview.chromium.org/2334553002/diff/1/chrome/browser/resources/md_history/history_item.js File chrome/browser/resources/md_history/history_item.js (right): https://codereview.chromium.org/2334553002/diff/1/chrome/browser/resources/md_history/history_item.js#newcode12 chrome/browser/resources/md_history/history_item.js:12: function HistoryFocusRow(root, boundary, delegate) { This is outside to ...
4 years, 3 months ago (2016-09-12 07:17:32 UTC) #3
tsergeant
I can no longer press enter to activate the #title link, so something has gone ...
4 years, 3 months ago (2016-09-13 00:55:08 UTC) #4
calamity
The enter issue has been fixed by not propagating Enter keyevents to the iron-list which ...
4 years, 3 months ago (2016-09-15 02:00:23 UTC) #5
tsergeant
https://codereview.chromium.org/2334553002/diff/20001/chrome/browser/resources/md_history/history_item.js File chrome/browser/resources/md_history/history_item.js (right): https://codereview.chromium.org/2334553002/diff/20001/chrome/browser/resources/md_history/history_item.js#newcode71 chrome/browser/resources/md_history/history_item.js:71: e.stopPropagation(); Maybe put a little comment here, along the ...
4 years, 3 months ago (2016-09-15 03:00:46 UTC) #6
calamity
+dbeam for tiny focus_row.js change. https://codereview.chromium.org/2334553002/diff/20001/chrome/browser/resources/md_history/history_item.js File chrome/browser/resources/md_history/history_item.js (right): https://codereview.chromium.org/2334553002/diff/20001/chrome/browser/resources/md_history/history_item.js#newcode71 chrome/browser/resources/md_history/history_item.js:71: e.stopPropagation(); On 2016/09/15 03:00:46, ...
4 years, 3 months ago (2016-09-15 08:35:11 UTC) #10
Dan Beam
https://codereview.chromium.org/2334553002/diff/40001/chrome/browser/resources/md_history/history_item.js File chrome/browser/resources/md_history/history_item.js (right): https://codereview.chromium.org/2334553002/diff/40001/chrome/browser/resources/md_history/history_item.js#newcode45 chrome/browser/resources/md_history/history_item.js:45: * @param {{lastFocused: Object}} historyItemElement why this type? avoid ...
4 years, 3 months ago (2016-09-15 16:51:10 UTC) #13
Dan Beam
ultimately focus_row lgtm and this overall looks like it'll improve the a11y story
4 years, 3 months ago (2016-09-15 16:51:44 UTC) #14
tsergeant
lgtm
4 years, 3 months ago (2016-09-19 07:02:41 UTC) #15
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/2334553002/100001
4 years, 3 months ago (2016-09-21 02:41:52 UTC) #27
commit-bot: I haz the power
Committed patchset #5 (id:100001)
4 years, 3 months ago (2016-09-21 02:47:07 UTC) #28
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/a1bc7bb78d1a777435f8aa73bdcd4eaae4eff8b3 Cr-Commit-Position: refs/heads/master@{#419956}
4 years, 3 months ago (2016-09-21 02:48:29 UTC) #30
Dan Beam
4 years, 2 months ago (2016-09-28 22:13:09 UTC) #31
Message was sent while issue was closed.
ultimately we should port this list-list tab-index observation to downloads
(which shipped before this existed, afaik)

Powered by Google App Engine
This is Rietveld 408576698