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

Issue 2625693002: Suggestions UI - expandable item (Closed)

Created:
3 years, 11 months ago by gambard
Modified:
3 years, 10 months ago
CC:
chromium-reviews, pkl (ping after 24h if needed), noyau+watch_chromium.org, sdefresne+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Suggestions UI - expandable item BUG=679369 Review-Url: https://codereview.chromium.org/2625693002 Cr-Commit-Position: refs/heads/master@{#444056} Committed: https://chromium.googlesource.com/chromium/src/+/9a26ea51a7b89d72ea18a9bf3583440a63be766d

Patch Set 1 #

Patch Set 2 : Rebase #

Total comments: 18

Patch Set 3 : Address some comments #

Patch Set 4 : Add tests #

Total comments: 2

Patch Set 5 : Use Audience #

Total comments: 10

Patch Set 6 : Address comments #

Patch Set 7 : Add comments #

Total comments: 8

Patch Set 8 : Update tests #

Total comments: 38

Patch Set 9 : Address comments #

Total comments: 1

Patch Set 10 : Cleanup #

Total comments: 6

Patch Set 11 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+517 lines, -5 lines) Patch
M ios/chrome/browser/ui/suggestions/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 3 chunks +7 lines, -0 lines 0 comments Download
A ios/chrome/browser/ui/suggestions/expandable_item.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +18 lines, -0 lines 0 comments Download
M ios/chrome/browser/ui/suggestions/suggestions_collection_updater.h View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M ios/chrome/browser/ui/suggestions/suggestions_collection_updater.mm View 1 2 3 4 5 6 7 8 3 chunks +18 lines, -2 lines 0 comments Download
A ios/chrome/browser/ui/suggestions/suggestions_expandable_item.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +57 lines, -0 lines 0 comments Download
A ios/chrome/browser/ui/suggestions/suggestions_expandable_item.mm View 1 2 3 4 5 6 7 8 9 10 1 chunk +237 lines, -0 lines 0 comments Download
A ios/chrome/browser/ui/suggestions/suggestions_expandable_item_unittest.mm View 1 2 3 4 5 6 7 8 1 chunk +104 lines, -0 lines 0 comments Download
A ios/chrome/browser/ui/suggestions/suggestions_item_unittest.mm View 1 2 3 4 5 6 1 chunk +26 lines, -0 lines 0 comments Download
M ios/chrome/browser/ui/suggestions/suggestions_view_controller.h View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -1 line 0 comments Download
M ios/chrome/browser/ui/suggestions/suggestions_view_controller.mm View 1 2 3 4 5 6 7 8 9 10 4 chunks +45 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (6 generated)
gambard
PTAL. Split 4/4 of https://codereview.chromium.org/2618343002/
3 years, 11 months ago (2017-01-10 13:07:48 UTC) #2
lpromero
Test file for the item. https://codereview.chromium.org/2625693002/diff/20001/ios/chrome/browser/ui/suggestions/suggestions_data_source.mm File ios/chrome/browser/ui/suggestions/suggestions_data_source.mm (right): https://codereview.chromium.org/2625693002/diff/20001/ios/chrome/browser/ui/suggestions/suggestions_data_source.mm#newcode55 ios/chrome/browser/ui/suggestions/suggestions_data_source.mm:55: title:@"Title of an Expandable ...
3 years, 11 months ago (2017-01-11 13:19:20 UTC) #3
gambard
Thanks, PTAL. https://codereview.chromium.org/2625693002/diff/20001/ios/chrome/browser/ui/suggestions/suggestions_data_source.mm File ios/chrome/browser/ui/suggestions/suggestions_data_source.mm (right): https://codereview.chromium.org/2625693002/diff/20001/ios/chrome/browser/ui/suggestions/suggestions_data_source.mm#newcode55 ios/chrome/browser/ui/suggestions/suggestions_data_source.mm:55: title:@"Title of an Expandable Article" On 2017/01/11 ...
3 years, 11 months ago (2017-01-12 14:39:40 UTC) #4
lpromero
https://codereview.chromium.org/2625693002/diff/20001/ios/chrome/browser/ui/suggestions/suggestions_expandable_item.h File ios/chrome/browser/ui/suggestions/suggestions_expandable_item.h (right): https://codereview.chromium.org/2625693002/diff/20001/ios/chrome/browser/ui/suggestions/suggestions_expandable_item.h#newcode28 ios/chrome/browser/ui/suggestions/suggestions_expandable_item.h:28: @property(nonatomic, assign) UICollectionView* collectionView; On 2017/01/12 14:39:40, gambard wrote: ...
3 years, 11 months ago (2017-01-12 16:44:39 UTC) #5
gambard
Thanks. I have changed the collectionView interaction to an audience protocol. PTAL. https://codereview.chromium.org/2625693002/diff/60001/ios/chrome/browser/ui/suggestions/suggestions_expandable_item.mm File ios/chrome/browser/ui/suggestions/suggestions_expandable_item.mm ...
3 years, 11 months ago (2017-01-13 16:41:52 UTC) #6
lpromero
https://codereview.chromium.org/2625693002/diff/80001/ios/chrome/browser/ui/suggestions/suggestions_collection_updater.mm File ios/chrome/browser/ui/suggestions/suggestions_collection_updater.mm (right): https://codereview.chromium.org/2625693002/diff/80001/ios/chrome/browser/ui/suggestions/suggestions_collection_updater.mm#newcode65 ios/chrome/browser/ui/suggestions/suggestions_collection_updater.mm:65: expandableItem.audience = collectionViewController; Please call it a delegate, as ...
3 years, 11 months ago (2017-01-13 17:35:48 UTC) #7
gambard
Thanks, PTAL. https://codereview.chromium.org/2625693002/diff/80001/ios/chrome/browser/ui/suggestions/suggestions_collection_updater.mm File ios/chrome/browser/ui/suggestions/suggestions_collection_updater.mm (right): https://codereview.chromium.org/2625693002/diff/80001/ios/chrome/browser/ui/suggestions/suggestions_collection_updater.mm#newcode65 ios/chrome/browser/ui/suggestions/suggestions_collection_updater.mm:65: expandableItem.audience = collectionViewController; On 2017/01/13 17:35:48, lpromero ...
3 years, 11 months ago (2017-01-16 09:50:39 UTC) #8
lpromero
lgtm https://codereview.chromium.org/2625693002/diff/120001/ios/chrome/browser/ui/suggestions/suggestions_expandable_item_unittest.mm File ios/chrome/browser/ui/suggestions/suggestions_expandable_item_unittest.mm (right): https://codereview.chromium.org/2625693002/diff/120001/ios/chrome/browser/ui/suggestions/suggestions_expandable_item_unittest.mm#newcode13 ios/chrome/browser/ui/suggestions/suggestions_expandable_item_unittest.mm:13: @interface SuggestionsExpandableCellTest : SuggestionsExpandableCell It should be called ...
3 years, 11 months ago (2017-01-16 11:35:19 UTC) #9
gambard
Thanks. marq@ do you want to take a look? https://codereview.chromium.org/2625693002/diff/120001/ios/chrome/browser/ui/suggestions/suggestions_expandable_item_unittest.mm File ios/chrome/browser/ui/suggestions/suggestions_expandable_item_unittest.mm (right): https://codereview.chromium.org/2625693002/diff/120001/ios/chrome/browser/ui/suggestions/suggestions_expandable_item_unittest.mm#newcode13 ios/chrome/browser/ui/suggestions/suggestions_expandable_item_unittest.mm:13: ...
3 years, 11 months ago (2017-01-16 13:26:04 UTC) #10
marq (ping after 24h)
https://codereview.chromium.org/2625693002/diff/140001/ios/chrome/browser/ui/suggestions/suggestions_expandable_item.h File ios/chrome/browser/ui/suggestions/suggestions_expandable_item.h (right): https://codereview.chromium.org/2625693002/diff/140001/ios/chrome/browser/ui/suggestions/suggestions_expandable_item.h#newcode15 ios/chrome/browser/ui/suggestions/suggestions_expandable_item.h:15: // the expansion/retractation of the cell. Perfer 'collapse' as ...
3 years, 11 months ago (2017-01-16 17:16:42 UTC) #11
gambard
Thanks. lpromero, can you check the comments? https://codereview.chromium.org/2625693002/diff/140001/ios/chrome/browser/ui/suggestions/suggestions_expandable_item.h File ios/chrome/browser/ui/suggestions/suggestions_expandable_item.h (right): https://codereview.chromium.org/2625693002/diff/140001/ios/chrome/browser/ui/suggestions/suggestions_expandable_item.h#newcode15 ios/chrome/browser/ui/suggestions/suggestions_expandable_item.h:15: // the ...
3 years, 11 months ago (2017-01-17 09:59:00 UTC) #12
lpromero
https://codereview.chromium.org/2625693002/diff/140001/ios/chrome/browser/ui/suggestions/suggestions_expandable_item.h File ios/chrome/browser/ui/suggestions/suggestions_expandable_item.h (right): https://codereview.chromium.org/2625693002/diff/140001/ios/chrome/browser/ui/suggestions/suggestions_expandable_item.h#newcode28 ios/chrome/browser/ui/suggestions/suggestions_expandable_item.h:28: // displayed only when the article is expanded. |type| ...
3 years, 11 months ago (2017-01-17 10:38:49 UTC) #13
gambard
Thanks. marq@, PTAL. https://codereview.chromium.org/2625693002/diff/140001/ios/chrome/browser/ui/suggestions/suggestions_expandable_item.mm File ios/chrome/browser/ui/suggestions/suggestions_expandable_item.mm (right): https://codereview.chromium.org/2625693002/diff/140001/ios/chrome/browser/ui/suggestions/suggestions_expandable_item.mm#newcode153 ios/chrome/browser/ui/suggestions/suggestions_expandable_item.mm:153: [self.delegate expandCell:self]; On 2017/01/16 17:16:41, marq ...
3 years, 11 months ago (2017-01-17 11:55:29 UTC) #14
marq (ping after 24h)
LGTM with one name change (and a bunch of tangential comments). https://codereview.chromium.org/2625693002/diff/140001/ios/chrome/browser/ui/suggestions/suggestions_expandable_item.mm File ios/chrome/browser/ui/suggestions/suggestions_expandable_item.mm (right): ...
3 years, 11 months ago (2017-01-17 13:42:17 UTC) #15
gambard
Thanks! https://codereview.chromium.org/2625693002/diff/140001/ios/chrome/browser/ui/suggestions/suggestions_expandable_item.mm File ios/chrome/browser/ui/suggestions/suggestions_expandable_item.mm (right): https://codereview.chromium.org/2625693002/diff/140001/ios/chrome/browser/ui/suggestions/suggestions_expandable_item.mm#newcode153 ios/chrome/browser/ui/suggestions/suggestions_expandable_item.mm:153: [self.delegate expandCell:self]; On 2017/01/17 13:42:16, marq wrote: > ...
3 years, 11 months ago (2017-01-17 14:46:56 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2625693002/200001
3 years, 11 months ago (2017-01-17 14:47:09 UTC) #19
commit-bot: I haz the power
Committed patchset #11 (id:200001) as https://chromium.googlesource.com/chromium/src/+/9a26ea51a7b89d72ea18a9bf3583440a63be766d
3 years, 11 months ago (2017-01-17 15:37:47 UTC) #22
noyau (Ping after 24h)
3 years, 10 months ago (2017-02-03 11:43:00 UTC) #24
Message was sent while issue was closed.
Sorry for the late comment. This was a draft and I forgot to send it.

https://codereview.chromium.org/2625693002/diff/160001/ios/chrome/browser/ui/...
File ios/chrome/browser/ui/suggestions/suggestions_collection_updater.h (right):

https://codereview.chromium.org/2625693002/diff/160001/ios/chrome/browser/ui/...
ios/chrome/browser/ui/suggestions/suggestions_collection_updater.h:18:
(SuggestionsViewController*)collectionViewController
Change the variable name as well for consistency?

Powered by Google App Engine
This is Rietveld 408576698