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

Issue 2627373002: MD Settings: Save and restore scroll position in iron-list (Closed)

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

Description

MD Settings: Save and restore scroll position in iron-list TODO: cr-scrollable-behavior needs tests. BUG=669248 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2627373002 Cr-Commit-Position: refs/heads/master@{#447842} Committed: https://chromium.googlesource.com/chromium/src/+/5c10efaf05bdde8188c305283ae207071674c0fd

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : Use scrollTop #

Total comments: 1

Patch Set 4 : Rebase #

Total comments: 6

Patch Set 5 : Rebase + feedback + clang format #

Total comments: 9

Patch Set 6 : Rebase #

Patch Set 7 : Feedback #

Total comments: 6

Patch Set 8 : Nits #

Messages

Total messages: 28 (11 generated)
stevenjb
So, here is a fairly simpleminded approach that seems to work reasonably well. It requires ...
3 years, 11 months ago (2017-01-13 01:38:42 UTC) #4
fukino
On 2017/01/13 01:38:42, stevenjb wrote: > So, here is a fairly simpleminded approach that seems ...
3 years, 11 months ago (2017-01-13 10:12:50 UTC) #5
stevenjb
On 2017/01/13 10:12:50, fukino wrote: > On 2017/01/13 01:38:42, stevenjb wrote: > > So, here ...
3 years, 11 months ago (2017-01-16 00:25:12 UTC) #6
stevenjb
Ping
3 years, 11 months ago (2017-01-23 19:12:59 UTC) #8
Dan Beam
https://codereview.chromium.org/2627373002/diff/40001/chrome/browser/resources/settings/bluetooth_page/bluetooth_device_dialog.js File chrome/browser/resources/settings/bluetooth_page/bluetooth_device_dialog.js (right): https://codereview.chromium.org/2627373002/diff/40001/chrome/browser/resources/settings/bluetooth_page/bluetooth_device_dialog.js#newcode75 chrome/browser/resources/settings/bluetooth_page/bluetooth_device_dialog.js:75: }); can't we just make this do a diff ...
3 years, 11 months ago (2017-01-24 06:15:18 UTC) #10
stevenjb
We can. It will be more complicated, but if you're confident it will be a ...
3 years, 11 months ago (2017-01-24 17:12:11 UTC) #11
Dan Beam
note: egarciad@ didn't get back to me today, but there's a bunch of other crazy ...
3 years, 10 months ago (2017-01-31 04:06:44 UTC) #13
stevenjb
On 2017/01/31 04:06:44, Dan Beam wrote: > note: egarciad@ didn't get back to me today, ...
3 years, 10 months ago (2017-01-31 16:57:16 UTC) #14
stevenjb
PTAL https://codereview.chromium.org/2627373002/diff/80001/ui/webui/resources/cr_elements/cr_scrollable_behavior.js File ui/webui/resources/cr_elements/cr_scrollable_behavior.js (right): https://codereview.chromium.org/2627373002/diff/80001/ui/webui/resources/cr_elements/cr_scrollable_behavior.js#newcode104 ui/webui/resources/cr_elements/cr_scrollable_behavior.js:104: saveScroll(list) { On 2017/01/31 04:06:44, Dan Beam wrote: ...
3 years, 10 months ago (2017-01-31 18:43:09 UTC) #15
Dan Beam
https://codereview.chromium.org/2627373002/diff/100001/chrome/browser/resources/settings/bluetooth_page/bluetooth_page.html File chrome/browser/resources/settings/bluetooth_page/bluetooth_page.html (right): https://codereview.chromium.org/2627373002/diff/100001/chrome/browser/resources/settings/bluetooth_page/bluetooth_page.html#newcode69 chrome/browser/resources/settings/bluetooth_page/bluetooth_page.html:69: <iron-list id="devices" items="[[pairedDeviceList_]]" nit: remove extra space https://codereview.chromium.org/2627373002/diff/100001/chrome/browser/resources/settings/bluetooth_page/bluetooth_page.js File ...
3 years, 10 months ago (2017-02-01 06:13:18 UTC) #16
stevenjb
https://codereview.chromium.org/2627373002/diff/100001/chrome/browser/resources/settings/bluetooth_page/bluetooth_page.html File chrome/browser/resources/settings/bluetooth_page/bluetooth_page.html (right): https://codereview.chromium.org/2627373002/diff/100001/chrome/browser/resources/settings/bluetooth_page/bluetooth_page.html#newcode69 chrome/browser/resources/settings/bluetooth_page/bluetooth_page.html:69: <iron-list id="devices" items="[[pairedDeviceList_]]" On 2017/02/01 06:13:17, Dan Beam wrote: ...
3 years, 10 months ago (2017-02-02 01:17:47 UTC) #18
Dan Beam
lgtm https://codereview.chromium.org/2627373002/diff/100001/ui/webui/resources/cr_elements/cr_scrollable_behavior.js File ui/webui/resources/cr_elements/cr_scrollable_behavior.js (right): https://codereview.chromium.org/2627373002/diff/100001/ui/webui/resources/cr_elements/cr_scrollable_behavior.js#newcode105 ui/webui/resources/cr_elements/cr_scrollable_behavior.js:105: let target = list.scrollTarget; On 2017/02/02 01:17:47, stevenjb ...
3 years, 10 months ago (2017-02-02 04:18:01 UTC) #19
Dan Beam
btw, egarciad@ says this will probably work OK if these items are the same size. ...
3 years, 10 months ago (2017-02-02 04:18:36 UTC) #20
stevenjb
On 2017/02/02 04:18:36, Dan Beam (slow) wrote: > btw, egarciad@ says this will probably work ...
3 years, 10 months ago (2017-02-02 18:10:24 UTC) #21
stevenjb
https://codereview.chromium.org/2627373002/diff/160001/ui/webui/resources/cr_elements/network/cr_network_list.html File ui/webui/resources/cr_elements/network/cr_network_list.html (right): https://codereview.chromium.org/2627373002/diff/160001/ui/webui/resources/cr_elements/network/cr_network_list.html#newcode21 ui/webui/resources/cr_elements/network/cr_network_list.html:21: <iron-list id="list" selection-enabled items="[[listItems_]]" On 2017/02/02 04:18:00, Dan Beam ...
3 years, 10 months ago (2017-02-02 18:20:17 UTC) #22
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/2627373002/180001
3 years, 10 months ago (2017-02-02 20:07:54 UTC) #25
commit-bot: I haz the power
3 years, 10 months ago (2017-02-02 21:22:41 UTC) #28
Message was sent while issue was closed.
Committed patchset #8 (id:180001) as
https://chromium.googlesource.com/chromium/src/+/5c10efaf05bdde8188c305283ae2...

Powered by Google App Engine
This is Rietveld 408576698