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

Issue 2702523005: MD Settings: long dialog body should have overscroll line. (Closed)

Created:
3 years, 10 months ago by scottchen
Modified:
3 years, 8 months ago
Reviewers:
stevenjb, 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/heads/master
Project:
chromium
Visibility:
Public.

Description

MD Settings: long dialog body should have overscroll line. BUG=684152, 595804 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2702523005 Cr-Original-Commit-Position: refs/heads/master@{#460937} Committed: https://chromium.googlesource.com/chromium/src/+/27793e2b00cd4f06e24cde9599be5693006ed02b Review-Url: https://codereview.chromium.org/2702523005 Cr-Commit-Position: refs/heads/master@{#461264} Committed: https://chromium.googlesource.com/chromium/src/+/a4c0720e53ea714a31f27ee2a8c4bf6ec2841a34

Patch Set 1 #

Total comments: 4

Patch Set 2 : redo overscroll border using IntersectionObserver #

Patch Set 3 : minimize code #

Patch Set 4 : add test for cr-dialog intersection observer logic #

Patch Set 5 : format and annotation #

Total comments: 14

Patch Set 6 : fixes based on comments #

Total comments: 8

Patch Set 7 : update based on comments #

Patch Set 8 : revert format change #

Total comments: 7

Patch Set 9 : fixes based on comments #

Patch Set 10 : resubmit dialog scroll-border CL with less flaky test. #

Total comments: 2

Patch Set 11 : restructure test based on comments #

Total comments: 6

Patch Set 12 : remove unnecessary dependency #

Patch Set 13 : cleanup #

Patch Set 14 : remove unused variable #

Messages

Total messages: 67 (31 generated)
scottchen
demo video: https://drive.google.com/open?id=0ByIc0PEad7DmZm1uSGg0dWdFNVE https://codereview.chromium.org/2702523005/diff/1/chrome/browser/resources/settings/passwords_and_forms_page/address_edit_dialog.html File chrome/browser/resources/settings/passwords_and_forms_page/address_edit_dialog.html (right): https://codereview.chromium.org/2702523005/diff/1/chrome/browser/resources/settings/passwords_and_forms_page/address_edit_dialog.html#newcode59 chrome/browser/resources/settings/passwords_and_forms_page/address_edit_dialog.html:59: border-top-color: transparent; This is to prevent ...
3 years, 10 months ago (2017-02-17 22:40:04 UTC) #3
dpapad
https://codereview.chromium.org/2702523005/diff/1/chrome/browser/resources/settings/passwords_and_forms_page/address_edit_dialog.js File chrome/browser/resources/settings/passwords_and_forms_page/address_edit_dialog.js (right): https://codereview.chromium.org/2702523005/diff/1/chrome/browser/resources/settings/passwords_and_forms_page/address_edit_dialog.js#newcode17 chrome/browser/resources/settings/passwords_and_forms_page/address_edit_dialog.js:17: CrScrollableBehavior CrScrollableBehavior as advertized is meant to be used ...
3 years, 10 months ago (2017-02-18 00:37:17 UTC) #4
scottchen
https://codereview.chromium.org/2702523005/diff/1/chrome/browser/resources/settings/passwords_and_forms_page/address_edit_dialog.js File chrome/browser/resources/settings/passwords_and_forms_page/address_edit_dialog.js (right): https://codereview.chromium.org/2702523005/diff/1/chrome/browser/resources/settings/passwords_and_forms_page/address_edit_dialog.js#newcode17 chrome/browser/resources/settings/passwords_and_forms_page/address_edit_dialog.js:17: CrScrollableBehavior On 2017/02/18 00:37:17, dpapad wrote: > CrScrollableBehavior as ...
3 years, 10 months ago (2017-02-18 01:18:57 UTC) #5
dpapad
On 2017/02/18 at 01:18:57, scottchen wrote: > https://codereview.chromium.org/2702523005/diff/1/chrome/browser/resources/settings/passwords_and_forms_page/address_edit_dialog.js > File chrome/browser/resources/settings/passwords_and_forms_page/address_edit_dialog.js (right): > > https://codereview.chromium.org/2702523005/diff/1/chrome/browser/resources/settings/passwords_and_forms_page/address_edit_dialog.js#newcode17 ...
3 years, 10 months ago (2017-02-21 18:49:32 UTC) #7
stevenjb
https://codereview.chromium.org/2702523005/diff/1/chrome/browser/resources/settings/passwords_and_forms_page/address_edit_dialog.js File chrome/browser/resources/settings/passwords_and_forms_page/address_edit_dialog.js (right): https://codereview.chromium.org/2702523005/diff/1/chrome/browser/resources/settings/passwords_and_forms_page/address_edit_dialog.js#newcode17 chrome/browser/resources/settings/passwords_and_forms_page/address_edit_dialog.js:17: CrScrollableBehavior On 2017/02/18 01:18:56, scottchen wrote: > On 2017/02/18 ...
3 years, 10 months ago (2017-02-21 19:38:13 UTC) #8
Dan Beam
On 2017/02/21 18:49:32, dpapad wrote: > On 2017/02/18 at 01:18:57, scottchen wrote: > > > ...
3 years, 10 months ago (2017-02-21 20:06:13 UTC) #9
scottchen
On 2017/02/21 20:06:13, Dan Beam wrote: > On 2017/02/21 18:49:32, dpapad wrote: > > On ...
3 years, 10 months ago (2017-02-21 20:13:12 UTC) #10
scottchen
On 2017/02/21 18:49:32, dpapad wrote: > On 2017/02/18 at 01:18:57, scottchen wrote: > > > ...
3 years, 10 months ago (2017-02-21 20:15:15 UTC) #11
dpapad
> that's not how material design works. there's a border if there's more content. that's ...
3 years, 10 months ago (2017-02-21 20:16:41 UTC) #12
dpapad
FYI, https://bugs.chromium.org/p/chromium/issues/detail?id=595804 also refers to what this CL is attempting to address.
3 years, 10 months ago (2017-02-22 00:53:19 UTC) #13
scottchen
On 2017/02/22 00:53:19, dpapad wrote: > FYI, https://bugs.chromium.org/p/chromium/issues/detail?id=595804 also refers to > what this CL ...
3 years, 10 months ago (2017-02-22 18:35:10 UTC) #14
dpapad
On 2017/02/22 at 18:35:10, scottchen wrote: > On 2017/02/22 00:53:19, dpapad wrote: > > FYI, ...
3 years, 10 months ago (2017-02-22 19:02:15 UTC) #15
scottchen
On 2017/02/22 19:02:15, dpapad wrote: > On 2017/02/22 at 18:35:10, scottchen wrote: > > On ...
3 years, 10 months ago (2017-02-22 19:33:38 UTC) #16
scottchen
On 2017/02/22 19:33:38, scottchen wrote: > On 2017/02/22 19:02:15, dpapad wrote: > > On 2017/02/22 ...
3 years, 9 months ago (2017-03-24 00:41:53 UTC) #17
dpapad
> The bug is now marked as beta-blocker (see: https://bugs.chromium.org/p/chromium/issues/detail?id=595804) and had more time for ...
3 years, 9 months ago (2017-03-25 01:34:00 UTC) #18
scottchen
I redid the effects using InteractionObserver, this CL is ready for review. Closure compiler will ...
3 years, 8 months ago (2017-03-29 01:05:13 UTC) #23
dpapad
https://codereview.chromium.org/2702523005/diff/80001/chrome/test/data/webui/cr_elements/cr_dialog_test.js File chrome/test/data/webui/cr_elements/cr_dialog_test.js (right): https://codereview.chromium.org/2702523005/diff/80001/chrome/test/data/webui/cr_elements/cr_dialog_test.js#newcode50 chrome/test/data/webui/cr_elements/cr_dialog_test.js:50: <dialog is="cr-dialog" id="dialog"> Is the id used anywhere? https://codereview.chromium.org/2702523005/diff/80001/chrome/test/data/webui/cr_elements/cr_dialog_test.js#newcode60 ...
3 years, 8 months ago (2017-03-29 17:42:16 UTC) #26
scottchen
https://codereview.chromium.org/2702523005/diff/80001/chrome/test/data/webui/cr_elements/cr_dialog_test.js File chrome/test/data/webui/cr_elements/cr_dialog_test.js (right): https://codereview.chromium.org/2702523005/diff/80001/chrome/test/data/webui/cr_elements/cr_dialog_test.js#newcode50 chrome/test/data/webui/cr_elements/cr_dialog_test.js:50: <dialog is="cr-dialog" id="dialog"> On 2017/03/29 17:42:16, dpapad wrote: > ...
3 years, 8 months ago (2017-03-29 21:02:08 UTC) #28
dpapad
https://codereview.chromium.org/2702523005/diff/100001/ui/webui/resources/cr_elements/cr_dialog/cr_dialog.html File ui/webui/resources/cr_elements/cr_dialog/cr_dialog.html (right): https://codereview.chromium.org/2702523005/diff/100001/ui/webui/resources/cr_elements/cr_dialog/cr_dialog.html#newcode67 ui/webui/resources/cr_elements/cr_dialog/cr_dialog.html:67: } How about moving those border showing related rules ...
3 years, 8 months ago (2017-03-29 21:12:22 UTC) #29
scottchen
https://codereview.chromium.org/2702523005/diff/100001/ui/webui/resources/cr_elements/cr_dialog/cr_dialog.html File ui/webui/resources/cr_elements/cr_dialog/cr_dialog.html (right): https://codereview.chromium.org/2702523005/diff/100001/ui/webui/resources/cr_elements/cr_dialog/cr_dialog.html#newcode67 ui/webui/resources/cr_elements/cr_dialog/cr_dialog.html:67: } On 2017/03/29 21:12:22, dpapad wrote: > How about ...
3 years, 8 months ago (2017-03-30 06:42:48 UTC) #30
dpapad
https://codereview.chromium.org/2702523005/diff/100001/chrome/browser/resources/settings/passwords_and_forms_page/address_edit_dialog.js File chrome/browser/resources/settings/passwords_and_forms_page/address_edit_dialog.js (right): https://codereview.chromium.org/2702523005/diff/100001/chrome/browser/resources/settings/passwords_and_forms_page/address_edit_dialog.js#newcode15 chrome/browser/resources/settings/passwords_and_forms_page/address_edit_dialog.js:15: behaviors: [I18nBehavior], Can you revert this? There are no ...
3 years, 8 months ago (2017-03-30 17:18:39 UTC) #31
scottchen
https://codereview.chromium.org/2702523005/diff/100001/chrome/browser/resources/settings/passwords_and_forms_page/address_edit_dialog.js File chrome/browser/resources/settings/passwords_and_forms_page/address_edit_dialog.js (right): https://codereview.chromium.org/2702523005/diff/100001/chrome/browser/resources/settings/passwords_and_forms_page/address_edit_dialog.js#newcode15 chrome/browser/resources/settings/passwords_and_forms_page/address_edit_dialog.js:15: behaviors: [I18nBehavior], On 2017/03/30 17:18:39, dpapad wrote: > Can ...
3 years, 8 months ago (2017-03-30 18:11:18 UTC) #33
dpapad
https://codereview.chromium.org/2702523005/diff/160001/chrome/browser/resources/settings/passwords_and_forms_page/address_edit_dialog.html File chrome/browser/resources/settings/passwords_and_forms_page/address_edit_dialog.html (right): https://codereview.chromium.org/2702523005/diff/160001/chrome/browser/resources/settings/passwords_and_forms_page/address_edit_dialog.html#newcode72 chrome/browser/resources/settings/passwords_and_forms_page/address_edit_dialog.html:72: } Blank line between CSS rules missing? https://codereview.chromium.org/2702523005/diff/160001/ui/webui/resources/cr_elements/cr_dialog/cr_dialog.html File ...
3 years, 8 months ago (2017-03-30 18:25:00 UTC) #34
scottchen
https://codereview.chromium.org/2702523005/diff/160001/chrome/browser/resources/settings/passwords_and_forms_page/address_edit_dialog.html File chrome/browser/resources/settings/passwords_and_forms_page/address_edit_dialog.html (right): https://codereview.chromium.org/2702523005/diff/160001/chrome/browser/resources/settings/passwords_and_forms_page/address_edit_dialog.html#newcode72 chrome/browser/resources/settings/passwords_and_forms_page/address_edit_dialog.html:72: } On 2017/03/30 18:25:00, dpapad wrote: > Blank line ...
3 years, 8 months ago (2017-03-30 19:24:35 UTC) #35
dpapad
LGTM https://codereview.chromium.org/2702523005/diff/160001/ui/webui/resources/cr_elements/cr_dialog/cr_dialog.html File ui/webui/resources/cr_elements/cr_dialog/cr_dialog.html (right): https://codereview.chromium.org/2702523005/diff/160001/ui/webui/resources/cr_elements/cr_dialog/cr_dialog.html#newcode122 ui/webui/resources/cr_elements/cr_dialog/cr_dialog.html:122: <span id="bodyBottomMarker"> On 2017/03/30 at 19:24:34, scottchen wrote: ...
3 years, 8 months ago (2017-03-30 19:41:22 UTC) #38
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/2702523005/180001
3 years, 8 months ago (2017-03-30 23:43:49 UTC) #42
commit-bot: I haz the power
Committed patchset #9 (id:180001) as https://chromium.googlesource.com/chromium/src/+/27793e2b00cd4f06e24cde9599be5693006ed02b
3 years, 8 months ago (2017-03-30 23:55:03 UTC) #45
stgao
A revert of this CL (patchset #9 id:180001) has been created in https://codereview.chromium.org/2781363004/ by stgao@chromium.org. ...
3 years, 8 months ago (2017-03-31 01:00:50 UTC) #46
scottchen
Updated the test to be less flaky, please re-lg.
3 years, 8 months ago (2017-03-31 01:54:53 UTC) #48
dpapad
LGTM with optional nit. https://codereview.chromium.org/2702523005/diff/200001/chrome/test/data/webui/cr_elements/cr_dialog_test.js File chrome/test/data/webui/cr_elements/cr_dialog_test.js (right): https://codereview.chromium.org/2702523005/diff/200001/chrome/test/data/webui/cr_elements/cr_dialog_test.js#newcode65 chrome/test/data/webui/cr_elements/cr_dialog_test.js:65: return PolymerTest.flushTasks().then(function() { Optional nit: ...
3 years, 8 months ago (2017-03-31 01:55:26 UTC) #49
scottchen
https://codereview.chromium.org/2702523005/diff/200001/chrome/test/data/webui/cr_elements/cr_dialog_test.js File chrome/test/data/webui/cr_elements/cr_dialog_test.js (right): https://codereview.chromium.org/2702523005/diff/200001/chrome/test/data/webui/cr_elements/cr_dialog_test.js#newcode65 chrome/test/data/webui/cr_elements/cr_dialog_test.js:65: return PolymerTest.flushTasks().then(function() { On 2017/03/31 01:55:26, dpapad wrote: > ...
3 years, 8 months ago (2017-03-31 18:10:56 UTC) #54
dpapad
https://codereview.chromium.org/2702523005/diff/220001/chrome/test/data/webui/cr_elements/cr_dialog_test.js File chrome/test/data/webui/cr_elements/cr_dialog_test.js (right): https://codereview.chromium.org/2702523005/diff/220001/chrome/test/data/webui/cr_elements/cr_dialog_test.js#newcode48 chrome/test/data/webui/cr_elements/cr_dialog_test.js:48: test('dialog body indicates over-scroll when appropriate', function(done) { 'overscroll' ...
3 years, 8 months ago (2017-03-31 18:16:01 UTC) #55
scottchen
https://codereview.chromium.org/2702523005/diff/220001/chrome/test/data/webui/cr_elements/cr_dialog_test.js File chrome/test/data/webui/cr_elements/cr_dialog_test.js (right): https://codereview.chromium.org/2702523005/diff/220001/chrome/test/data/webui/cr_elements/cr_dialog_test.js#newcode48 chrome/test/data/webui/cr_elements/cr_dialog_test.js:48: test('dialog body indicates over-scroll when appropriate', function(done) { On ...
3 years, 8 months ago (2017-03-31 20:20:21 UTC) #56
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/2702523005/280001
3 years, 8 months ago (2017-03-31 20:20:56 UTC) #59
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/2702523005/280001
3 years, 8 months ago (2017-03-31 20:43:15 UTC) #63
commit-bot: I haz the power
3 years, 8 months ago (2017-03-31 23:07:30 UTC) #66
Message was sent while issue was closed.
Committed patchset #14 (id:280001) as
https://chromium.googlesource.com/chromium/src/+/a4c0720e53ea714a31f27ee2a8c4...

Powered by Google App Engine
This is Rietveld 408576698