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

Issue 2938763002: Keep previous size in Directory QuickView. (Closed)

Created:
3 years, 6 months ago by tetsui
Modified:
3 years, 6 months ago
Reviewers:
oka, fukino
CC:
chromium-reviews, oka+watch_chromium.org, rginda+watch_chromium.org, mtomasz+watch_chromium.org, yamaguchi+watch_chromium.org, fukino+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Keep previous size in Directory QuickView. In QuickView of a directory, size field was flickering becuase every time the directory is updated, the size field was hidden until its size is retrieved from fileManagerPrivate.getDirectorySize. Now it show previous directory size until the new size is retrieved if the selected directory is not changed. BUG=731484, 733143 TEST=manual CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2938763002 Cr-Commit-Position: refs/heads/master@{#479333} Committed: https://chromium.googlesource.com/chromium/src/+/f34801c28ded7c524030c5fe565e9ac420c4ce28

Patch Set 1 #

Total comments: 3

Patch Set 2 : Resolve review comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -17 lines) Patch
M ui/file_manager/file_manager/foreground/elements/files_metadata_box.js View 1 5 chunks +18 lines, -7 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/metadata_box_controller.js View 1 4 chunks +26 lines, -10 lines 0 comments Download

Messages

Total messages: 22 (14 generated)
tetsui
fukino@: PTAL. Thanks!
3 years, 6 months ago (2017-06-14 05:17:29 UTC) #7
tetsui
https://codereview.chromium.org/2938763002/diff/1/ui/file_manager/file_manager/foreground/js/metadata_box_controller.js File ui/file_manager/file_manager/foreground/js/metadata_box_controller.js (right): https://codereview.chromium.org/2938763002/diff/1/ui/file_manager/file_manager/foreground/js/metadata_box_controller.js#newcode206 ui/file_manager/file_manager/foreground/js/metadata_box_controller.js:206: chrome.fileManagerPrivate.getDirectorySize(entry, function(size) { FYI: This indent change is done ...
3 years, 6 months ago (2017-06-14 05:19:15 UTC) #8
fukino
https://codereview.chromium.org/2938763002/diff/1/ui/file_manager/file_manager/foreground/js/metadata_box_controller.js File ui/file_manager/file_manager/foreground/js/metadata_box_controller.js (right): https://codereview.chromium.org/2938763002/diff/1/ui/file_manager/file_manager/foreground/js/metadata_box_controller.js#newcode57 ui/file_manager/file_manager/foreground/js/metadata_box_controller.js:57: this.previousDirectorySize_ = -1; We should stop the flicker, but ...
3 years, 6 months ago (2017-06-14 06:27:55 UTC) #9
tetsui
https://codereview.chromium.org/2938763002/diff/1/ui/file_manager/file_manager/foreground/js/metadata_box_controller.js File ui/file_manager/file_manager/foreground/js/metadata_box_controller.js (right): https://codereview.chromium.org/2938763002/diff/1/ui/file_manager/file_manager/foreground/js/metadata_box_controller.js#newcode57 ui/file_manager/file_manager/foreground/js/metadata_box_controller.js:57: this.previousDirectorySize_ = -1; On 2017/06/14 06:27:55, fukino wrote: > ...
3 years, 6 months ago (2017-06-14 08:47:17 UTC) #13
fukino
lgtm. Thanks!
3 years, 6 months ago (2017-06-14 08:52:24 UTC) #14
oka
lgtm
3 years, 6 months ago (2017-06-14 09:05:29 UTC) #15
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/2938763002/20001
3 years, 6 months ago (2017-06-14 09:08:27 UTC) #19
commit-bot: I haz the power
3 years, 6 months ago (2017-06-14 09:13:40 UTC) #22
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/f34801c28ded7c524030c5fe565e...

Powered by Google App Engine
This is Rietveld 408576698