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

Issue 2237703004: [MD History] Focus the search bar on load. (Closed)

Created:
4 years, 4 months ago by calamity
Modified:
4 years, 4 months ago
Reviewers:
tsergeant, Dan Beam
CC:
chromium-reviews, dbeam+watch-elements_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, michaelpg+watch-elements_chromium.org, stevenjb+watch-md-settings_chromium.org, chrome-apps-syd-reviews_chromium.org, michaelpg
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[MD History] Focus the search bar on load. This CL causes the search field on the MD History page to focus on load. It also keeps the placeholder text visible while the search field is empty. BUG=633180 NOPRESUBMIT=true # crisper.js CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/70ee9e02331eeaced2a8a74c8abc6a5c6106d283 Cr-Commit-Position: refs/heads/master@{#413101}

Patch Set 1 #

Total comments: 4

Patch Set 2 : address comments #

Patch Set 3 : remove focusing behavior in narrow mode #

Patch Set 4 : rebase, vulcanize #

Patch Set 5 : fix drawer test #

Total comments: 4

Patch Set 6 : address comments #

Total comments: 7

Patch Set 7 : rebase, use replaceApp #

Patch Set 8 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+98 lines, -13 lines) Patch
M chrome/browser/resources/md_history/app.js View 1 2 3 4 5 6 3 chunks +24 lines, -1 line 0 comments Download
M chrome/browser/resources/md_history/app.crisper.js View 1 2 3 4 5 6 7 3 chunks +12 lines, -1 line 0 comments Download
M chrome/browser/resources/md_history/app.vulcanized.html View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/md_history/history.js View 1 2 3 4 5 6 1 chunk +3 lines, -9 lines 0 comments Download
M chrome/test/data/webui/md_history/history_toolbar_test.js View 1 2 3 4 5 6 2 chunks +52 lines, -0 lines 0 comments Download
M chrome/test/data/webui/md_history/md_history_browsertest.js View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.html View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download

Dependent Patchsets:

Messages

Total messages: 54 (35 generated)
calamity
4 years, 4 months ago (2016-08-11 07:37:31 UTC) #3
michaelpg
drive-by complaint: does this prevent scrolling via down arrow (or space) without unfocusing the search ...
4 years, 4 months ago (2016-08-11 07:44:07 UTC) #4
calamity
On 2016/08/11 07:44:07, michaelpg wrote: > drive-by complaint: does this prevent scrolling via down arrow ...
4 years, 4 months ago (2016-08-15 03:23:38 UTC) #5
tsergeant
It's a little strange that the search icon is now fully white at page load, ...
4 years, 4 months ago (2016-08-15 03:28:34 UTC) #6
calamity
There's actually a fun little thing that happens when you load the page in narrow ...
4 years, 4 months ago (2016-08-15 07:40:28 UTC) #9
tsergeant
On 2016/08/15 07:40:28, calamity wrote: > There's actually a fun little thing that happens when ...
4 years, 4 months ago (2016-08-16 01:29:08 UTC) #12
calamity
On 2016/08/16 01:29:08, tsergeant wrote: > On 2016/08/15 07:40:28, calamity wrote: > > There's actually ...
4 years, 4 months ago (2016-08-18 02:58:17 UTC) #24
tsergeant
https://codereview.chromium.org/2237703004/diff/80001/chrome/browser/resources/md_history/history.js File chrome/browser/resources/md_history/history.js (right): https://codereview.chromium.org/2237703004/diff/80001/chrome/browser/resources/md_history/history.js#newcode49 chrome/browser/resources/md_history/history.js:49: requestAnimationFrame(function() { Is it worth moving this logic into ...
4 years, 4 months ago (2016-08-18 03:46:12 UTC) #25
calamity
https://codereview.chromium.org/2237703004/diff/80001/chrome/browser/resources/md_history/history.js File chrome/browser/resources/md_history/history.js (right): https://codereview.chromium.org/2237703004/diff/80001/chrome/browser/resources/md_history/history.js#newcode49 chrome/browser/resources/md_history/history.js:49: requestAnimationFrame(function() { On 2016/08/18 03:46:12, tsergeant wrote: > Is ...
4 years, 4 months ago (2016-08-18 08:32:30 UTC) #29
tsergeant
lgtm % nits https://codereview.chromium.org/2237703004/diff/100001/chrome/browser/resources/md_history/list_container.js File chrome/browser/resources/md_history/list_container.js (right): https://codereview.chromium.org/2237703004/diff/100001/chrome/browser/resources/md_history/list_container.js#newcode96 chrome/browser/resources/md_history/list_container.js:96: if (this.getSelectedList_()) you'll need to do ...
4 years, 4 months ago (2016-08-19 00:21:38 UTC) #30
calamity
+dbeam for cr_toolbar_search_field.html OWNERS. https://codereview.chromium.org/2237703004/diff/100001/chrome/browser/resources/md_history/list_container.js File chrome/browser/resources/md_history/list_container.js (right): https://codereview.chromium.org/2237703004/diff/100001/chrome/browser/resources/md_history/list_container.js#newcode96 chrome/browser/resources/md_history/list_container.js:96: if (this.getSelectedList_()) On 2016/08/19 00:21:38, ...
4 years, 4 months ago (2016-08-19 03:50:57 UTC) #32
Dan Beam
lgtm you guys should probably own the cr_toolbar element (or cr_elements), shouldn't you?
4 years, 4 months ago (2016-08-19 06:31:31 UTC) #37
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/2237703004/120001
4 years, 4 months ago (2016-08-19 06:40:04 UTC) #40
commit-bot: I haz the power
Failed to apply patch for chrome/browser/resources/md_history/app.crisper.js: While running git apply --index -3 -p1; error: patch ...
4 years, 4 months ago (2016-08-19 06:43:39 UTC) #42
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/2237703004/140001
4 years, 4 months ago (2016-08-19 06:57:59 UTC) #45
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/241622)
4 years, 4 months ago (2016-08-19 07:14:33 UTC) #47
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/2237703004/140001
4 years, 4 months ago (2016-08-19 08:25:02 UTC) #50
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 4 months ago (2016-08-19 10:54:34 UTC) #52
commit-bot: I haz the power
4 years, 4 months ago (2016-08-19 10:56:07 UTC) #54
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/70ee9e02331eeaced2a8a74c8abc6a5c6106d283
Cr-Commit-Position: refs/heads/master@{#413101}

Powered by Google App Engine
This is Rietveld 408576698