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

Issue 639273002: Fixed a bug that the list still shows deleted directory. (Closed)

Created:
6 years, 2 months ago by yawano
Modified:
6 years, 2 months ago
Reviewers:
mtomasz
CC:
chromium-reviews, rginda+watch_chromium.org, mtomasz+watch_chromium.org, yoshiki+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Fixed a bug that the list still shows deleted directory. BUG=421407 TEST=Open Files.app (WindowA); Create a directory; Open a new window of Files.app, and open the directory which is created in the previous step; Delete the directory in WindowA. Committed: https://crrev.com/416b5284a7ab72dcf6ee673e51f29317eafae265 Cr-Commit-Position: refs/heads/master@{#299076}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Changed to support deletion of a directory which is in download directory. #

Total comments: 2

Patch Set 3 : Changed to handle subdirectory deletion case. #

Total comments: 6

Patch Set 4 : Fixed to handle volumeInfo null case. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -3 lines) Patch
M ui/file_manager/file_manager/foreground/js/directory_model.js View 1 2 3 1 chunk +12 lines, -0 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/file_watcher.js View 1 2 3 1 chunk +22 lines, -3 lines 0 comments Download

Messages

Total messages: 13 (2 generated)
yawano
PTAL.
6 years, 2 months ago (2014-10-09 05:18:34 UTC) #2
mtomasz
https://codereview.chromium.org/639273002/diff/1/ui/file_manager/file_manager/foreground/js/ui/directory_tree.js File ui/file_manager/file_manager/foreground/js/ui/directory_tree.js (right): https://codereview.chromium.org/639273002/diff/1/ui/file_manager/file_manager/foreground/js/ui/directory_tree.js#newcode228 ui/file_manager/file_manager/foreground/js/ui/directory_tree.js:228: * code will navigate to another directory. Please update ...
6 years, 2 months ago (2014-10-09 07:23:47 UTC) #3
yawano
PTAL. Thanks. https://codereview.chromium.org/639273002/diff/1/ui/file_manager/file_manager/foreground/js/ui/directory_tree.js File ui/file_manager/file_manager/foreground/js/ui/directory_tree.js (right): https://codereview.chromium.org/639273002/diff/1/ui/file_manager/file_manager/foreground/js/ui/directory_tree.js#newcode228 ui/file_manager/file_manager/foreground/js/ui/directory_tree.js:228: * code will navigate to another directory. ...
6 years, 2 months ago (2014-10-09 08:59:05 UTC) #4
mtomasz
https://codereview.chromium.org/639273002/diff/20001/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/639273002/diff/20001/ui/file_manager/file_manager/foreground/js/directory_model.js#newcode177 ui/file_manager/file_manager/foreground/js/directory_model.js:177: directoryEntry.getDirectory(directoryEntry.fullPath, {create: false}, Does it work? The value of ...
6 years, 2 months ago (2014-10-10 00:34:53 UTC) #5
yawano
Changed FileWatcher.onDirectoryChanged_ to fire watcher-directory-changed event when the watched directory is deleted. While checking the ...
6 years, 2 months ago (2014-10-10 06:29:10 UTC) #6
mtomasz
https://codereview.chromium.org/639273002/diff/60001/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/639273002/diff/60001/ui/file_manager/file_manager/foreground/js/directory_model.js#newcode180 ui/file_manager/file_manager/foreground/js/directory_model.js:180: var info = this.volumeManager_.getVolumeInfo(directoryEntry); nit: info -> volumeInfo for ...
6 years, 2 months ago (2014-10-10 06:36:50 UTC) #7
yawano
Thank you for the review. PTAL. https://codereview.chromium.org/639273002/diff/60001/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/639273002/diff/60001/ui/file_manager/file_manager/foreground/js/directory_model.js#newcode180 ui/file_manager/file_manager/foreground/js/directory_model.js:180: var info = ...
6 years, 2 months ago (2014-10-10 06:54:17 UTC) #8
mtomasz
lgtm
6 years, 2 months ago (2014-10-10 07:41:19 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/639273002/130001
6 years, 2 months ago (2014-10-10 07:45:39 UTC) #11
commit-bot: I haz the power
Committed patchset #4 (id:130001)
6 years, 2 months ago (2014-10-10 08:23:38 UTC) #12
commit-bot: I haz the power
6 years, 2 months ago (2014-10-10 08:24:25 UTC) #13
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/416b5284a7ab72dcf6ee673e51f29317eafae265
Cr-Commit-Position: refs/heads/master@{#299076}

Powered by Google App Engine
This is Rietveld 408576698