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

Issue 1222563005: Implement refreshing logic in Files app. (Closed)

Created:
5 years, 5 months ago by mtomasz
Modified:
5 years, 5 months ago
Reviewers:
hirono
CC:
chromium-reviews, rginda+watch_chromium.org, mtomasz+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement refreshing logic in Files app. This CL adds an implementation for the refresh button for volumes which do not support file watching. Since refreshing is often fast and seems like not doing anything, a blink method on the spinner controller has been added, so the spinner always shows for at least one second when refreshing, so users have feedback that the refreshing is completed. TEST=Tested manually. BUG=501864 Committed: https://crrev.com/3e8fc7ac642049732a2beceb4b6b33b7db19272d Cr-Commit-Position: refs/heads/master@{#337573}

Patch Set 1 #

Total comments: 13

Patch Set 2 : Fixed. #

Total comments: 4

Patch Set 3 : Fixed. #

Patch Set 4 : Rebased. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -21 lines) Patch
M ui/file_manager/file_manager/foreground/js/file_manager.js View 1 2 chunks +7 lines, -1 line 0 comments Download
M ui/file_manager/file_manager/foreground/js/file_manager_commands.js View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M ui/file_manager/file_manager/foreground/js/scan_controller.js View 1 5 chunks +16 lines, -4 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/spinner_controller.js View 1 2 3 chunks +30 lines, -15 lines 0 comments Download

Messages

Total messages: 13 (3 generated)
mtomasz
@hirono: PTAL. This CL depends on two other CLs: 1. https://codereview.chromium.org/1221093002/ 2. https://codereview.chromium.org/1215533003/ Thanks!
5 years, 5 months ago (2015-07-03 08:09:56 UTC) #2
hirono
https://codereview.chromium.org/1222563005/diff/1/ui/file_manager/file_manager/foreground/js/scan_controller.js File ui/file_manager/file_manager/foreground/js/scan_controller.js (right): https://codereview.chromium.org/1222563005/diff/1/ui/file_manager/file_manager/foreground/js/scan_controller.js#newcode151 ui/file_manager/file_manager/foreground/js/scan_controller.js:151: this.hideSpinner_(); I think this hideSpinner_() should not hide blinking ...
5 years, 5 months ago (2015-07-06 04:52:38 UTC) #3
mtomasz
https://codereview.chromium.org/1222563005/diff/1/ui/file_manager/file_manager/foreground/js/scan_controller.js File ui/file_manager/file_manager/foreground/js/scan_controller.js (right): https://codereview.chromium.org/1222563005/diff/1/ui/file_manager/file_manager/foreground/js/scan_controller.js#newcode151 ui/file_manager/file_manager/foreground/js/scan_controller.js:151: this.hideSpinner_(); On 2015/07/06 04:52:38, hirono wrote: > I think ...
5 years, 5 months ago (2015-07-06 08:48:48 UTC) #4
hirono
https://codereview.chromium.org/1222563005/diff/1/ui/file_manager/file_manager/foreground/js/spinner_controller.js File ui/file_manager/file_manager/foreground/js/spinner_controller.js (right): https://codereview.chromium.org/1222563005/diff/1/ui/file_manager/file_manager/foreground/js/spinner_controller.js#newcode32 ui/file_manager/file_manager/foreground/js/spinner_controller.js:32: SpinnerController.prototype.blink = function() { On 2015/07/06 08:48:48, mtomasz wrote: ...
5 years, 5 months ago (2015-07-06 09:39:27 UTC) #5
mtomasz
https://codereview.chromium.org/1222563005/diff/1/ui/file_manager/file_manager/foreground/js/spinner_controller.js File ui/file_manager/file_manager/foreground/js/spinner_controller.js (right): https://codereview.chromium.org/1222563005/diff/1/ui/file_manager/file_manager/foreground/js/spinner_controller.js#newcode32 ui/file_manager/file_manager/foreground/js/spinner_controller.js:32: SpinnerController.prototype.blink = function() { On 2015/07/06 09:39:27, hirono wrote: ...
5 years, 5 months ago (2015-07-07 03:42:11 UTC) #6
hirono
lgtm! https://codereview.chromium.org/1222563005/diff/1/ui/file_manager/file_manager/foreground/js/spinner_controller.js File ui/file_manager/file_manager/foreground/js/spinner_controller.js (right): https://codereview.chromium.org/1222563005/diff/1/ui/file_manager/file_manager/foreground/js/spinner_controller.js#newcode32 ui/file_manager/file_manager/foreground/js/spinner_controller.js:32: SpinnerController.prototype.blink = function() { On 2015/07/07 03:42:10, mtomasz ...
5 years, 5 months ago (2015-07-07 03:58:22 UTC) #7
mtomasz
Thanks! https://codereview.chromium.org/1222563005/diff/20001/ui/file_manager/file_manager/foreground/js/scan_controller.js File ui/file_manager/file_manager/foreground/js/scan_controller.js (right): https://codereview.chromium.org/1222563005/diff/20001/ui/file_manager/file_manager/foreground/js/scan_controller.js#newcode270 ui/file_manager/file_manager/foreground/js/scan_controller.js:270: ScanController.prototype.hideSpinner_ = function() { On 2015/07/07 03:58:22, hirono ...
5 years, 5 months ago (2015-07-07 04:01:48 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1222563005/60001
5 years, 5 months ago (2015-07-07 08:46:59 UTC) #11
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 5 months ago (2015-07-07 09:22:23 UTC) #12
commit-bot: I haz the power
5 years, 5 months ago (2015-07-07 09:23:17 UTC) #13
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/3e8fc7ac642049732a2beceb4b6b33b7db19272d
Cr-Commit-Position: refs/heads/master@{#337573}

Powered by Google App Engine
This is Rietveld 408576698