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

Issue 2420833002: MD Settings: rework how advanced UI shows (Closed)

Created:
4 years, 2 months ago by Dan Beam
Modified:
4 years, 2 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
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

MD Settings: rework how advanced UI shows Before, there were some events. And booleans. And maybe some binding. It generally worked, but it was a little complex. Now there's just 2-way bindings everywhere. Changes from toggling the advanced buttons in the main UI or in the nav flow to all other parties. I also checked that opening a page like /clearBrowserData works (all advanced toggles and states work as expected). Also, we probably had to call .open() or .close() explicitly because <paper-submenu> has a bug when using only the opened="{{binding}}": https://github.com/PolymerElements/paper-menu/issues/88 A fix for that bug is here: https://github.com/PolymerElements/paper-menu/pull/107 I might also make a local change in Chrome's fork of Polymer if we must. R=dpapad@chromium.org BUG=650951 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/5f9bf9e2c68a25b9bd02639c70d31c9c627cb458 Cr-Commit-Position: refs/heads/master@{#425795}

Patch Set 1 #

Patch Set 2 : fix tests #

Total comments: 8

Patch Set 3 : more tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -43 lines) Patch
M chrome/browser/resources/settings/settings_main/settings_main.html View 1 chunk +3 lines, -4 lines 0 comments Download
M chrome/browser/resources/settings/settings_main/settings_main.js View 5 chunks +6 lines, -11 lines 0 comments Download
M chrome/browser/resources/settings/settings_menu/settings_menu.html View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/resources/settings/settings_menu/settings_menu.js View 2 chunks +5 lines, -20 lines 0 comments Download
M chrome/browser/resources/settings/settings_ui/settings_ui.html View 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/resources/settings/settings_ui/settings_ui.js View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/test/data/webui/settings/settings_menu_test.js View 1 2 2 chunks +24 lines, -4 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 26 (18 generated)
Dan Beam
4 years, 2 months ago (2016-10-14 02:45:27 UTC) #2
Dan Beam
note: this will result in "double tap" bug with these steps: 0) open chrome://md-settings 1) ...
4 years, 2 months ago (2016-10-14 02:47:22 UTC) #3
Dan Beam
-dschuyler@ +dpapad@
4 years, 2 months ago (2016-10-14 23:12:24 UTC) #14
dpapad
LGTM with optional test improvement suggestion. https://codereview.chromium.org/2420833002/diff/20001/chrome/browser/resources/settings/settings_menu/settings_menu.js File chrome/browser/resources/settings/settings_menu/settings_menu.js (left): https://codereview.chromium.org/2420833002/diff/20001/chrome/browser/resources/settings/settings_menu/settings_menu.js#oldcode27 chrome/browser/resources/settings/settings_menu/settings_menu.js:27: attached: function() { ...
4 years, 2 months ago (2016-10-17 19:11:43 UTC) #15
Dan Beam
https://codereview.chromium.org/2420833002/diff/20001/chrome/browser/resources/settings/settings_menu/settings_menu.js File chrome/browser/resources/settings/settings_menu/settings_menu.js (left): https://codereview.chromium.org/2420833002/diff/20001/chrome/browser/resources/settings/settings_menu/settings_menu.js#oldcode27 chrome/browser/resources/settings/settings_menu/settings_menu.js:27: attached: function() { On 2016/10/17 19:11:43, dpapad wrote: > ...
4 years, 2 months ago (2016-10-17 20:52:17 UTC) #16
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/2420833002/40001
4 years, 2 months ago (2016-10-17 21:39:08 UTC) #22
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 2 months ago (2016-10-17 22:35:26 UTC) #24
commit-bot: I haz the power
4 years, 2 months ago (2016-10-17 22:37:07 UTC) #26
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/5f9bf9e2c68a25b9bd02639c70d31c9c627cb458
Cr-Commit-Position: refs/heads/master@{#425795}

Powered by Google App Engine
This is Rietveld 408576698