Switch MD Settings to paper-dropdown-menu-light
paper-dropdown-menu-light is similar to paper-dropdown-menu but uses
a native <input> directly instead of a <paper-input>.
BUG=602896R=stevenjb@chromium.org
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
Committed: https://crrev.com/7a572e07f74c26470f9651cb39161fbcab67d0ec
Cr-Commit-Position: refs/heads/master@{#415049}
Description was changed from ========== Switch MD Settings to paper-dropdown-menu-light paper-dropdown-menu-light is similar to paper-dropdown-menu ...
4 years, 4 months ago
(2016-08-06 00:34:00 UTC)
#1
Description was changed from
==========
Switch MD Settings to paper-dropdown-menu-light
paper-dropdown-menu-light is similar to paper-dropdown-menu but uses
a native <input> directly instead of a <paper-input>.
BUG=602896
R=stevenjb@chromium.org
==========
to
==========
Switch MD Settings to paper-dropdown-menu-light
paper-dropdown-menu-light is similar to paper-dropdown-menu but uses
a native <input> directly instead of a <paper-input>.
BUG=602896
R=stevenjb@chromium.org
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
==========
michaelpg
4 years, 4 months ago
(2016-08-08 18:26:36 UTC)
#2
stevenjb
Cheers! LGTM
4 years, 4 months ago
(2016-08-08 18:40:26 UTC)
#3
PTAL at the patch diff: I had to make a couple changes to settings-dropdown-menu to ...
4 years, 4 months ago
(2016-08-09 02:35:58 UTC)
#6
PTAL at the patch diff: I had to make a couple changes to settings-dropdown-menu
to get the focus underline working right with the next paper-dropdown-menu-light
patch.
The label="[[menuLabel_]]" bit was making everything difficult and triggering a
bug I can't repro externally. It also *doesn't work* even on ToT; the goal is to
set the label to "Loading..." but it just disables the control until the options
populate. So I removed that to simplify.
Also removed the no-label-float option as *everything* uses no-label-float.
(Ignore the changes to settings_shared_css.html from rebasing.)
stevenjb
dschuyler@ added menuLabel_ to settings-dropdown-menu, so he should take a look at that change, but ...
4 years, 4 months ago
(2016-08-09 17:16:03 UTC)
#7
dschuyler@ added menuLabel_ to settings-dropdown-menu, so he should take a look
at that change, but this lgtm.
dschuyler
Is there a current way to set the "loading..." value with this change? It's unfortunate ...
4 years, 4 months ago
(2016-08-09 17:25:28 UTC)
#8
Note the change in settings_shared_css.html to fix text alignment. I can't repro this in a ...
4 years, 4 months ago
(2016-08-10 19:58:58 UTC)
#9
Note the change in settings_shared_css.html to fix text alignment. I can't repro
this in a fiddle, seems related to font size, so IDK whether it should be a
change in Polymer.
On 2016/08/09 17:25:28, dschuyler wrote:
> Is there a current way to set the "loading..." value with this
> change? It's unfortunate that got broken, since we need it.
No, not with this change. I didn't feel like debugging
paper-dropdown-menu-light, but I can try again if you want me to leave the
broken behavior in.
>
>
https://codereview.chromium.org/2224613003/diff/20001/chrome/browser/resource...
> File
>
chrome/browser/resources/settings/clear_browsing_data_dialog/clear_browsing_data_dialog.html
> (right):
>
>
https://codereview.chromium.org/2224613003/diff/20001/chrome/browser/resource...
>
chrome/browser/resources/settings/clear_browsing_data_dialog/clear_browsing_data_dialog.html:118:
> </span>
> Is this span useful at this point?
https://codereview.chromium.org/2224613003/diff/20001/chrome/browser/resource...
File
chrome/browser/resources/settings/clear_browsing_data_dialog/clear_browsing_data_dialog.html
(right):
https://codereview.chromium.org/2224613003/diff/20001/chrome/browser/resource...
chrome/browser/resources/settings/clear_browsing_data_dialog/clear_browsing_data_dialog.html:118:
</span>
On 2016/08/09 17:25:28, dschuyler wrote:
> Is this span useful at this point?
Apparently not, removed.
dschuyler
On 2016/08/10 19:58:58, michaelpg wrote: > Note the change in settings_shared_css.html to fix text alignment. ...
4 years, 4 months ago
(2016-08-10 21:11:46 UTC)
#10
On 2016/08/10 19:58:58, michaelpg wrote:
> Note the change in settings_shared_css.html to fix text alignment. I can't
repro
> this in a fiddle, seems related to font size, so IDK whether it should be a
> change in Polymer.
>
> On 2016/08/09 17:25:28, dschuyler wrote:
> > Is there a current way to set the "loading..." value with this
> > change? It's unfortunate that got broken, since we need it.
>
> No, not with this change. I didn't feel like debugging
> paper-dropdown-menu-light, but I can try again if you want me to leave the
> broken behavior in.
Yeah, it looks like the no-label-float is making it not appear.
I'd rather that the code was fixed than removed. If you're
not up for fixing it, then leaving the code for me to fix is
better than removing it.
Maybe a TODO would be appropriate?
// TODO(michaelpg): This doesn't currently work (it's blocked by the
no-label-float).
// dschuyler@ is planning on looking into it later. crbug.com/636540.
(I just created that bug for it).
michaelpg
Patchset #5 (id:80001) has been deleted
4 years, 4 months ago
(2016-08-10 23:50:20 UTC)
#11
Patchset #5 (id:80001) has been deleted
michaelpg
On 2016/08/10 21:11:46, dschuyler wrote: > On 2016/08/10 19:58:58, michaelpg wrote: > > Note the ...
4 years, 4 months ago
(2016-08-11 00:13:17 UTC)
#12
On 2016/08/10 21:11:46, dschuyler wrote:
> On 2016/08/10 19:58:58, michaelpg wrote:
> > Note the change in settings_shared_css.html to fix text alignment. I can't
> repro
> > this in a fiddle, seems related to font size, so IDK whether it should be a
> > change in Polymer.
> >
> > On 2016/08/09 17:25:28, dschuyler wrote:
> > > Is there a current way to set the "loading..." value with this
> > > change? It's unfortunate that got broken, since we need it.
> >
> > No, not with this change. I didn't feel like debugging
> > paper-dropdown-menu-light, but I can try again if you want me to leave the
> > broken behavior in.
>
> Yeah, it looks like the no-label-float is making it not appear.
> I'd rather that the code was fixed than removed. If you're
> not up for fixing it, then leaving the code for me to fix is
> better than removing it.
>
> Maybe a TODO would be appropriate?
> // TODO(michaelpg): This doesn't currently work (it's blocked by the
> no-label-float).
> // dschuyler@ is planning on looking into it later. crbug.com/636540.
>
> (I just created that bug for it).
While debugging the focus underline issue I found a simple fix to 636540.
Rebased this on that so there's no TODO.
dschuyler
LGTM with a couple comment comments. https://codereview.chromium.org/2224613003/diff/100001/chrome/browser/resources/settings/controls/settings_dropdown_menu.js File chrome/browser/resources/settings/controls/settings_dropdown_menu.js (right): https://codereview.chromium.org/2224613003/diff/100001/chrome/browser/resources/settings/controls/settings_dropdown_menu.js#newcode99 chrome/browser/resources/settings/controls/settings_dropdown_menu.js:99: // Do not ...
4 years, 4 months ago
(2016-08-11 23:35:26 UTC)
#13
thanks! https://codereview.chromium.org/2224613003/diff/100001/chrome/browser/resources/settings/controls/settings_dropdown_menu.js File chrome/browser/resources/settings/controls/settings_dropdown_menu.js (right): https://codereview.chromium.org/2224613003/diff/100001/chrome/browser/resources/settings/controls/settings_dropdown_menu.js#newcode99 chrome/browser/resources/settings/controls/settings_dropdown_menu.js:99: // Do not set |menuLabel_| to a falsy ...
4 years, 4 months ago
(2016-08-16 23:50:43 UTC)
#14
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/268340)
4 years, 3 months ago
(2016-08-25 04:50:24 UTC)
#20
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/282400)
4 years, 3 months ago
(2016-08-27 00:01:12 UTC)
#24
4 years, 3 months ago
(2016-08-30 03:33:46 UTC)
#33
Message was sent while issue was closed.
Committed patchset #9 (id:180001)
commit-bot: I haz the power
Description was changed from ========== Switch MD Settings to paper-dropdown-menu-light paper-dropdown-menu-light is similar to paper-dropdown-menu ...
4 years, 3 months ago
(2016-08-30 03:35:00 UTC)
#34
Message was sent while issue was closed.
Description was changed from
==========
Switch MD Settings to paper-dropdown-menu-light
paper-dropdown-menu-light is similar to paper-dropdown-menu but uses
a native <input> directly instead of a <paper-input>.
BUG=602896
R=stevenjb@chromium.org
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
==========
to
==========
Switch MD Settings to paper-dropdown-menu-light
paper-dropdown-menu-light is similar to paper-dropdown-menu but uses
a native <input> directly instead of a <paper-input>.
BUG=602896
R=stevenjb@chromium.org
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
Committed: https://crrev.com/7a572e07f74c26470f9651cb39161fbcab67d0ec
Cr-Commit-Position: refs/heads/master@{#415049}
==========
commit-bot: I haz the power
Patchset 9 (id:??) landed as https://crrev.com/7a572e07f74c26470f9651cb39161fbcab67d0ec Cr-Commit-Position: refs/heads/master@{#415049}
4 years, 3 months ago
(2016-08-30 03:35:02 UTC)
#35
Issue 2224613003: Switch MD Settings to paper-dropdown-menu-light
(Closed)
Created 4 years, 4 months ago by michaelpg
Modified 4 years, 3 months ago
Reviewers: stevenjb, dschuyler
Base URL: https://chromium.googlesource.com/chromium/src.git@RollPaperDropdown
Comments: 6