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

Issue 962103002: Files.app: Introduce check-select mode. (Closed)

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

Description

Files.app: Introduce check-select mode. Check-select mode spec is here: https://docs.google.com/document/d/1kCG0AFtZSlxlkuipNHlKLY2nvjPdDCViG6RKhMI5-dc/edit Mode transition rules: + Entering check-select mode - When two or more items are selected. - When checkmark area is clicked. + Leaving check-select mode - When all items are unselected. - When non-checkmark area on an item is clicked. - When direction key(UP,LEFT,etc...) results in single selection. BUG=460220 TEST=manually tested Committed: https://crrev.com/e144d30232209034b82d544926070bb8dc62f6ec Cr-Commit-Position: refs/heads/master@{#318658}

Patch Set 1 #

Total comments: 35

Patch Set 2 : Address review comments. #

Total comments: 1

Patch Set 3 : Make selection models and selection controllers structs. #

Patch Set 4 : Filter out 'leadIndex' and 'anchorIndex' event to update the selection mode.' #

Patch Set 5 : Use event lister to update the selection mode. #

Patch Set 6 : Remove remaining debug log. #

Messages

Total messages: 17 (2 generated)
fukino
Could you take a look? Thank you!
5 years, 9 months ago (2015-02-27 04:26:25 UTC) #2
fukino
https://codereview.chromium.org/962103002/diff/1/ui/file_manager/file_manager/common/js/util.js File ui/file_manager/file_manager/common/js/util.js (left): https://codereview.chromium.org/962103002/diff/1/ui/file_manager/file_manager/common/js/util.js#oldcode1046 ui/file_manager/file_manager/common/js/util.js:1046: util.repeatMouseEventWithCtrlKey = function(target, event) { Now that we can ...
5 years, 9 months ago (2015-02-27 04:28:26 UTC) #3
hirono
https://codereview.chromium.org/962103002/diff/1/ui/file_manager/file_manager/foreground/js/ui/file_grid.js File ui/file_manager/file_manager/foreground/js/ui/file_grid.js (right): https://codereview.chromium.org/962103002/diff/1/ui/file_manager/file_manager/foreground/js/ui/file_grid.js#newcode122 ui/file_manager/file_manager/foreground/js/ui/file_grid.js:122: } nit: Please add ; https://codereview.chromium.org/962103002/diff/1/ui/file_manager/file_manager/foreground/js/ui/file_grid.js#newcode448 ui/file_manager/file_manager/foreground/js/ui/file_grid.js:448: * @param ...
5 years, 9 months ago (2015-02-27 05:45:46 UTC) #4
fukino
Thank you! https://codereview.chromium.org/962103002/diff/1/ui/file_manager/file_manager/foreground/js/ui/file_grid.js File ui/file_manager/file_manager/foreground/js/ui/file_grid.js (right): https://codereview.chromium.org/962103002/diff/1/ui/file_manager/file_manager/foreground/js/ui/file_grid.js#newcode122 ui/file_manager/file_manager/foreground/js/ui/file_grid.js:122: } On 2015/02/27 05:45:46, hirono wrote: > ...
5 years, 9 months ago (2015-02-27 06:43:52 UTC) #5
hirono
https://codereview.chromium.org/962103002/diff/1/ui/file_manager/file_manager/foreground/js/ui/file_list_selection_model.js File ui/file_manager/file_manager/foreground/js/ui/file_list_selection_model.js (right): https://codereview.chromium.org/962103002/diff/1/ui/file_manager/file_manager/foreground/js/ui/file_list_selection_model.js#newcode8 ui/file_manager/file_manager/foreground/js/ui/file_list_selection_model.js:8: * @extends {cr.ui.ListSelectionModel} On 2015/02/27 06:43:52, fukino wrote: > ...
5 years, 9 months ago (2015-02-27 09:03:52 UTC) #6
fukino
https://codereview.chromium.org/962103002/diff/1/ui/file_manager/file_manager/foreground/js/ui/file_list_selection_model.js File ui/file_manager/file_manager/foreground/js/ui/file_list_selection_model.js (right): https://codereview.chromium.org/962103002/diff/1/ui/file_manager/file_manager/foreground/js/ui/file_list_selection_model.js#newcode8 ui/file_manager/file_manager/foreground/js/ui/file_list_selection_model.js:8: * @extends {cr.ui.ListSelectionModel} On 2015/02/27 09:03:52, hirono wrote: > ...
5 years, 9 months ago (2015-02-27 09:25:27 UTC) #7
hirono
https://codereview.chromium.org/962103002/diff/1/ui/file_manager/file_manager/foreground/js/ui/file_list_selection_model.js File ui/file_manager/file_manager/foreground/js/ui/file_list_selection_model.js (right): https://codereview.chromium.org/962103002/diff/1/ui/file_manager/file_manager/foreground/js/ui/file_list_selection_model.js#newcode53 ui/file_manager/file_manager/foreground/js/ui/file_list_selection_model.js:53: this.isCheckSelectMode_ = false; On 2015/02/27 09:25:26, fukino wrote: > ...
5 years, 9 months ago (2015-02-27 09:49:59 UTC) #8
fukino
https://codereview.chromium.org/962103002/diff/1/ui/file_manager/file_manager/foreground/js/ui/file_list_selection_model.js File ui/file_manager/file_manager/foreground/js/ui/file_list_selection_model.js (right): https://codereview.chromium.org/962103002/diff/1/ui/file_manager/file_manager/foreground/js/ui/file_list_selection_model.js#newcode53 ui/file_manager/file_manager/foreground/js/ui/file_list_selection_model.js:53: this.isCheckSelectMode_ = false; On 2015/02/27 09:49:59, hirono wrote: > ...
5 years, 9 months ago (2015-03-02 03:51:07 UTC) #9
hirono
> Using event listeners to update isCheckSelectMode_ can make another complication > to deal with ...
5 years, 9 months ago (2015-03-02 04:03:52 UTC) #10
fukino
On 2015/03/02 04:03:52, hirono wrote: > > Using event listeners to update isCheckSelectMode_ can make ...
5 years, 9 months ago (2015-03-02 04:30:15 UTC) #11
hirono
LGTM, thanks!
5 years, 9 months ago (2015-03-02 05:15:01 UTC) #12
fukino
Thank you!
5 years, 9 months ago (2015-03-02 06:12:09 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/962103002/100001
5 years, 9 months ago (2015-03-02 06:12:42 UTC) #15
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 9 months ago (2015-03-02 07:03:49 UTC) #16
commit-bot: I haz the power
5 years, 9 months ago (2015-03-02 07:04:15 UTC) #17
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/e144d30232209034b82d544926070bb8dc62f6ec
Cr-Commit-Position: refs/heads/master@{#318658}

Powered by Google App Engine
This is Rietveld 408576698