New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 707754 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: May 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: iOS
Pri: 3
Type: Bug



Sign in to add a comment

Include Most Visited on Suggested Content

Project Member Reported by gambard@chromium.org, Apr 3 2017

Issue description

The suggested content on the NTP should display the Most Visited tiles.
 
Project Member

Comment 2 by bugdroid1@chromium.org, Apr 6 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/3147e853f63020dc085577281385e4aa898a95c6

commit 3147e853f63020dc085577281385e4aa898a95c6
Author: gambard <gambard@chromium.org>
Date: Thu Apr 06 12:16:50 2017

Add MostVistedSites to ContentSuggestionsMediator

The ContentSuggestionsMediator now returns the MostVisited tiles in the
suggestions availables.

BUG= 707754 

Review-Url: https://codereview.chromium.org/2798563002
Cr-Commit-Position: refs/heads/master@{#462435}

[modify] https://crrev.com/3147e853f63020dc085577281385e4aa898a95c6/ios/chrome/browser/content_suggestions/BUILD.gn
[modify] https://crrev.com/3147e853f63020dc085577281385e4aa898a95c6/ios/chrome/browser/content_suggestions/content_suggestions_coordinator.mm
[modify] https://crrev.com/3147e853f63020dc085577281385e4aa898a95c6/ios/chrome/browser/content_suggestions/content_suggestions_mediator.h
[modify] https://crrev.com/3147e853f63020dc085577281385e4aa898a95c6/ios/chrome/browser/content_suggestions/content_suggestions_mediator.mm
[modify] https://crrev.com/3147e853f63020dc085577281385e4aa898a95c6/ios/chrome/browser/content_suggestions/mediator_util.h
[modify] https://crrev.com/3147e853f63020dc085577281385e4aa898a95c6/ios/chrome/browser/content_suggestions/mediator_util.mm
[modify] https://crrev.com/3147e853f63020dc085577281385e4aa898a95c6/ios/chrome/browser/ui/content_suggestions/content_suggestion.h
[modify] https://crrev.com/3147e853f63020dc085577281385e4aa898a95c6/ios/chrome/browser/ui/content_suggestions/content_suggestions_collection_updater.mm
[modify] https://crrev.com/3147e853f63020dc085577281385e4aa898a95c6/ios/chrome/browser/ui/content_suggestions/content_suggestions_data_sink.h
[modify] https://crrev.com/3147e853f63020dc085577281385e4aa898a95c6/ios/chrome/browser/ui/content_suggestions/content_suggestions_view_controller.mm
[modify] https://crrev.com/3147e853f63020dc085577281385e4aa898a95c6/ios/chrome/browser/ui/content_suggestions/identifier/content_suggestions_section_information.h

Project Member

Comment 3 by bugdroid1@chromium.org, Apr 10 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/cde4c9664fbafda7dffe1c61ac059d6bd80882b3

commit cde4c9664fbafda7dffe1c61ac059d6bd80882b3
Author: gambard <gambard@chromium.org>
Date: Mon Apr 10 14:27:48 2017

Create a Most Visited tile for ContentSuggestions

This CL creates a ContentSuggestionsMostVisitedTile view displaying a Most
Visited suggestion, with a favicon and a title.
It also creates a ContentSuggestionsMostVisited, containing the informations
for the tile.

BUG= 707754 

Review-Url: https://codereview.chromium.org/2803223002
Cr-Commit-Position: refs/heads/master@{#463258}

[modify] https://crrev.com/cde4c9664fbafda7dffe1c61ac059d6bd80882b3/ios/chrome/browser/ui/content_suggestions/cells/BUILD.gn
[add] https://crrev.com/cde4c9664fbafda7dffe1c61ac059d6bd80882b3/ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_most_visited.h
[add] https://crrev.com/cde4c9664fbafda7dffe1c61ac059d6bd80882b3/ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_most_visited.mm
[add] https://crrev.com/cde4c9664fbafda7dffe1c61ac059d6bd80882b3/ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_most_visited_tile.h
[add] https://crrev.com/cde4c9664fbafda7dffe1c61ac059d6bd80882b3/ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_most_visited_tile.mm
[add] https://crrev.com/cde4c9664fbafda7dffe1c61ac059d6bd80882b3/ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_most_visited_tile_unittest.mm
[add] https://crrev.com/cde4c9664fbafda7dffe1c61ac059d6bd80882b3/ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_most_visited_unittest.mm

Project Member

Comment 5 by bugdroid1@chromium.org, May 9 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/29067c254b36f05d476335066744e3f6782c7e98

commit 29067c254b36f05d476335066744e3f6782c7e98
Author: gambard <gambard@chromium.org>
Date: Tue May 09 07:55:55 2017

Add Most Visited tiles to ContentSuggestions

This CL creates and add the Most Visited tiles to the ContentSuggestions.

BUG= 707754 ,  708491 ,  713183 

Review-Url: https://codereview.chromium.org/2815023003
Cr-Commit-Position: refs/heads/master@{#470264}

[modify] https://crrev.com/29067c254b36f05d476335066744e3f6782c7e98/ios/chrome/browser/ui/content_suggestions/content_suggestions_collection_updater.mm

Project Member

Comment 6 by bugdroid1@chromium.org, May 10 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/39c34e94e02aa327f7f08b888f1d0949cb940a9c

commit 39c34e94e02aa327f7f08b888f1d0949cb940a9c
Author: gambard <gambard@chromium.org>
Date: Wed May 10 07:23:11 2017

Create individual cells for MostVisited tiles

This CL displays the MostVisited tiles as individual cells instead of using
one big cell and fitting all of them inside.
This allows easier interactions with the user and easier animations on rotation.
The layout is yet to be done.

BUG= 707754 

Review-Url: https://codereview.chromium.org/2873503005
Cr-Commit-Position: refs/heads/master@{#470512}

[modify] https://crrev.com/39c34e94e02aa327f7f08b888f1d0949cb940a9c/ios/chrome/browser/ui/content_suggestions/cells/BUILD.gn
[delete] https://crrev.com/399218194335c41bdb975bff6a7aac99d4dd6b0c/ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_most_visited.h
[delete] https://crrev.com/399218194335c41bdb975bff6a7aac99d4dd6b0c/ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_most_visited.mm
[modify] https://crrev.com/39c34e94e02aa327f7f08b888f1d0949cb940a9c/ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_most_visited_item.h
[modify] https://crrev.com/39c34e94e02aa327f7f08b888f1d0949cb940a9c/ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_most_visited_item.mm
[modify] https://crrev.com/39c34e94e02aa327f7f08b888f1d0949cb940a9c/ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_most_visited_item_unittest.mm
[delete] https://crrev.com/399218194335c41bdb975bff6a7aac99d4dd6b0c/ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_most_visited_tile.h
[delete] https://crrev.com/399218194335c41bdb975bff6a7aac99d4dd6b0c/ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_most_visited_tile.mm
[delete] https://crrev.com/399218194335c41bdb975bff6a7aac99d4dd6b0c/ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_most_visited_tile_unittest.mm
[delete] https://crrev.com/399218194335c41bdb975bff6a7aac99d4dd6b0c/ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_most_visited_unittest.mm
[modify] https://crrev.com/39c34e94e02aa327f7f08b888f1d0949cb940a9c/ios/chrome/browser/ui/content_suggestions/content_suggestions_collection_updater.mm

Project Member

Comment 7 by bugdroid1@chromium.org, May 17 2017

Status: Fixed (was: Assigned)
Project Member

Comment 11 by bugdroid1@chromium.org, Jun 7 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/28050dfc93a9ff9de70fcfba4e49aefdfc08d5fc

commit 28050dfc93a9ff9de70fcfba4e49aefdfc08d5fc
Author: gambard <gambard@chromium.org>
Date: Wed Jun 07 11:05:37 2017

Reload the Most Visited section when it changes

When the Most Visited model changes, the UI should be updated only on user
interaction.

BUG= 707754 ,  724427 

Review-Url: https://codereview.chromium.org/2923973002
Cr-Commit-Position: refs/heads/master@{#477610}

[modify] https://crrev.com/28050dfc93a9ff9de70fcfba4e49aefdfc08d5fc/ios/chrome/browser/content_suggestions/content_suggestions_mediator.mm
[modify] https://crrev.com/28050dfc93a9ff9de70fcfba4e49aefdfc08d5fc/ios/chrome/browser/ui/content_suggestions/content_suggestions_collection_updater.mm

Sign in to add a comment