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

Issue 2469393004: MD Settings: Preserve search URL param in subpages. (Closed)

Created:
4 years, 1 month ago by dpapad
Modified:
4 years, 1 month ago
Reviewers:
dschuyler, tommycli
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: Preserve search URL param in subpages. BUG=661835, 663708 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/6da08c5ddf401d99c58878e00726875ce72691ec Cr-Commit-Position: refs/heads/master@{#431152}

Patch Set 1 #

Patch Set 2 : Update params. #

Total comments: 2

Patch Set 3 : Simplify #

Patch Set 4 : Add tests. #

Patch Set 5 : Fix test. #

Total comments: 5

Patch Set 6 : Nits. #

Patch Set 7 : Reverse optional parameter default value and meaning. #

Total comments: 3

Patch Set 8 : Function params nit. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -27 lines) Patch
M chrome/browser/resources/settings/route.js View 1 2 3 4 5 6 1 chunk +14 lines, -7 lines 0 comments Download
M chrome/browser/resources/settings/settings_menu/settings_menu.html View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/settings/settings_menu/settings_menu.js View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/resources/settings/settings_ui/settings_ui.js View 1 2 3 4 5 6 2 chunks +2 lines, -14 lines 0 comments Download
M chrome/test/data/webui/settings/route_tests.js View 1 2 3 4 5 6 1 chunk +14 lines, -0 lines 0 comments Download
M chrome/test/data/webui/settings/settings_menu_test.js View 1 2 3 1 chunk +12 lines, -0 lines 0 comments Download
M chrome/test/data/webui/settings/settings_ui_browsertest.js View 1 2 3 4 5 6 7 1 chunk +8 lines, -4 lines 0 comments Download

Messages

Total messages: 33 (18 generated)
tommycli
lgtm overall approach of preserving the search param is exactly what I would have done. ...
4 years, 1 month ago (2016-11-03 23:31:33 UTC) #4
dpapad
On 2016/11/03 at 23:31:33, tommycli wrote: > lgtm overall approach of preserving the search param ...
4 years, 1 month ago (2016-11-03 23:58:28 UTC) #5
dpapad
https://codereview.chromium.org/2469393004/diff/20001/chrome/browser/resources/settings/route.js File chrome/browser/resources/settings/route.js (right): https://codereview.chromium.org/2469393004/diff/20001/chrome/browser/resources/settings/route.js#newcode344 chrome/browser/resources/settings/route.js:344: On 2016/11/03 at 23:31:33, tommycli wrote: > I would ...
4 years, 1 month ago (2016-11-04 02:00:33 UTC) #6
dpapad
@dschuyler: Tommy had LGed this CL, before going OOO, but I had not add tests ...
4 years, 1 month ago (2016-11-08 22:48:03 UTC) #14
dpapad
On 2016/11/08 at 22:48:03, dpapad wrote: > @dschuyler: Tommy had LGed this CL, before going ...
4 years, 1 month ago (2016-11-09 22:44:24 UTC) #18
dschuyler
https://codereview.chromium.org/2469393004/diff/80001/chrome/test/data/webui/settings/settings_ui_browsertest.js File chrome/test/data/webui/settings/settings_ui_browsertest.js (right): https://codereview.chromium.org/2469393004/diff/80001/chrome/test/data/webui/settings/settings_ui_browsertest.js#newcode131 chrome/test/data/webui/settings/settings_ui_browsertest.js:131: settings.navigateTo(settings.Route.BASIC, null, false); What are null, false representing here?
4 years, 1 month ago (2016-11-09 22:52:13 UTC) #19
dschuyler
https://codereview.chromium.org/2469393004/diff/80001/chrome/browser/resources/settings/route.js File chrome/browser/resources/settings/route.js (right): https://codereview.chromium.org/2469393004/diff/80001/chrome/browser/resources/settings/route.js#newcode327 chrome/browser/resources/settings/route.js:327: var preserveSearch = opt_preserveSearch == undefined ? Can we ...
4 years, 1 month ago (2016-11-09 23:10:14 UTC) #20
dpapad
https://codereview.chromium.org/2469393004/diff/80001/chrome/browser/resources/settings/route.js File chrome/browser/resources/settings/route.js (right): https://codereview.chromium.org/2469393004/diff/80001/chrome/browser/resources/settings/route.js#newcode327 chrome/browser/resources/settings/route.js:327: var preserveSearch = opt_preserveSearch == undefined ? On 2016/11/09 ...
4 years, 1 month ago (2016-11-09 23:19:16 UTC) #21
dpapad
https://codereview.chromium.org/2469393004/diff/120001/chrome/browser/resources/settings/route.js File chrome/browser/resources/settings/route.js (right): https://codereview.chromium.org/2469393004/diff/120001/chrome/browser/resources/settings/route.js#newcode325 chrome/browser/resources/settings/route.js:325: var navigateTo = function(route, opt_dynamicParameters, opt_removeSearch) { Per our ...
4 years, 1 month ago (2016-11-09 23:34:22 UTC) #22
dschuyler
lgtm https://codereview.chromium.org/2469393004/diff/120001/chrome/test/data/webui/settings/settings_ui_browsertest.js File chrome/test/data/webui/settings/settings_ui_browsertest.js (right): https://codereview.chromium.org/2469393004/diff/120001/chrome/test/data/webui/settings/settings_ui_browsertest.js#newcode133 chrome/test/data/webui/settings/settings_ui_browsertest.js:133: /* dynamicParams */ null, /* removeSearch */ true); ...
4 years, 1 month ago (2016-11-09 23:45:36 UTC) #25
dpapad
https://codereview.chromium.org/2469393004/diff/120001/chrome/test/data/webui/settings/settings_ui_browsertest.js File chrome/test/data/webui/settings/settings_ui_browsertest.js (right): https://codereview.chromium.org/2469393004/diff/120001/chrome/test/data/webui/settings/settings_ui_browsertest.js#newcode133 chrome/test/data/webui/settings/settings_ui_browsertest.js:133: /* dynamicParams */ null, /* removeSearch */ true); On ...
4 years, 1 month ago (2016-11-09 23:52:09 UTC) #26
dpapad
Thanks!
4 years, 1 month ago (2016-11-10 00:11:14 UTC) #27
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/2469393004/140001
4 years, 1 month ago (2016-11-10 00:19:39 UTC) #30
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 1 month ago (2016-11-10 02:54:22 UTC) #31
commit-bot: I haz the power
4 years, 1 month ago (2016-11-10 03:08:32 UTC) #33
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/6da08c5ddf401d99c58878e00726875ce72691ec
Cr-Commit-Position: refs/heads/master@{#431152}

Powered by Google App Engine
This is Rietveld 408576698