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

Issue 435553003: DeletableItemList: Make 'X' button delete only the one list item that contains it. (Closed)

Created:
6 years, 4 months ago by engedy
Modified:
6 years, 4 months ago
Reviewers:
Dan Beam, Evan Stade
CC:
chromium-reviews, dbeam+watch-options_chromium.org, arv+watch_chromium.org, arv (Not doing code reviews)
Project:
chromium
Visibility:
Public.

Description

DeletableItemList: Make 'X' button delete only the one list item that contains it, regardless of selection. Because the close buttons do not give any visual indication that they would behave differently when multiple items are selected, we should delete only the one list item that contains the close button being clicked, regardless of which / how many other items are selected. If the user wants to delete a lot of stuff at once, he would have to press the delete key. BUG=399209 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=287005

Patch Set 1 #

Total comments: 5

Patch Set 2 : Addressed (some) comments. #

Total comments: 2

Patch Set 3 : Remove comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -10 lines) Patch
M chrome/browser/resources/options/deletable_item_list.js View 1 2 1 chunk +1 line, -10 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
engedy
@Dan, @Evan, I have implemented this separately, PTAL. https://codereview.chromium.org/435553003/diff/1/chrome/browser/resources/options/deletable_item_list.js File chrome/browser/resources/options/deletable_item_list.js (right): https://codereview.chromium.org/435553003/diff/1/chrome/browser/resources/options/deletable_item_list.js#newcode147 chrome/browser/resources/options/deletable_item_list.js:147: this.selectionModel.clear(); ...
6 years, 4 months ago (2014-07-31 09:30:22 UTC) #1
Evan Stade
lgtm https://codereview.chromium.org/435553003/diff/1/chrome/browser/resources/options/deletable_item_list.js File chrome/browser/resources/options/deletable_item_list.js (right): https://codereview.chromium.org/435553003/diff/1/chrome/browser/resources/options/deletable_item_list.js#newcode143 chrome/browser/resources/options/deletable_item_list.js:143: // delete a lot of stuff at once, ...
6 years, 4 months ago (2014-07-31 15:09:27 UTC) #2
engedy
@Evan, please take another look. https://codereview.chromium.org/435553003/diff/1/chrome/browser/resources/options/deletable_item_list.js File chrome/browser/resources/options/deletable_item_list.js (right): https://codereview.chromium.org/435553003/diff/1/chrome/browser/resources/options/deletable_item_list.js#newcode143 chrome/browser/resources/options/deletable_item_list.js:143: // delete a lot ...
6 years, 4 months ago (2014-07-31 16:36:53 UTC) #3
Evan Stade
I don't care strongly about whether the selection is clobbered when you press [x]. https://codereview.chromium.org/435553003/diff/20001/chrome/browser/resources/options/deletable_item_list.js ...
6 years, 4 months ago (2014-07-31 19:36:07 UTC) #4
engedy
https://codereview.chromium.org/435553003/diff/20001/chrome/browser/resources/options/deletable_item_list.js File chrome/browser/resources/options/deletable_item_list.js (right): https://codereview.chromium.org/435553003/diff/20001/chrome/browser/resources/options/deletable_item_list.js#newcode140 chrome/browser/resources/options/deletable_item_list.js:140: // would be affected by the current selection, so ...
6 years, 4 months ago (2014-08-01 08:06:25 UTC) #5
engedy
The CQ bit was checked by engedy@chromium.org
6 years, 4 months ago (2014-08-01 08:06:29 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/engedy@chromium.org/435553003/40001
6 years, 4 months ago (2014-08-01 08:08:07 UTC) #7
commit-bot: I haz the power
6 years, 4 months ago (2014-08-01 15:08:55 UTC) #8
Message was sent while issue was closed.
Change committed as 287005

Powered by Google App Engine
This is Rietveld 408576698