ChromeOS: Update Welcome screen material design OOBE.
This CL updates Welcome screen to match the new mocks.
BUG=604119
TEST=none
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
Committed: https://crrev.com/e285449e2f13d8bd0a931a6becdee1a0f2d2cb48
Cr-Commit-Position: refs/heads/master@{#425890}
Description was changed from ========== ChromeOS: Update Welcome screen material design OOBE. This CL updates ...
4 years, 2 months ago
(2016-10-07 04:02:31 UTC)
#1
Description was changed from
==========
ChromeOS: Update Welcome screen material design OOBE.
This CL updates Welcome screen to match the new mocks.
BUG=604119
TEST=none
==========
to
==========
ChromeOS: Update Welcome screen material design OOBE.
This CL updates Welcome screen to match the new mocks.
BUG=604119
TEST=none
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
==========
Dry run: Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/156135)
4 years, 2 months ago
(2016-10-07 05:43:30 UTC)
#7
https://codereview.chromium.org/2398383002/diff/20001/chrome/browser/resources/chromeos/login/login_non_lock_shared.html File chrome/browser/resources/chromeos/login/login_non_lock_shared.html (right): https://codereview.chromium.org/2398383002/diff/20001/chrome/browser/resources/chromeos/login/login_non_lock_shared.html#newcode6 chrome/browser/resources/chromeos/login/login_non_lock_shared.html:6: <!-- There is no way to include custom style, ...
4 years, 2 months ago
(2016-10-09 21:02:51 UTC)
#8
https://codereview.chromium.org/2398383002/diff/20001/chrome/browser/resources/chromeos/login/login_non_lock_shared.html File chrome/browser/resources/chromeos/login/login_non_lock_shared.html (right): https://codereview.chromium.org/2398383002/diff/20001/chrome/browser/resources/chromeos/login/login_non_lock_shared.html#newcode6 chrome/browser/resources/chromeos/login/login_non_lock_shared.html:6: <!-- There is no way to include custom style, ...
4 years, 2 months ago
(2016-10-11 00:01:53 UTC)
#9
https://codereview.chromium.org/2398383002/diff/20001/chrome/browser/resources/chromeos/login/oobe_buttons.html File chrome/browser/resources/chromeos/login/oobe_buttons.html (right): https://codereview.chromium.org/2398383002/diff/20001/chrome/browser/resources/chromeos/login/oobe_buttons.html#newcode24 chrome/browser/resources/chromeos/login/oobe_buttons.html:24: <dom-module id="oobe-text-button"> On 2016/10/11 00:01:53, Alexander Alekseev wrote: > ...
4 years, 2 months ago
(2016-10-14 16:45:21 UTC)
#10
https://codereview.chromium.org/2398383002/diff/20001/chrome/browser/resource...
File chrome/browser/resources/chromeos/login/oobe_buttons.html (right):
https://codereview.chromium.org/2398383002/diff/20001/chrome/browser/resource...
chrome/browser/resources/chromeos/login/oobe_buttons.html:24: <dom-module
id="oobe-text-button">
On 2016/10/11 00:01:53, Alexander Alekseev wrote:
> On 2016/10/09 21:02:51, michaelpg (OOO M-W) wrote:
> > why not just use <paper-button> with a class that you provide styling for? I
> > don't see this wrapper adding anything, and the cost is clear (complexity,
> extra
> > DOM nodes, copying code for focus() and onClick_())
>
> The basic idea was to group elements by type and have only one implementation.
I
> think it is a very polymer-like way to implement UI, isn't it? ;)
Not when it comes to wrapping elements for the sake of wrapping; there's nothing
private or special about this implementation.
I'm not sure what you mean by grouping elements and having only one
implementation. oobe-text-button and oobe-welcome-secondary-button both have
implementations that amount to just wrapping the buttons (and why doesn't
oobe-welcome-secondary-button have focus() or onClick overrides?)
>
> I could probably rename it to 'oobe-navigational-button' as it is used as
"Next"
> button only (but I am going to add some "back" instances as well).
>
>
https://codereview.chromium.org/2398383002/diff/20001/chrome/browser/resource...
File chrome/browser/resources/chromeos/login/oobe_welcome_dialog.html (right):
https://codereview.chromium.org/2398383002/diff/20001/chrome/browser/resource...
chrome/browser/resources/chromeos/login/oobe_welcome_dialog.html:19: <img
id="welcomeIllustration" src="images/welcome_illustration_2x.png">
On 2016/10/11 00:01:53, Alexander Alekseev wrote:
> On 2016/10/09 21:02:51, michaelpg (OOO M-W) wrote:
> > shouldn't this depend on screen density?
>
> Yes, it should. But this is going to be another CL.
add a TODO
4 years, 2 months ago
(2016-10-15 00:23:17 UTC)
#11
https://codereview.chromium.org/2398383002/diff/20001/chrome/browser/resource...
File chrome/browser/resources/chromeos/login/oobe_buttons.html (right):
https://codereview.chromium.org/2398383002/diff/20001/chrome/browser/resource...
chrome/browser/resources/chromeos/login/oobe_buttons.html:24: <dom-module
id="oobe-text-button">
On 2016/10/14 16:45:21, michaelpg (OOO M-W) wrote:
> On 2016/10/11 00:01:53, Alexander Alekseev wrote:
> > On 2016/10/09 21:02:51, michaelpg (OOO M-W) wrote:
> > > why not just use <paper-button> with a class that you provide styling for?
I
> > > don't see this wrapper adding anything, and the cost is clear (complexity,
> > extra
> > > DOM nodes, copying code for focus() and onClick_())
> >
> > The basic idea was to group elements by type and have only one
implementation.
> I
> > think it is a very polymer-like way to implement UI, isn't it? ;)
>
> Not when it comes to wrapping elements for the sake of wrapping; there's
nothing
> private or special about this implementation.
>
> I'm not sure what you mean by grouping elements and having only one
> implementation. oobe-text-button and oobe-welcome-secondary-button both have
> implementations that amount to just wrapping the buttons
I believe that it is much better to make design structure clearly visible in
implementation.
If designer calls these two (actually three) buttons as "secondary buttons", we
should have them in implementation as "secondary buttons". HTML templates allow
us to have them as separate objects, which is very nice.
It also simplifies and localizes styles for this element.
> (and why doesn't oobe-welcome-secondary-button have focus() or onClick
> overrides?)
I believe this affects mostly accessibility functions and we didn't test it yet.
I think it is better to land changes in reasonably sized changes.
As soon as this is landed, we can update dependent screens and then fix issues
with different screen PPI, keyboard navigation, etc.
> > I could probably rename it to 'oobe-navigational-button' as it is used as
> "Next"
> > button only (but I am going to add some "back" instances as well).
https://codereview.chromium.org/2398383002/diff/20001/chrome/browser/resource...
File chrome/browser/resources/chromeos/login/oobe_welcome_dialog.html (right):
https://codereview.chromium.org/2398383002/diff/20001/chrome/browser/resource...
chrome/browser/resources/chromeos/login/oobe_welcome_dialog.html:19: <img
id="welcomeIllustration" src="images/welcome_illustration_2x.png">
On 2016/10/14 16:45:21, michaelpg (OOO M-W) wrote:
> On 2016/10/11 00:01:53, Alexander Alekseev wrote:
> > On 2016/10/09 21:02:51, michaelpg (OOO M-W) wrote:
> > > shouldn't this depend on screen density?
> >
> > Yes, it should. But this is going to be another CL.
>
> add a TODO
Done.
michaelpg
lgtm https://codereview.chromium.org/2398383002/diff/20001/chrome/browser/resources/chromeos/login/oobe_buttons.html File chrome/browser/resources/chromeos/login/oobe_buttons.html (right): https://codereview.chromium.org/2398383002/diff/20001/chrome/browser/resources/chromeos/login/oobe_buttons.html#newcode24 chrome/browser/resources/chromeos/login/oobe_buttons.html:24: <dom-module id="oobe-text-button"> On 2016/10/15 00:23:16, Alexander Alekseev wrote: ...
4 years, 2 months ago
(2016-10-16 22:49:24 UTC)
#12
lgtm
https://codereview.chromium.org/2398383002/diff/20001/chrome/browser/resource...
File chrome/browser/resources/chromeos/login/oobe_buttons.html (right):
https://codereview.chromium.org/2398383002/diff/20001/chrome/browser/resource...
chrome/browser/resources/chromeos/login/oobe_buttons.html:24: <dom-module
id="oobe-text-button">
On 2016/10/15 00:23:16, Alexander Alekseev wrote:
> On 2016/10/14 16:45:21, michaelpg (OOO M-W) wrote:
> > On 2016/10/11 00:01:53, Alexander Alekseev wrote:
> > > On 2016/10/09 21:02:51, michaelpg (OOO M-W) wrote:
> > > > why not just use <paper-button> with a class that you provide styling
for?
> I
> > > > don't see this wrapper adding anything, and the cost is clear
(complexity,
> > > extra
> > > > DOM nodes, copying code for focus() and onClick_())
> > >
> > > The basic idea was to group elements by type and have only one
> implementation.
> > I
> > > think it is a very polymer-like way to implement UI, isn't it? ;)
> >
> > Not when it comes to wrapping elements for the sake of wrapping; there's
> nothing
> > private or special about this implementation.
> >
> > I'm not sure what you mean by grouping elements and having only one
> > implementation. oobe-text-button and oobe-welcome-secondary-button both have
> > implementations that amount to just wrapping the buttons
>
> I believe that it is much better to make design structure clearly visible in
> implementation.
> If designer calls these two (actually three) buttons as "secondary buttons",
we
> should have them in implementation as "secondary buttons". HTML templates
allow
> us to have them as separate objects, which is very nice.
OK. I don't agree when it comes to elements this simple -- this is what CSS
classes are designed for -- but won't press it further (and it's not a huge deal
either way).
>
> It also simplifies and localizes styles for this element.
>
> > (and why doesn't oobe-welcome-secondary-button have focus() or onClick
> > overrides?)
>
> I believe this affects mostly accessibility functions and we didn't test it
yet.
> I think it is better to land changes in reasonably sized changes.
>
> As soon as this is landed, we can update dependent screens and then fix issues
> with different screen PPI, keyboard navigation, etc.
SGTM, as long as we understand we can't ship this UI as default until it's
sufficiently accessible.
>
> > > I could probably rename it to 'oobe-navigational-button' as it is used as
> > "Next"
> > > button only (but I am going to add some "back" instances as well).
>
Alexander Alekseev
Thank you!
4 years, 2 months ago
(2016-10-18 04:04:31 UTC)
#13
Thank you!
Alexander Alekseev
The CQ bit was checked by alemate@chromium.org
4 years, 2 months ago
(2016-10-18 04:04:48 UTC)
#14
4 years, 2 months ago
(2016-10-18 05:51:06 UTC)
#16
Message was sent while issue was closed.
Committed patchset #5 (id:80001)
commit-bot: I haz the power
Description was changed from ========== ChromeOS: Update Welcome screen material design OOBE. This CL updates ...
4 years, 2 months ago
(2016-10-18 05:53:07 UTC)
#17
Message was sent while issue was closed.
Description was changed from
==========
ChromeOS: Update Welcome screen material design OOBE.
This CL updates Welcome screen to match the new mocks.
BUG=604119
TEST=none
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
==========
to
==========
ChromeOS: Update Welcome screen material design OOBE.
This CL updates Welcome screen to match the new mocks.
BUG=604119
TEST=none
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
Committed: https://crrev.com/e285449e2f13d8bd0a931a6becdee1a0f2d2cb48
Cr-Commit-Position: refs/heads/master@{#425890}
==========
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/e285449e2f13d8bd0a931a6becdee1a0f2d2cb48 Cr-Commit-Position: refs/heads/master@{#425890}
4 years, 2 months ago
(2016-10-18 05:53:08 UTC)
#18
Issue 2398383002: ChromeOS: Update Welcome screen material design OOBE.
(Closed)
Created 4 years, 2 months ago by Alexander Alekseev
Modified 4 years, 2 months ago
Reviewers: michaelpg
Base URL:
Comments: 20