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

Issue 8774008: Preventing files from being resorted after load. (Closed)

Created:
9 years ago by SeRya
Modified:
9 years ago
CC:
chromium-reviews, Erik does not do reviews, achuith+watch_chromium.org, mihaip+watch_chromium.org, Aaron Boodman, rginda+watch_chromium.org, arv (Not doing code reviews)
Visibility:
Public.

Description

Preventing files from being resorted after load. Scanning a directory we add files to the data model, sort them by name (if the sorting field needs async call like date) and then resort againg when data available. To avoid flacking lets fetch the data before adding data to the model. BUG=chromium-os:19082 TEST=None Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=112691

Patch Set 1 #

Patch Set 2 : Reverting debugging code. #

Total comments: 4

Patch Set 3 : Code review fix. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -7 lines) Patch
M chrome/browser/resources/file_manager/js/file_manager.js View 1 2 4 chunks +23 lines, -7 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
SeRya
review please
9 years ago (2011-12-01 18:20:57 UTC) #1
dgozman
LGTM Do not forget to add spinner. http://codereview.chromium.org/8774008/diff/2001/chrome/browser/resources/file_manager/js/file_manager.js File chrome/browser/resources/file_manager/js/file_manager.js (right): http://codereview.chromium.org/8774008/diff/2001/chrome/browser/resources/file_manager/js/file_manager.js#newcode1494 chrome/browser/resources/file_manager/js/file_manager.js:1494: if (field ...
9 years ago (2011-12-02 09:33:41 UTC) #2
SeRya
http://codereview.chromium.org/8774008/diff/2001/chrome/browser/resources/file_manager/js/file_manager.js File chrome/browser/resources/file_manager/js/file_manager.js (right): http://codereview.chromium.org/8774008/diff/2001/chrome/browser/resources/file_manager/js/file_manager.js#newcode1494 chrome/browser/resources/file_manager/js/file_manager.js:1494: if (field == 'name' || field == 'cachedMtime_') { ...
9 years ago (2011-12-02 12:32:21 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/serya@chromium.org/8774008/1004
9 years ago (2011-12-02 12:32:31 UTC) #4
commit-bot: I haz the power
9 years ago (2011-12-02 14:10:04 UTC) #5
Change committed as 112691

Powered by Google App Engine
This is Rietveld 408576698