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

Issue 2741343005: ContentSuggestions collection adds items with animation (Closed)

Created:
3 years, 9 months ago by gambard
Modified:
3 years, 9 months ago
Reviewers:
stkhapugin, lpromero
CC:
chromium-reviews, ios-reviews+chrome_chromium.org, ios-reviews_chromium.org, pkl (ping after 24h if needed), noyau+watch_chromium.org, marq+watch_chromium.org, sdefresne+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

ContentSuggestions collection adds items with animation This CL changes the ContentSuggestions collection to add items with an animation instead of reloading the entire collection. BUG=699124, 700296 Review-Url: https://codereview.chromium.org/2741343005 Cr-Commit-Position: refs/heads/master@{#457083} Committed: https://chromium.googlesource.com/chromium/src/+/3a87cbc4fe0ad88df511929517797a10b9879361

Patch Set 1 #

Patch Set 2 : Change method name #

Total comments: 4

Patch Set 3 : Address lpromero comments #

Patch Set 4 : Add comment #

Total comments: 4

Patch Set 5 : Rebase #

Patch Set 6 : Rebase on correct head #

Unified diffs Side-by-side diffs Delta from patch set Stats (+98 lines, -58 lines) Patch
M ios/chrome/browser/ui/content_suggestions/content_suggestions_collection_updater.h View 1 2 3 4 1 chunk +11 lines, -0 lines 0 comments Download
M ios/chrome/browser/ui/content_suggestions/content_suggestions_collection_updater.mm View 1 2 3 4 5 5 chunks +64 lines, -58 lines 0 comments Download
M ios/chrome/browser/ui/content_suggestions/content_suggestions_view_controller.h View 1 2 2 chunks +3 lines, -0 lines 0 comments Download
M ios/chrome/browser/ui/content_suggestions/content_suggestions_view_controller.mm View 1 2 1 chunk +20 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (6 generated)
gambard
PTAL.
3 years, 9 months ago (2017-03-14 15:53:07 UTC) #2
lpromero
lgtm https://codereview.chromium.org/2741343005/diff/20001/ios/chrome/browser/ui/content_suggestions/content_suggestions_collection_updater.h File ios/chrome/browser/ui/content_suggestions/content_suggestions_collection_updater.h (right): https://codereview.chromium.org/2741343005/diff/20001/ios/chrome/browser/ui/content_suggestions/content_suggestions_collection_updater.h#newcode38 ios/chrome/browser/ui/content_suggestions/content_suggestions_collection_updater.h:38: - (NSArray<NSIndexPath*>*)addSuggestionsToModel: Either remove "toModel" here or add ...
3 years, 9 months ago (2017-03-14 16:23:02 UTC) #4
gambard
Thanks! https://codereview.chromium.org/2741343005/diff/20001/ios/chrome/browser/ui/content_suggestions/content_suggestions_collection_updater.h File ios/chrome/browser/ui/content_suggestions/content_suggestions_collection_updater.h (right): https://codereview.chromium.org/2741343005/diff/20001/ios/chrome/browser/ui/content_suggestions/content_suggestions_collection_updater.h#newcode38 ios/chrome/browser/ui/content_suggestions/content_suggestions_collection_updater.h:38: - (NSArray<NSIndexPath*>*)addSuggestionsToModel: On 2017/03/14 16:23:01, lpromero wrote: > ...
3 years, 9 months ago (2017-03-15 10:03:42 UTC) #5
lpromero
Nits. Still lgtm https://codereview.chromium.org/2741343005/diff/60001/ios/chrome/browser/ui/content_suggestions/content_suggestions_collection_updater.h File ios/chrome/browser/ui/content_suggestions/content_suggestions_collection_updater.h (right): https://codereview.chromium.org/2741343005/diff/60001/ios/chrome/browser/ui/content_suggestions/content_suggestions_collection_updater.h#newcode37 ios/chrome/browser/ui/content_suggestions/content_suggestions_collection_updater.h:37: // Adds the sections for the ...
3 years, 9 months ago (2017-03-15 10:28:34 UTC) #6
gambard
Thanks https://codereview.chromium.org/2741343005/diff/60001/ios/chrome/browser/ui/content_suggestions/content_suggestions_collection_updater.h File ios/chrome/browser/ui/content_suggestions/content_suggestions_collection_updater.h (right): https://codereview.chromium.org/2741343005/diff/60001/ios/chrome/browser/ui/content_suggestions/content_suggestions_collection_updater.h#newcode37 ios/chrome/browser/ui/content_suggestions/content_suggestions_collection_updater.h:37: // Adds the sections for the |suggestions| to ...
3 years, 9 months ago (2017-03-15 14:18:28 UTC) #7
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/2741343005/100001
3 years, 9 months ago (2017-03-15 15:02:22 UTC) #10
commit-bot: I haz the power
3 years, 9 months ago (2017-03-15 15:14:56 UTC) #13
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/3a87cbc4fe0ad88df51192951779...

Powered by Google App Engine
This is Rietveld 408576698