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

Issue 1546993003: Site Settings: Give each category its own route. (Closed)

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

Description

Site Settings: Give each category its own route. BUG=543635 Committed: https://crrev.com/d4d06d3ea549c1f56b9c8cf6ec627c7a9c99c6de Cr-Commit-Position: refs/heads/master@{#368315}

Patch Set 1 #

Patch Set 2 : Polish #

Total comments: 18

Patch Set 3 : Address feedback and add some tests #

Total comments: 5

Patch Set 4 : Address feedback #

Patch Set 5 : Polish #

Total comments: 3

Patch Set 6 : Address feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+231 lines, -36 lines) Patch
M chrome/browser/resources/settings/privacy_page/privacy_page.html View 1 2 3 4 5 2 chunks +79 lines, -3 lines 0 comments Download
M chrome/browser/resources/settings/privacy_page/privacy_page.js View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/settings_page/settings_router.js View 1 2 1 chunk +59 lines, -3 lines 0 comments Download
M chrome/browser/resources/settings/site_settings/constants.js View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/settings/site_settings/site_details.js View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/settings/site_settings/site_list.js View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/resources/settings/site_settings/site_settings_behavior.js View 1 2 3 4 5 5 chunks +35 lines, -4 lines 0 comments Download
M chrome/browser/resources/settings/site_settings/site_settings_category.js View 1 2 3 3 chunks +2 lines, -7 lines 0 comments Download
M chrome/browser/resources/settings/site_settings_page/site_settings_page.js View 1 2 3 3 chunks +4 lines, -12 lines 0 comments Download
M chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc View 1 2 3 4 1 chunk +18 lines, -4 lines 0 comments Download
M chrome/test/data/webui/settings/site_settings_category_tests.js View 1 2 3 4 5 1 chunk +26 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (4 generated)
Finnur
This somewhere along the lines of what you had in mind?
5 years ago (2015-12-23 17:15:56 UTC) #2
Finnur
Happy new year! :) PTAL.
4 years, 11 months ago (2016-01-04 13:09:35 UTC) #3
tommycli
finnur: Happy new year to you also. Here you go! https://codereview.chromium.org/1546993003/diff/20001/chrome/browser/resources/settings/settings_page/settings_router.js File chrome/browser/resources/settings/settings_page/settings_router.js (right): https://codereview.chromium.org/1546993003/diff/20001/chrome/browser/resources/settings/settings_page/settings_router.js#newcode162 ...
4 years, 11 months ago (2016-01-04 18:12:09 UTC) #4
Finnur
No code update, just a couple of clarification requests... https://codereview.chromium.org/1546993003/diff/20001/chrome/browser/resources/settings/settings_page/settings_router.js File chrome/browser/resources/settings/settings_page/settings_router.js (right): https://codereview.chromium.org/1546993003/diff/20001/chrome/browser/resources/settings/settings_page/settings_router.js#newcode162 chrome/browser/resources/settings/settings_page/settings_router.js:162: ...
4 years, 11 months ago (2016-01-05 15:54:07 UTC) #5
tommycli
Hello finnur, hope below helps. Thanks Tommy https://codereview.chromium.org/1546993003/diff/20001/chrome/browser/resources/settings/settings_page/settings_router.js File chrome/browser/resources/settings/settings_page/settings_router.js (right): https://codereview.chromium.org/1546993003/diff/20001/chrome/browser/resources/settings/settings_page/settings_router.js#newcode145 chrome/browser/resources/settings/settings_page/settings_router.js:145: url: '/siteSettings/category', ...
4 years, 11 months ago (2016-01-05 18:28:58 UTC) #6
Finnur
https://codereview.chromium.org/1546993003/diff/20001/chrome/browser/resources/settings/settings_page/settings_router.js File chrome/browser/resources/settings/settings_page/settings_router.js (right): https://codereview.chromium.org/1546993003/diff/20001/chrome/browser/resources/settings/settings_page/settings_router.js#newcode145 chrome/browser/resources/settings/settings_page/settings_router.js:145: url: '/siteSettings/category', Correct. https://codereview.chromium.org/1546993003/diff/20001/chrome/browser/resources/settings/settings_page/settings_router.js#newcode162 chrome/browser/resources/settings/settings_page/settings_router.js:162: subpage: ['site-settings', 'site-settings-category'], Convinced. ...
4 years, 11 months ago (2016-01-06 14:53:47 UTC) #7
tommycli
finnur: I hope the below comments help. This is a bit complicated, so hopefully we ...
4 years, 11 months ago (2016-01-06 19:10:34 UTC) #8
Finnur
All addressed, I believe. PTAL. https://codereview.chromium.org/1546993003/diff/20001/chrome/browser/resources/settings/settings_page/settings_router.js File chrome/browser/resources/settings/settings_page/settings_router.js (right): https://codereview.chromium.org/1546993003/diff/20001/chrome/browser/resources/settings/settings_page/settings_router.js#newcode162 chrome/browser/resources/settings/settings_page/settings_router.js:162: subpage: ['site-settings', 'site-settings-category'], |category| ...
4 years, 11 months ago (2016-01-07 13:14:49 UTC) #9
tommycli
lgtm sans below comments: https://codereview.chromium.org/1546993003/diff/80001/chrome/browser/resources/settings/privacy_page/privacy_page.html File chrome/browser/resources/settings/privacy_page/privacy_page.html (right): https://codereview.chromium.org/1546993003/diff/80001/chrome/browser/resources/settings/privacy_page/privacy_page.html#newcode111 chrome/browser/resources/settings/privacy_page/privacy_page.html:111: current-route="{{currentRoute}}" category="13"> I'm not thrilled ...
4 years, 11 months ago (2016-01-07 19:30:37 UTC) #10
tommycli
On 2016/01/07 19:30:37, tommycli wrote: > lgtm sans below comments: > > https://codereview.chromium.org/1546993003/diff/80001/chrome/browser/resources/settings/privacy_page/privacy_page.html > File ...
4 years, 11 months ago (2016-01-07 19:31:31 UTC) #11
Finnur
Good suggestions. All addressed. Checking in. Thanks for the review! https://codereview.chromium.org/1546993003/diff/80001/chrome/browser/resources/settings/site_settings/site_settings_behavior.js File chrome/browser/resources/settings/site_settings/site_settings_behavior.js (right): https://codereview.chromium.org/1546993003/diff/80001/chrome/browser/resources/settings/site_settings/site_settings_behavior.js#newcode109 ...
4 years, 11 months ago (2016-01-08 10:36:15 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1546993003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1546993003/100001
4 years, 11 months ago (2016-01-08 10:36:38 UTC) #15
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 11 months ago (2016-01-08 12:08:32 UTC) #16
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/d4d06d3ea549c1f56b9c8cf6ec627c7a9c99c6de Cr-Commit-Position: refs/heads/master@{#368315}
4 years, 11 months ago (2016-01-08 12:09:25 UTC) #18
tommycli
4 years, 11 months ago (2016-01-08 17:57:33 UTC) #19
Message was sent while issue was closed.
lgtm again, looking really good

Powered by Google App Engine
This is Rietveld 408576698