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

Issue 7038024: Move sorting logic from table to list. (Closed)

Created:
9 years, 7 months ago by vsevik
Modified:
9 years, 7 months ago
CC:
chromium-reviews, rginda+watch_chromium.org, arv (Not doing code reviews), achuith+watch_chromium.org
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 6

Patch Set 2 : Fixes #

Total comments: 6

Patch Set 3 : Style nits, table selection model setter bug #

Patch Set 4 : Fixes #

Patch Set 5 : MOved invalidate to list.js #

Patch Set 6 : Merged with http://codereview.chromium.org/7062001/ to fix this bug. #

Total comments: 2

Patch Set 7 : Fixed autofill bugs #

Patch Set 8 : Fixed autofill phones. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+329 lines, -582 lines) Patch
M chrome/browser/resources/file_manager/js/file_manager.js View 1 2 3 4 5 4 chunks +4 lines, -20 lines 0 comments Download
M chrome/browser/resources/file_manager/main.html View 1 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/resources/options/autofill_options_list.js View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/resources/shared/js/cr/ui/array_data_model.js View 1 2 3 4 5 6 5 chunks +228 lines, -11 lines 0 comments Download
M chrome/browser/resources/shared/js/cr/ui/list.js View 1 2 3 4 5 6 5 chunks +50 lines, -40 lines 0 comments Download
M chrome/browser/resources/shared/js/cr/ui/list_selection_model.js View 1 2 3 4 5 1 chunk +15 lines, -33 lines 0 comments Download
M chrome/browser/resources/shared/js/cr/ui/list_single_selection_model.js View 1 2 3 4 5 1 chunk +11 lines, -25 lines 0 comments Download
M chrome/browser/resources/shared/js/cr/ui/table.js View 1 2 3 4 9 chunks +18 lines, -45 lines 0 comments Download
D chrome/browser/resources/shared/js/cr/ui/table/table_data_model.js View 1 chunk +0 lines, -275 lines 0 comments Download
D chrome/browser/resources/shared/js/cr/ui/table/table_selection_model.js View 1 chunk +0 lines, -65 lines 0 comments Download
D chrome/browser/resources/shared/js/cr/ui/table/table_single_selection_model.js View 1 chunk +0 lines, -59 lines 0 comments Download
M chrome/browser/resources/shared_resources.grd View 1 chunk +0 lines, -6 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
vsevik
9 years, 7 months ago (2011-05-17 23:40:19 UTC) #1
rginda
A few quick comments. I'll poke at it a bit more tomorrow morning. http://codereview.chromium.org/7038024/diff/1/chrome/browser/resources/file_manager/js/file_manager.js File ...
9 years, 7 months ago (2011-05-17 23:56:43 UTC) #2
vsevik
http://codereview.chromium.org/7038024/diff/1/chrome/browser/resources/file_manager/js/file_manager.js File chrome/browser/resources/file_manager/js/file_manager.js (right): http://codereview.chromium.org/7038024/diff/1/chrome/browser/resources/file_manager/js/file_manager.js#newcode726 chrome/browser/resources/file_manager/js/file_manager.js:726: self.grid_.redraw(); On 2011/05/17 23:56:43, rginda wrote: > I think ...
9 years, 7 months ago (2011-05-18 11:32:16 UTC) #3
rginda
This CL seems regression free so far, but I have a few questions inline. http://codereview.chromium.org/7038024/diff/1/chrome/browser/resources/file_manager/js/file_manager.js ...
9 years, 7 months ago (2011-05-18 23:45:19 UTC) #4
vsevik
http://codereview.chromium.org/7038024/diff/1/chrome/browser/resources/file_manager/js/file_manager.js#newcode726 > chrome/browser/resources/file_manager/js/file_manager.js:726: > self.grid_.redraw(); > Where did invalidateAndRedraw come from? I thought you mentioned ...
9 years, 7 months ago (2011-05-19 10:01:10 UTC) #5
arv (Not doing code reviews)
http://codereview.chromium.org/7038024/diff/5001/chrome/browser/resources/shared/js/cr/ui/array_data_model.js File chrome/browser/resources/shared/js/cr/ui/array_data_model.js (right): http://codereview.chromium.org/7038024/diff/5001/chrome/browser/resources/shared/js/cr/ui/array_data_model.js#newcode46 chrome/browser/resources/shared/js/cr/ui/array_data_model.js:46: getItemByUnsortedIndex_: function(unsortedIndex) { Why is this needed? http://codereview.chromium.org/7038024/diff/5001/chrome/browser/resources/shared/js/cr/ui/array_data_model.js#newcode66 chrome/browser/resources/shared/js/cr/ui/array_data_model.js:66: ...
9 years, 7 months ago (2011-05-19 16:17:56 UTC) #6
vsevik
PTAL http://codereview.chromium.org/7038024/diff/5001/chrome/browser/resources/shared/js/cr/ui/array_data_model.js File chrome/browser/resources/shared/js/cr/ui/array_data_model.js (right): http://codereview.chromium.org/7038024/diff/5001/chrome/browser/resources/shared/js/cr/ui/array_data_model.js#newcode46 chrome/browser/resources/shared/js/cr/ui/array_data_model.js:46: getItemByUnsortedIndex_: function(unsortedIndex) { On 2011/05/19 16:17:56, arv wrote: ...
9 years, 7 months ago (2011-05-19 20:07:02 UTC) #7
arv (Not doing code reviews)
LGTM but please wait for Rob to look at it again.
9 years, 7 months ago (2011-05-19 20:56:28 UTC) #8
rginda
On 2011/05/19 10:01:10, vsevik wrote: > http://codereview.chromium.org/7038024/diff/1/chrome/browser/resources/file_manager/js/file_manager.js#newcode726 > > chrome/browser/resources/file_manager/js/file_manager.js:726: > > self.grid_.redraw(); > > ...
9 years, 7 months ago (2011-05-19 21:04:11 UTC) #9
vsevik
> How about adding invalidateAndRedraw to the cr.ui.List base class, so it's > available on ...
9 years, 7 months ago (2011-05-19 22:29:36 UTC) #10
rginda
On 2011/05/19 22:29:36, vsevik wrote: > > How about adding invalidateAndRedraw to the cr.ui.List base ...
9 years, 7 months ago (2011-05-19 22:32:08 UTC) #11
Evan Stade
I believe this CL broke lead
9 years, 7 months ago (2011-05-21 01:11:07 UTC) #12
Mike Mammarella
On 2011/05/21 01:11:07, Evan Stade wrote: > I believe this CL broke lead Yes, this ...
9 years, 7 months ago (2011-05-23 20:25:45 UTC) #13
vsevik
Uploaded patch with bug fixed.
9 years, 7 months ago (2011-05-24 10:02:20 UTC) #14
dhollowa
I'm noticing a glitch where the "placeholder" text is retaining the value of the last ...
9 years, 7 months ago (2011-05-24 15:45:34 UTC) #15
dhollowa
http://codereview.chromium.org/7038024/diff/20001/chrome/browser/resources/shared/js/cr/ui/array_data_model.js File chrome/browser/resources/shared/js/cr/ui/array_data_model.js (right): http://codereview.chromium.org/7038024/diff/20001/chrome/browser/resources/shared/js/cr/ui/array_data_model.js#newcode82 chrome/browser/resources/shared/js/cr/ui/array_data_model.js:82: nit: extra spaces here.
9 years, 7 months ago (2011-05-24 15:45:49 UTC) #16
vsevik
PTAL, autofill bug is fixed now. http://codereview.chromium.org/7038024/diff/20001/chrome/browser/resources/shared/js/cr/ui/array_data_model.js File chrome/browser/resources/shared/js/cr/ui/array_data_model.js (right): http://codereview.chromium.org/7038024/diff/20001/chrome/browser/resources/shared/js/cr/ui/array_data_model.js#newcode82 chrome/browser/resources/shared/js/cr/ui/array_data_model.js:82: On 2011/05/24 15:45:49, ...
9 years, 7 months ago (2011-05-25 18:12:04 UTC) #17
dhollowa
When I manipulate the Phone or Fax lists I see the following JavaScript console errors: ...
9 years, 7 months ago (2011-05-25 19:28:42 UTC) #18
vsevik
Fixed that.
9 years, 7 months ago (2011-05-25 21:34:51 UTC) #19
dhollowa
Yup. Seems fixed. On 2011/05/25 21:34:51, vsevik wrote: > Fixed that.
9 years, 7 months ago (2011-05-25 22:29:14 UTC) #20
rginda
9 years, 7 months ago (2011-05-26 05:54:38 UTC) #21
Lgtm, I've merged my changes so you can land this when you're ready.
On May 25, 2011 3:29 PM, <dhollowa@chromium.org> wrote:
> Yup. Seems fixed.
>
> On 2011/05/25 21:34:51, vsevik wrote:
>> Fixed that.
>
>
>
> http://codereview.chromium.org/7038024/

Powered by Google App Engine
This is Rietveld 408576698