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

Issue 2231203002: Settings Router Refactor: Normalize URL only for main settings page. (Closed)

Created:
4 years, 4 months ago by tommycli
Modified:
4 years, 4 months ago
Reviewers:
michaelpg
CC:
chromium-reviews, michaelpg+watch-md-settings_chromium.org, michaelpg+watch-md-ui_chromium.org, arv+watch_chromium.org, vitalyp+closure_chromium.org, dbeam+watch-settings_chromium.org, dbeam+watch-closure_chromium.org, stevenjb+watch-md-settings_chromium.org, jlklein+watch-closure_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Settings Router Refactor: Normalize URL only for main settings page. Normalize URL in cr-settings.created only, not when child elements are directly loaded. i.e., URL normalized for chrome://md-settings/foo/bar but not for chrome://md-settings/people_page/people_page.html Also fixes a bug where the URL state is pushed rather than replaced. BUG=632382 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/67d17aee41b895d81c6e6e7d7ff33690bee9f74e Cr-Commit-Position: refs/heads/master@{#411995}

Patch Set 1 #

Total comments: 6

Patch Set 2 : address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -6 lines) Patch
M chrome/browser/resources/settings/compiled_resources2.gyp View 1 chunk +10 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/route.js View 1 2 chunks +17 lines, -6 lines 0 comments Download
M chrome/browser/resources/settings/settings.html View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/resources/settings/settings.js View 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (12 generated)
tommycli
michaelpg: PTAL, thanks!
4 years, 4 months ago (2016-08-10 20:39:34 UTC) #6
tommycli
On 2016/08/10 20:39:34, tommycli wrote: > michaelpg: PTAL, thanks! michaelpg: ping, thx!
4 years, 4 months ago (2016-08-11 23:34:17 UTC) #9
michaelpg
lgtm https://codereview.chromium.org/2231203002/diff/1/chrome/browser/resources/settings/route.js File chrome/browser/resources/settings/route.js (right): https://codereview.chromium.org/2231203002/diff/1/chrome/browser/resources/settings/route.js#newcode304 chrome/browser/resources/settings/route.js:304: * The current active route. This updated only ...
4 years, 4 months ago (2016-08-12 22:18:02 UTC) #10
tommycli
thanks! https://codereview.chromium.org/2231203002/diff/1/chrome/browser/resources/settings/route.js File chrome/browser/resources/settings/route.js (right): https://codereview.chromium.org/2231203002/diff/1/chrome/browser/resources/settings/route.js#newcode304 chrome/browser/resources/settings/route.js:304: * The current active route. This updated only ...
4 years, 4 months ago (2016-08-15 17:36:00 UTC) #11
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/2231203002/20001
4 years, 4 months ago (2016-08-15 17:36:31 UTC) #14
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/ce37c93fb3538e1ebe6b84fcf370871c50401ebe Cr-Commit-Position: refs/heads/master@{#411993}
4 years, 4 months ago (2016-08-15 18:35:01 UTC) #17
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 4 months ago (2016-08-15 18:35:02 UTC) #18
commit-bot: I haz the power
4 years, 4 months ago (2016-08-15 18:37:33 UTC) #20
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/67d17aee41b895d81c6e6e7d7ff33690bee9f74e
Cr-Commit-Position: refs/heads/master@{#411995}

Powered by Google App Engine
This is Rietveld 408576698