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

Issue 1375333004: MD Downloads: use <iron-list> to render download items (Closed)

Created:
5 years, 2 months ago by Dan Beam
Modified:
5 years, 2 months ago
Reviewers:
esprehn, michaelpg
CC:
aboxhall, arv+watch_chromium.org, asanka, benjhayden+dwatch_chromium.org, chromium-reviews, blasten, tjsavage_google.com
Base URL:
https://chromium.googlesource.com/chromium/src.git@iron-list2
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

MD Downloads: use <iron-list> to render download items Allows us to render only the visible(-ish) items based on the size of the window. For me that's about ~20 but I'm using a funky portrait monitor (uber tall). R=esprehn@chromium.org BUG=526577, 526583 NOPRESUBMIT=true # because crisper.js Committed: https://crrev.com/9dc53f65ae568a624734e9ecc5e70880cb33479e Cr-Commit-Position: refs/heads/master@{#354221}

Patch Set 1 : nit #

Total comments: 4

Patch Set 2 : remove loader import #

Total comments: 4

Patch Set 3 : merge #

Total comments: 12

Patch Set 4 : merge #

Total comments: 4

Patch Set 5 : merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1444 lines, -505 lines) Patch
M chrome/browser/resources/md_downloads/compiled_resources.gyp View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/resources/md_downloads/crisper.js View 1 2 3 4 12 chunks +1355 lines, -366 lines 0 comments Download
M chrome/browser/resources/md_downloads/item.css View 1 2 3 2 chunks +2 lines, -3 lines 0 comments Download
M chrome/browser/resources/md_downloads/item.html View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/resources/md_downloads/item.js View 1 2 3 4 chunks +9 lines, -28 lines 0 comments Download
M chrome/browser/resources/md_downloads/manager.html View 1 2 3 4 2 chunks +9 lines, -2 lines 0 comments Download
M chrome/browser/resources/md_downloads/manager.js View 1 2 3 4 5 chunks +16 lines, -99 lines 0 comments Download
M chrome/browser/resources/md_downloads/vulcanized.html View 1 2 3 4 4 chunks +49 lines, -6 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 22 (8 generated)
Dan Beam
5 years, 2 months ago (2015-10-02 05:30:39 UTC) #1
Dan Beam
https://codereview.chromium.org/1375333004/diff/20001/chrome/browser/resources/md_downloads/item.js File chrome/browser/resources/md_downloads/item.js (left): https://codereview.chromium.org/1375333004/diff/20001/chrome/browser/resources/md_downloads/item.js#oldcode13 chrome/browser/resources/md_downloads/item.js:13: /** @private {!downloads.ThrottledIconLoader} */ will remove this class fully ...
5 years, 2 months ago (2015-10-02 05:37:07 UTC) #3
Dan Beam
/cc aboxhall@ as fyi https://codereview.chromium.org/1375333004/diff/20001/chrome/browser/resources/md_downloads/manager.js File chrome/browser/resources/md_downloads/manager.js (left): https://codereview.chromium.org/1375333004/diff/20001/chrome/browser/resources/md_downloads/manager.js#oldcode87 chrome/browser/resources/md_downloads/manager.js:87: }, On 2015/10/02 05:37:06, Dan ...
5 years, 2 months ago (2015-10-02 23:09:47 UTC) #4
esprehn
lgtm w/ nits, I might call it indexMap instead, but this is fine. :) https://codereview.chromium.org/1375333004/diff/40001/chrome/browser/resources/md_downloads/item.js ...
5 years, 2 months ago (2015-10-03 05:11:54 UTC) #5
esprehn
Also you need to revulcanize after this patch?
5 years, 2 months ago (2015-10-03 05:12:13 UTC) #6
michaelpg
lgtm https://codereview.chromium.org/1375333004/diff/40002/chrome/browser/resources/md_downloads/item.js File chrome/browser/resources/md_downloads/item.js (right): https://codereview.chromium.org/1375333004/diff/40002/chrome/browser/resources/md_downloads/item.js#newcode240 chrome/browser/resources/md_downloads/item.js:240: if (this.data && !this.isDangerous_) { i thought this ...
5 years, 2 months ago (2015-10-03 05:53:09 UTC) #8
Dan Beam
https://codereview.chromium.org/1375333004/diff/40001/chrome/browser/resources/md_downloads/item.js File chrome/browser/resources/md_downloads/item.js (right): https://codereview.chromium.org/1375333004/diff/40001/chrome/browser/resources/md_downloads/item.js#newcode91 chrome/browser/resources/md_downloads/item.js:91: 'observeIsDangerous_(isDangerous_, data.file_path)', On 2015/10/03 05:11:54, esprehn wrote: > So ...
5 years, 2 months ago (2015-10-04 08:27:08 UTC) #9
Dan Beam
btw, this CL is currently blocked on: https://github.com/PolymerElements/iron-list/issues/116
5 years, 2 months ago (2015-10-06 00:26:58 UTC) #10
Dan Beam
/cc blasten@ and tjsavage@ I tried Emmanuel's patch[1] and mid-list updates (i.e. in-progress downloads finishing) ...
5 years, 2 months ago (2015-10-07 00:54:23 UTC) #11
Dan Beam
so this current patchset handles all previously encountered functional issues (that mainly deal with scroll ...
5 years, 2 months ago (2015-10-14 22:01:04 UTC) #13
Dan Beam
https://codereview.chromium.org/1375333004/diff/110001/chrome/browser/resources/md_downloads/manager.js File chrome/browser/resources/md_downloads/manager.js (right): https://codereview.chromium.org/1375333004/diff/110001/chrome/browser/resources/md_downloads/manager.js#newcode88 chrome/browser/resources/md_downloads/manager.js:88: }); wrapper objects no longer needed https://codereview.chromium.org/1375333004/diff/110001/chrome/browser/resources/md_downloads/manager.js#newcode95 chrome/browser/resources/md_downloads/manager.js:95: this.$['downloads-list']._resetScrollPosition ...
5 years, 2 months ago (2015-10-15 03:39:21 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1375333004/170001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1375333004/170001
5 years, 2 months ago (2015-10-15 04:39:52 UTC) #20
commit-bot: I haz the power
Committed patchset #5 (id:170001)
5 years, 2 months ago (2015-10-15 04:40:51 UTC) #21
commit-bot: I haz the power
5 years, 2 months ago (2015-10-15 04:41:56 UTC) #22
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/9dc53f65ae568a624734e9ecc5e70880cb33479e
Cr-Commit-Position: refs/heads/master@{#354221}

Powered by Google App Engine
This is Rietveld 408576698