Description was changed from ========== MD Settings: Move easy unlock from people to lock screen. ...
3 years, 8 months ago
(2017-03-30 21:39:11 UTC)
#1
Description was changed from
==========
MD Settings: Move easy unlock from people to lock screen.
BUG=
TEST=none
==========
to
==========
MD Settings: Move easy unlock from people to lock screen.
BUG=
TEST=none
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
==========
sammiequon
Description was changed from ========== MD Settings: Move easy unlock from people to lock screen. ...
3 years, 8 months ago
(2017-04-03 22:52:15 UTC)
#2
Description was changed from
==========
MD Settings: Move easy unlock from people to lock screen.
BUG=
TEST=none
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
==========
to
==========
MD Settings: Move easy unlock from people to lock screen.
Move easy unlock from people to lock screen. Also need to hide it from options,
once it is moved.
BUG=
TEST=none
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
==========
sammiequon
The CQ bit was checked by sammiequon@chromium.org to run a CQ dry run
3 years, 8 months ago
(2017-04-03 22:56:00 UTC)
#3
Dry run: Try jobs failed on following builders: linux_chromium_tsan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_tsan_rel_ng/builds/45182)
3 years, 8 months ago
(2017-04-04 00:35:20 UTC)
#8
Description was changed from ========== MD Settings: Move easy unlock from people to lock screen. ...
3 years, 8 months ago
(2017-04-04 16:53:57 UTC)
#11
Description was changed from
==========
MD Settings: Move easy unlock from people to lock screen.
Move easy unlock from people to lock screen. Also need to hide it from options,
once it is moved.
BUG=
TEST=none
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
==========
to
==========
MD Settings: Move easy unlock from people to lock screen.
Move easy unlock from people to lock screen. Also need to hide it from options,
once it is moved.
BUG=
TEST=browser_tests --gtest_filter="SettingsEasyUnlockBrowserTest*"
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
==========
sammiequon
Description was changed from ========== MD Settings: Move easy unlock from people to lock screen. ...
3 years, 8 months ago
(2017-04-04 16:54:32 UTC)
#12
Description was changed from
==========
MD Settings: Move easy unlock from people to lock screen.
Move easy unlock from people to lock screen. Also need to hide it from options,
once it is moved.
BUG=
TEST=browser_tests --gtest_filter="SettingsEasyUnlockBrowserTest*"
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
==========
to
==========
MD Settings: Move easy unlock from people to lock screen.
Move easy unlock from people to lock screen. Also need to hide it from options,
once it is moved.
BUG=703998
TEST=browser_tests --gtest_filter="SettingsEasyUnlockBrowserTest*"
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
==========
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
3 years, 8 months ago
(2017-04-04 18:10:37 UTC)
#13
3 years, 8 months ago
(2017-04-04 19:02:46 UTC)
#16
jdufault@ - Please take a look. Thanks!
jdufault
lgtm, most of the code was just moved and not changed, right? https://codereview.chromium.org/2787153002/diff/60001/chrome/browser/resources/settings/people_page/lock_screen.html File chrome/browser/resources/settings/people_page/lock_screen.html ...
3 years, 8 months ago
(2017-04-06 21:04:45 UTC)
#17
Thanks! Just moved, plus a couple tweaks (options, tests) to make things work. https://codereview.chromium.org/2787153002/diff/60001/chrome/browser/resources/settings/people_page/lock_screen.html File ...
3 years, 8 months ago
(2017-04-06 22:23:51 UTC)
#18
stevenjb@ - Please take a look. Thanks! https://codereview.chromium.org/2787153002/diff/60001/chrome/browser/resources/settings/people_page/lock_screen.js File chrome/browser/resources/settings/people_page/lock_screen.js (right): https://codereview.chromium.org/2787153002/diff/60001/chrome/browser/resources/settings/people_page/lock_screen.js#newcode291 chrome/browser/resources/settings/people_page/lock_screen.js:291: e.preventDefault(); On ...
3 years, 8 months ago
(2017-04-06 23:36:28 UTC)
#21
stevenjb@ - Please take a look. Thanks!
https://codereview.chromium.org/2787153002/diff/60001/chrome/browser/resource...
File chrome/browser/resources/settings/people_page/lock_screen.js (right):
https://codereview.chromium.org/2787153002/diff/60001/chrome/browser/resource...
chrome/browser/resources/settings/people_page/lock_screen.js:291:
e.preventDefault();
On 2017/04/06 22:31:44, jdufault wrote:
> On 2017/04/06 22:23:50, sammiequon wrote:
> > On 2017/04/06 21:04:45, jdufault wrote:
> > > Can the preventDefault be removed? Looks like this was copied but we
should
> > > figure out why it is there and add a comment.
> >
> > Seems like this is settings-wide thing explicitly added in
> > https://codereview.chromium.org/2557073003. Do we still need a comment?
>
> It if clearly breaks w/o e.preventDefault() no comment, but if the breakage is
> subtle please add one.
Done.
jdufault
https://codereview.chromium.org/2787153002/diff/100001/chrome/browser/resources/settings/people_page/lock_screen.js File chrome/browser/resources/settings/people_page/lock_screen.js (right): https://codereview.chromium.org/2787153002/diff/100001/chrome/browser/resources/settings/people_page/lock_screen.js#newcode291 chrome/browser/resources/settings/people_page/lock_screen.js:291: // Prevent the end of the tap event to ...
3 years, 8 months ago
(2017-04-06 23:40:45 UTC)
#22
https://codereview.chromium.org/2787153002/diff/100001/chrome/browser/resources/settings/people_page/lock_screen.js File chrome/browser/resources/settings/people_page/lock_screen.js (right): https://codereview.chromium.org/2787153002/diff/100001/chrome/browser/resources/settings/people_page/lock_screen.js#newcode291 chrome/browser/resources/settings/people_page/lock_screen.js:291: // Prevent the end of the tap event to ...
3 years, 8 months ago
(2017-04-06 23:56:15 UTC)
#23
3 years, 8 months ago
(2017-04-11 00:28:45 UTC)
#25
https://codereview.chromium.org/2787153002/diff/120001/chrome/browser/resourc...
File chrome/browser/resources/settings/people_page/lock_screen.html (right):
https://codereview.chromium.org/2787153002/diff/120001/chrome/browser/resourc...
chrome/browser/resources/settings/people_page/lock_screen.html:27: padding: 11px
0;
On 2017/04/07 17:54:18, stevenjb wrote:
> We try to avoid this sort of thing as much as possible. Could you clarify the
> comment some? Also, does the padding need to be top and bottom? We probably
also
> shouldn't override the horizontal padding (i.e. use top and or bottom
> explicitly). Can we use a value from settings_shared_css.html?
I'm not entirely sure what this does. I played around with removing it, but I
can't really see a difference. It was added here
https://codereview.chromium.org/2482553002, but maybe its obsolete now?
Ok, I see what it does now, when there's too much element inside .start (when
the easy unlock toggle is shown), the text gets squashed up to the top, so this
11px emulates what happens in regular .start divs, which have a space between
the text and bounds (because they usually only have ore or two lines of text).
I didn't see anything in shared settings with top bottom padding. Would this
comment suffice?
https://codereview.chromium.org/2787153002/diff/120001/chrome/browser/resourc...
chrome/browser/resources/settings/people_page/lock_screen.html:96: </template>
On 2017/04/07 17:54:18, stevenjb wrote:
> Instead of having two templated sections here, just do:
>
> [[getEasyUnlockDescription_(easyUnlockEnabled_,
> '$i18nPolymer{easyUnlockSetupIntro}', '$i18nPolymer{easyUnlockDescription}')]]
Done.
https://codereview.chromium.org/2787153002/diff/120001/chrome/browser/resourc...
chrome/browser/resources/settings/people_page/lock_screen.html:110: </template>
On 2017/04/07 17:54:18, stevenjb wrote:
> Let's clean this up as Dan suggested:
>
> if="[[getShowEasyUnlockToggle(easyUnlockEnabled_,
> easyUnlockProximityDetectionAllowed_)]]"
Done.
https://codereview.chromium.org/2787153002/diff/120001/chrome/browser/resourc...
File chrome/browser/resources/settings/people_page/lock_screen.js (right):
https://codereview.chromium.org/2787153002/diff/120001/chrome/browser/resourc...
chrome/browser/resources/settings/people_page/lock_screen.js:94: },
On 2017/04/07 17:54:19, stevenjb wrote:
> This doesn't look like it needs to be a property? We should set it up
> consistently with fingerprintBrowserProxy_.
Done.
https://codereview.chromium.org/2787153002/diff/120001/chrome/browser/resourc...
chrome/browser/resources/settings/people_page/lock_screen.js:299:
this.showEasyUnlockTurnOffDialog_ = false;
On 2017/04/07 17:54:19, stevenjb wrote:
> We should restore focus to the dialog button on close, see crbug.com/709148
for
> an example CL.
Done.
3 years, 8 months ago
(2017-04-11 17:29:38 UTC)
#26
lgtm w/ nits
https://codereview.chromium.org/2787153002/diff/120001/chrome/browser/resourc...
File chrome/browser/resources/settings/people_page/lock_screen.html (right):
https://codereview.chromium.org/2787153002/diff/120001/chrome/browser/resourc...
chrome/browser/resources/settings/people_page/lock_screen.html:27: padding: 11px
0;
On 2017/04/11 00:28:44, sammiequon wrote:
> On 2017/04/07 17:54:18, stevenjb wrote:
> > We try to avoid this sort of thing as much as possible. Could you clarify
the
> > comment some? Also, does the padding need to be top and bottom? We probably
> also
> > shouldn't override the horizontal padding (i.e. use top and or bottom
> > explicitly). Can we use a value from settings_shared_css.html?
>
> I'm not entirely sure what this does. I played around with removing it, but I
> can't really see a difference. It was added here
> https://codereview.chromium.org/2482553002, but maybe its obsolete now?
>
> Ok, I see what it does now, when there's too much element inside .start (when
> the easy unlock toggle is shown), the text gets squashed up to the top, so
this
> 11px emulates what happens in regular .start divs, which have a space between
> the text and bounds (because they usually only have ore or two lines of text).
>
> I didn't see anything in shared settings with top bottom padding. Would this
> comment suffice?
Ah. Yeah, in that context I gave the benefit of the doubt that it was necessary.
The improved comment helps, thanks.
https://codereview.chromium.org/2787153002/diff/140001/chrome/browser/resourc...
File chrome/browser/resources/settings/people_page/lock_screen.html (right):
https://codereview.chromium.org/2787153002/diff/140001/chrome/browser/resourc...
chrome/browser/resources/settings/people_page/lock_screen.html:95:
'$i18nPolymer{easyUnlockSetupIntro}')]]
nit: indent the two lines above 4 spaces
https://codereview.chromium.org/2787153002/diff/140001/chrome/browser/resourc...
File chrome/browser/resources/settings/people_page/lock_screen.js (right):
https://codereview.chromium.org/2787153002/diff/140001/chrome/browser/resourc...
chrome/browser/resources/settings/people_page/lock_screen.js:37: setModes_:
{type: Object, observer: 'onSetModesChanged_'},
nit: You can force multiple lines here (which I prefer) by adding a trailing
comma after the last entry.
https://codereview.chromium.org/2787153002/diff/140001/chrome/browser/resourc...
chrome/browser/resources/settings/people_page/lock_screen.js:308: return
disabledStr;
nit: return enabled ? enabledStr : disabledStr;
https://codereview.chromium.org/2787153002/diff/140001/chrome/browser/resourc...
chrome/browser/resources/settings/people_page/lock_screen.js:312: * @param
{boolean} enabled
nit: easyUnlockEnabled (here and below)
Try jobs failed on following builders: closure_compilation on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/closure_compilation/builds/7721)
3 years, 8 months ago
(2017-04-11 21:51:58 UTC)
#32
CQ is committing da patch. Bot data: {"patchset_id": 180001, "attempt_start_ts": 1492030383977100, "parent_rev": "b452deb2b1802b68bf9662308074e4b10904f709", "commit_rev": "d604829444fd37a2f3394551d60573d2ddf351cd"}
3 years, 8 months ago
(2017-04-12 22:15:17 UTC)
#40
CQ is committing da patch.
Bot data: {"patchset_id": 180001, "attempt_start_ts": 1492030383977100,
"parent_rev": "b452deb2b1802b68bf9662308074e4b10904f709", "commit_rev":
"d604829444fd37a2f3394551d60573d2ddf351cd"}
commit-bot: I haz the power
CQ is committing da patch. Bot data: {"patchset_id": 180001, "attempt_start_ts": 1492030383977100, "parent_rev": "e709567885e3c8133d1e5260df3b653c329b7d55", "commit_rev": "598efef49cb88d56172cf5d69f7cccde5cbbc4bb"}
3 years, 8 months ago
(2017-04-12 22:21:26 UTC)
#41
CQ is committing da patch.
Bot data: {"patchset_id": 180001, "attempt_start_ts": 1492030383977100,
"parent_rev": "e709567885e3c8133d1e5260df3b653c329b7d55", "commit_rev":
"598efef49cb88d56172cf5d69f7cccde5cbbc4bb"}
commit-bot: I haz the power
Description was changed from ========== MD Settings: Move easy unlock from people to lock screen. ...
3 years, 8 months ago
(2017-04-12 22:22:31 UTC)
#42
Message was sent while issue was closed.
Description was changed from
==========
MD Settings: Move easy unlock from people to lock screen.
Move easy unlock from people to lock screen. Also need to hide it from options,
once it is moved.
BUG=703998
TEST=browser_tests --gtest_filter="SettingsEasyUnlockBrowserTest*"
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
==========
to
==========
MD Settings: Move easy unlock from people to lock screen.
Move easy unlock from people to lock screen. Also need to hide it from options,
once it is moved.
BUG=703998
TEST=browser_tests --gtest_filter="SettingsEasyUnlockBrowserTest*"
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
Review-Url: https://codereview.chromium.org/2787153002
Cr-Commit-Position: refs/heads/master@{#464172}
Committed:
https://chromium.googlesource.com/chromium/src/+/598efef49cb88d56172cf5d69f7c...
==========
commit-bot: I haz the power
Committed patchset #10 (id:180001) as https://chromium.googlesource.com/chromium/src/+/598efef49cb88d56172cf5d69f7cccde5cbbc4bb
3 years, 8 months ago
(2017-04-12 22:22:42 UTC)
#43
Issue 2787153002: MD Settings: Move easy unlock from people to lock screen.
(Closed)
Created 3 years, 8 months ago by sammiequon
Modified 3 years, 8 months ago
Reviewers: jdufault, stevenjb
Base URL:
Comments: 27