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

Issue 2552393002: MD Settings: Scroll correctly for navigations that exit search mode. (Closed)

Created:
4 years ago by tommycli
Modified:
4 years ago
Reviewers:
dpapad
CC:
arv+watch_chromium.org, chromium-reviews, dbeam+watch-settings_chromium.org, michaelpg+watch-md-settings_chromium.org, michaelpg+watch-md-ui_chromium.org, stevenjb+watch-md-settings_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

MD Settings: Scroll correctly for navigations that exit search mode. Previously, exiting search mode by clicking on a section link did not work. This was because we tried to scroll to the section before the search mode exited. This CL adds another attempt to scroll AFTER search mode exits. BUG=667958 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/73b5f1096d7fb361d7e6797ede8100de39279749 Cr-Commit-Position: refs/heads/master@{#437165}

Patch Set 1 #

Patch Set 2 : add test #

Patch Set 3 : merge #

Patch Set 4 : fix cl to make review easier #

Total comments: 2

Patch Set 5 : improve browsertest #

Total comments: 5

Patch Set 6 : update #

Unified diffs Side-by-side diffs Delta from patch set Stats (+105 lines, -4 lines) Patch
M chrome/browser/resources/settings/settings_main/settings_main.html View 1 2 3 2 chunks +6 lines, -3 lines 0 comments Download
M chrome/browser/resources/settings/settings_page/main_page_behavior.js View 2 chunks +23 lines, -0 lines 0 comments Download
M chrome/test/data/webui/settings/basic_page_browsertest.js View 1 2 3 4 5 3 chunks +76 lines, -1 line 0 comments Download

Messages

Total messages: 28 (19 generated)
tommycli
dpapad: PTAL, thanks for the consult earlier. This CL is a result of our discussion ...
4 years ago (2016-12-06 22:00:01 UTC) #10
dpapad
https://codereview.chromium.org/2552393002/diff/60001/chrome/test/data/webui/settings/basic_page_browsertest.js File chrome/test/data/webui/settings/basic_page_browsertest.js (right): https://codereview.chromium.org/2552393002/diff/60001/chrome/test/data/webui/settings/basic_page_browsertest.js#newcode96 chrome/test/data/webui/settings/basic_page_browsertest.js:96: sections[i].hiddenBySearch = true; Lines 87 to 96, redo what ...
4 years ago (2016-12-07 00:57:10 UTC) #14
tommycli
dpapad: Thanks! See if this looks any better. https://codereview.chromium.org/2552393002/diff/60001/chrome/test/data/webui/settings/basic_page_browsertest.js File chrome/test/data/webui/settings/basic_page_browsertest.js (right): https://codereview.chromium.org/2552393002/diff/60001/chrome/test/data/webui/settings/basic_page_browsertest.js#newcode96 chrome/test/data/webui/settings/basic_page_browsertest.js:96: sections[i].hiddenBySearch ...
4 years ago (2016-12-08 00:52:15 UTC) #15
dpapad
LGTM, with nits. Summarizing my discussion with Tommy. This CL fixes a bug, but none ...
4 years ago (2016-12-08 01:33:54 UTC) #16
tommycli
dpapad: Thanks! I wasn't able to address one of your comments. See below. https://codereview.chromium.org/2552393002/diff/80001/chrome/test/data/webui/settings/basic_page_browsertest.js File ...
4 years ago (2016-12-08 01:54:46 UTC) #17
dpapad
https://codereview.chromium.org/2552393002/diff/80001/chrome/test/data/webui/settings/basic_page_browsertest.js File chrome/test/data/webui/settings/basic_page_browsertest.js (right): https://codereview.chromium.org/2552393002/diff/80001/chrome/test/data/webui/settings/basic_page_browsertest.js#newcode152 chrome/test/data/webui/settings/basic_page_browsertest.js:152: } On 2016/12/08 at 01:54:46, tommycli wrote: > On ...
4 years ago (2016-12-08 02:01:16 UTC) #20
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/2552393002/100001
4 years ago (2016-12-08 02:33:30 UTC) #24
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years ago (2016-12-08 03:28:59 UTC) #26
commit-bot: I haz the power
4 years ago (2016-12-08 03:31:24 UTC) #28
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/73b5f1096d7fb361d7e6797ede8100de39279749
Cr-Commit-Position: refs/heads/master@{#437165}

Powered by Google App Engine
This is Rietveld 408576698