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

Issue 486783006: Files.app: Update the list partially when changed (Closed)

Created:
6 years, 4 months ago by yoshiki
Modified:
6 years, 4 months ago
Reviewers:
hirono, fukino
CC:
chromium-reviews, rginda+watch_chromium.org, mtomasz+watch_chromium.org, yoshiki+watch_chromium.org
Project:
chromium
Visibility:
Public.

Description

Files.app: Update the list partially when changed This patch makes the list redraw partially instead of full-redraw when some contents are changed in the directory. This should improve the performance of redraw. In addition, as the result of the fix, the cache is not flashed on partial redraw, and the issue 374713 has gone. BUG=374713 TEST=manaul tested Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=291366

Patch Set 1 #

Total comments: 16

Patch Set 2 : Addressed the comments #

Total comments: 6

Patch Set 3 : Addressed the comments #

Patch Set 4 : Addressed the comments #

Patch Set 5 : Fix the test filure. #

Patch Set 6 : Fix the test filure & rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+139 lines, -22 lines) Patch
M ui/file_manager/file_manager/foreground/js/directory_contents.js View 1 2 1 chunk +47 lines, -0 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/directory_model.js View 1 2 3 4 5 7 chunks +92 lines, -22 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
yoshiki
@hirono, PTAL. Thanks.
6 years, 4 months ago (2014-08-19 00:11:37 UTC) #1
yoshiki
@fukino, please take a look because this may conflict with your current work.
6 years, 4 months ago (2014-08-19 00:21:45 UTC) #2
fukino
This CL eliminates flickers on copy in Drive! https://codereview.chromium.org/486783006/diff/20001/ui/file_manager/file_manager/foreground/js/directory_contents.js File ui/file_manager/file_manager/foreground/js/directory_contents.js (right): https://codereview.chromium.org/486783006/diff/20001/ui/file_manager/file_manager/foreground/js/directory_contents.js#newcode671 ui/file_manager/file_manager/foreground/js/directory_contents.js:671: var ...
6 years, 4 months ago (2014-08-19 06:01:28 UTC) #3
hirono
Sorry for late. https://codereview.chromium.org/486783006/diff/20001/ui/file_manager/file_manager/foreground/js/directory_contents.js File ui/file_manager/file_manager/foreground/js/directory_contents.js (right): https://codereview.chromium.org/486783006/diff/20001/ui/file_manager/file_manager/foreground/js/directory_contents.js#newcode666 ui/file_manager/file_manager/foreground/js/directory_contents.js:666: * Adds/remove/update items of file list. ...
6 years, 4 months ago (2014-08-19 06:51:27 UTC) #4
yoshiki
@hirono, @fukino, PTAL. https://codereview.chromium.org/486783006/diff/20001/ui/file_manager/file_manager/foreground/js/directory_contents.js File ui/file_manager/file_manager/foreground/js/directory_contents.js (right): https://codereview.chromium.org/486783006/diff/20001/ui/file_manager/file_manager/foreground/js/directory_contents.js#newcode666 ui/file_manager/file_manager/foreground/js/directory_contents.js:666: * Adds/remove/update items of file list. ...
6 years, 4 months ago (2014-08-20 05:20:18 UTC) #5
hirono
https://codereview.chromium.org/486783006/diff/40001/ui/file_manager/file_manager/foreground/js/directory_contents.js File ui/file_manager/file_manager/foreground/js/directory_contents.js (right): https://codereview.chromium.org/486783006/diff/40001/ui/file_manager/file_manager/foreground/js/directory_contents.js#newcode702 ui/file_manager/file_manager/foreground/js/directory_contents.js:702: if (removedUrls > 0) removedUrls.length https://codereview.chromium.org/486783006/diff/40001/ui/file_manager/file_manager/foreground/js/directory_model.js File ui/file_manager/file_manager/foreground/js/directory_model.js (right): ...
6 years, 4 months ago (2014-08-20 05:26:47 UTC) #6
fukino
On 2014/08/20 05:26:47, hirono wrote: > https://codereview.chromium.org/486783006/diff/40001/ui/file_manager/file_manager/foreground/js/directory_contents.js > File ui/file_manager/file_manager/foreground/js/directory_contents.js (right): > > https://codereview.chromium.org/486783006/diff/40001/ui/file_manager/file_manager/foreground/js/directory_contents.js#newcode702 > ...
6 years, 4 months ago (2014-08-20 05:49:06 UTC) #7
yoshiki
@hirono, PTAL https://codereview.chromium.org/486783006/diff/40001/ui/file_manager/file_manager/foreground/js/directory_contents.js File ui/file_manager/file_manager/foreground/js/directory_contents.js (right): https://codereview.chromium.org/486783006/diff/40001/ui/file_manager/file_manager/foreground/js/directory_contents.js#newcode702 ui/file_manager/file_manager/foreground/js/directory_contents.js:702: if (removedUrls > 0) On 2014/08/20 05:26:47, ...
6 years, 4 months ago (2014-08-20 06:21:33 UTC) #8
hirono
lgtm with a nit. https://codereview.chromium.org/486783006/diff/40001/ui/file_manager/file_manager/foreground/js/directory_model.js File ui/file_manager/file_manager/foreground/js/directory_model.js (right): https://codereview.chromium.org/486783006/diff/40001/ui/file_manager/file_manager/foreground/js/directory_model.js#newcode481 ui/file_manager/file_manager/foreground/js/directory_model.js:481: var onFailure = function() { ...
6 years, 4 months ago (2014-08-20 06:37:25 UTC) #9
yoshiki
The CQ bit was checked by yoshiki@chromium.org
6 years, 4 months ago (2014-08-21 07:11:08 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yoshiki@chromium.org/486783006/80001
6 years, 4 months ago (2014-08-21 07:12:24 UTC) #11
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_chromium_chromeos_rel_swarming on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-21 08:05:43 UTC) #12
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-21 08:42:10 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_swarming on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_swarming/builds/6459)
6 years, 4 months ago (2014-08-21 08:42:11 UTC) #14
yoshiki
The CQ bit was checked by yoshiki@chromium.org
6 years, 4 months ago (2014-08-22 06:43:09 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yoshiki@chromium.org/486783006/140001
6 years, 4 months ago (2014-08-22 06:43:58 UTC) #16
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg_tests_recipe on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-22 07:38:36 UTC) #17
commit-bot: I haz the power
6 years, 4 months ago (2014-08-22 10:16:23 UTC) #18
Message was sent while issue was closed.
Committed patchset #6 (140001) as 291366

Powered by Google App Engine
This is Rietveld 408576698