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

Issue 2018753002: [MD settings] refine routing function (Closed)

Created:
4 years, 7 months ago by dschuyler
Modified:
4 years, 6 months 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
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[MD settings] refine routing function This CL adds a way for animated pages to detect which page a subpage resides within. Previously, the page was assumed to be the same as the currentRoute page. That's still true at the moment, but when we change to having the basic and advanced pages shown together, the currentRoute page may not match up correctly. This CL sets the page more explicitly so that the user can jump between basic and advanced subpages. This is a step toward showing basic and advanced settings together. BUG=593989 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/ffbbd3f14353bf8d981ccbddff84a48a8326c936 Cr-Commit-Position: refs/heads/master@{#396615}

Patch Set 1 : wrapped lines #

Total comments: 4

Patch Set 2 : review changes #

Total comments: 4

Patch Set 3 : added comments #

Total comments: 2

Patch Set 4 : review change #

Unified diffs Side-by-side diffs Delta from patch set Stats (+223 lines, -199 lines) Patch
M chrome/browser/resources/settings/about_page/about_page.html View 1 chunk +78 lines, -71 lines 0 comments Download
M chrome/browser/resources/settings/advanced_page/advanced_page.html View 1 chunk +68 lines, -66 lines 0 comments Download
M chrome/browser/resources/settings/basic_page/basic_page.html View 1 chunk +62 lines, -59 lines 0 comments Download
M chrome/browser/resources/settings/settings_page/settings_animated_pages.js View 1 2 3 1 chunk +9 lines, -1 line 0 comments Download
M chrome/browser/resources/settings/settings_page_css.html View 2 chunks +6 lines, -2 lines 0 comments Download

Messages

Total messages: 23 (8 generated)
dschuyler
4 years, 7 months ago (2016-05-26 22:50:46 UTC) #4
Dan Beam
drive-by https://codereview.chromium.org/2018753002/diff/20001/chrome/browser/resources/settings/settings_page/settings_animated_pages.js File chrome/browser/resources/settings/settings_page/settings_animated_pages.js (right): https://codereview.chromium.org/2018753002/diff/20001/chrome/browser/resources/settings/settings_page/settings_animated_pages.js#newcode152 chrome/browser/resources/settings/settings_page/settings_animated_pages.js:152: var page = node.dataset.page; putting a `var` here ...
4 years, 7 months ago (2016-05-26 22:58:04 UTC) #5
dschuyler
https://codereview.chromium.org/2018753002/diff/20001/chrome/browser/resources/settings/settings_page/settings_animated_pages.js File chrome/browser/resources/settings/settings_page/settings_animated_pages.js (right): https://codereview.chromium.org/2018753002/diff/20001/chrome/browser/resources/settings/settings_page/settings_animated_pages.js#newcode152 chrome/browser/resources/settings/settings_page/settings_animated_pages.js:152: var page = node.dataset.page; On 2016/05/26 22:58:04, Dan Beam ...
4 years, 7 months ago (2016-05-26 23:08:02 UTC) #6
dpapad
https://codereview.chromium.org/2018753002/diff/40001/chrome/browser/resources/settings/settings_page/settings_animated_pages.js File chrome/browser/resources/settings/settings_page/settings_animated_pages.js (right): https://codereview.chromium.org/2018753002/diff/40001/chrome/browser/resources/settings/settings_page/settings_animated_pages.js#newcode149 chrome/browser/resources/settings/settings_page/settings_animated_pages.js:149: var node = event.currentTarget; Where is |event| coming from? ...
4 years, 7 months ago (2016-05-27 00:44:23 UTC) #7
dschuyler
https://codereview.chromium.org/2018753002/diff/40001/chrome/browser/resources/settings/settings_page/settings_animated_pages.js File chrome/browser/resources/settings/settings_page/settings_animated_pages.js (right): https://codereview.chromium.org/2018753002/diff/40001/chrome/browser/resources/settings/settings_page/settings_animated_pages.js#newcode149 chrome/browser/resources/settings/settings_page/settings_animated_pages.js:149: var node = event.currentTarget; On 2016/05/27 00:44:22, dpapad wrote: ...
4 years, 7 months ago (2016-05-27 01:30:49 UTC) #8
dpapad
Before we decide whether using window.event is OK, I have a more general design question ...
4 years, 6 months ago (2016-05-27 17:18:45 UTC) #9
dschuyler
On 2016/05/27 17:18:45, dpapad wrote: > Before we decide whether using window.event is OK, I ...
4 years, 6 months ago (2016-05-27 20:29:37 UTC) #10
dpapad
LGTM Thanks for taking the time to consider alternative approaches. I agree that it is ...
4 years, 6 months ago (2016-05-27 20:39:46 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2018753002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2018753002/60001
4 years, 6 months ago (2016-05-27 21:53:22 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: closure_compilation on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/closure_compilation/builds/383)
4 years, 6 months ago (2016-05-27 22:10:02 UTC) #15
Dan Beam
https://codereview.chromium.org/2018753002/diff/60001/chrome/browser/resources/settings/settings_page/settings_animated_pages.js File chrome/browser/resources/settings/settings_page/settings_animated_pages.js (right): https://codereview.chromium.org/2018753002/diff/60001/chrome/browser/resources/settings/settings_page/settings_animated_pages.js#newcode149 chrome/browser/resources/settings/settings_page/settings_animated_pages.js:149: // The event var is a global reference to ...
4 years, 6 months ago (2016-05-27 22:24:06 UTC) #16
dschuyler
https://codereview.chromium.org/2018753002/diff/60001/chrome/browser/resources/settings/settings_page/settings_animated_pages.js File chrome/browser/resources/settings/settings_page/settings_animated_pages.js (right): https://codereview.chromium.org/2018753002/diff/60001/chrome/browser/resources/settings/settings_page/settings_animated_pages.js#newcode149 chrome/browser/resources/settings/settings_page/settings_animated_pages.js:149: // The event var is a global reference to ...
4 years, 6 months ago (2016-05-28 00:09:03 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2018753002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2018753002/80001
4 years, 6 months ago (2016-05-28 00:40:00 UTC) #20
commit-bot: I haz the power
Committed patchset #4 (id:80001)
4 years, 6 months ago (2016-05-28 00:55:38 UTC) #21
commit-bot: I haz the power
4 years, 6 months ago (2016-05-28 00:57:10 UTC) #23
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/ffbbd3f14353bf8d981ccbddff84a48a8326c936
Cr-Commit-Position: refs/heads/master@{#396615}

Powered by Google App Engine
This is Rietveld 408576698