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

Issue 2669073002: MD Settings: Allow controlled-button to be used with icons. (Closed)

Created:
3 years, 10 months ago by scottchen
Modified:
3 years, 10 months ago
CC:
chromium-reviews, michaelpg+watch-md-settings_chromium.org, michaelpg+watch-md-ui_chromium.org, dbeam+watch-settings_chromium.org, stevenjb+watch-md-settings_chromium.org, arv+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

MD Settings: Allow controlled-button to be used with icons. The goal is to "replace CHANGE button with outlink icon". -- Edit: Rediscussed with designer, concluded on not moving forward with this change. BUG=684152 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation

Patch Set 1 #

Patch Set 2 : remove unused string #

Total comments: 2

Patch Set 3 : add comment about iconClass #

Total comments: 2

Patch Set 4 : have the parent row of the controlled-button disable/enable based on controlled-button state #

Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -19 lines) Patch
M chrome/app/settings_strings.grdp View 1 2 3 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/resources/settings/controls/controlled_button.html View 1 2 3 2 chunks +11 lines, -4 lines 0 comments Download
M chrome/browser/resources/settings/controls/controlled_button.js View 1 2 3 1 chunk +13 lines, -1 line 0 comments Download
M chrome/browser/resources/settings/downloads_page/downloads_page.html View 1 2 3 2 chunks +11 lines, -10 lines 0 comments Download
M chrome/browser/resources/settings/downloads_page/downloads_page.js View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 21 (11 generated)
scottchen
See before after: http://imgur.com/a/XVPDv
3 years, 10 months ago (2017-02-02 01:24:54 UTC) #3
tommycli
lgtm sans: https://codereview.chromium.org/2669073002/diff/20001/chrome/browser/resources/settings/controls/controlled_button.js File chrome/browser/resources/settings/controls/controlled_button.js (right): https://codereview.chromium.org/2669073002/diff/20001/chrome/browser/resources/settings/controls/controlled_button.js#newcode21 chrome/browser/resources/settings/controls/controlled_button.js:21: iconClass: { Please add some commentary that ...
3 years, 10 months ago (2017-02-02 22:20:54 UTC) #6
scottchen
https://codereview.chromium.org/2669073002/diff/20001/chrome/browser/resources/settings/controls/controlled_button.js File chrome/browser/resources/settings/controls/controlled_button.js (right): https://codereview.chromium.org/2669073002/diff/20001/chrome/browser/resources/settings/controls/controlled_button.js#newcode21 chrome/browser/resources/settings/controls/controlled_button.js:21: iconClass: { On 2017/02/02 22:20:54, tommycli wrote: > Please ...
3 years, 10 months ago (2017-02-02 22:46:42 UTC) #7
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/2669073002/40001
3 years, 10 months ago (2017-02-02 22:47:17 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_swarming_rel/builds/111809)
3 years, 10 months ago (2017-02-03 00:48:13 UTC) #12
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/2669073002/40001
3 years, 10 months ago (2017-02-03 01:34:34 UTC) #14
dschuyler
https://codereview.chromium.org/2669073002/diff/40001/chrome/browser/resources/settings/controls/controlled_button.html File chrome/browser/resources/settings/controls/controlled_button.html (right): https://codereview.chromium.org/2669073002/diff/40001/chrome/browser/resources/settings/controls/controlled_button.html#newcode44 chrome/browser/resources/settings/controls/controlled_button.html:44: actionable class$="{{iconClass}}"></button> Can this use one-way binding instead of ...
3 years, 10 months ago (2017-02-03 01:39:30 UTC) #15
scottchen
+ dbeam@ Wondering what your thoughts are on: - the code change - the UX ...
3 years, 10 months ago (2017-02-03 22:15:57 UTC) #18
Dan Beam
why can't we just change from <paper-button> <content></content> </paper-button> <controlled-button>label</controlled-button> to <content></content> <controlled-button> <paper-button>label</paper-button> <controlled-button> ...
3 years, 10 months ago (2017-02-06 17:37:43 UTC) #19
Dan Beam
3 years, 10 months ago (2017-02-06 17:38:47 UTC) #20
we could also just not use controlled-button for this

I also don't like the UI being proposed

Powered by Google App Engine
This is Rietveld 408576698