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

Issue 2447163004: [NTP Snippets] Pass "no suggestions" message from the backend to the UI (Closed)

Created:
4 years, 1 month ago by Marc Treib
Modified:
4 years, 1 month ago
Reviewers:
dgn
CC:
chromium-reviews, ntp-dev+reviews_chromium.org, agrieve+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[NTP Snippets] Pass "no suggestions" message from the backend to the UI BUG=656008 Committed: https://crrev.com/c8a8ed14c688ed2a049e0e10cce036df3f6457cb Cr-Commit-Position: refs/heads/master@{#427733}

Patch Set 1 #

Patch Set 2 : tests #

Total comments: 10

Patch Set 3 : review #

Total comments: 2

Patch Set 4 : fix comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+97 lines, -83 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/SignInPromo.java View 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/StatusCardViewHolder.java View 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/StatusItem.java View 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/SuggestionsCategoryInfo.java View 4 chunks +15 lines, -26 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/SnippetsBridge.java View 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/ntp/snippets/ArticleSnippetsTest.java View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/android/junit/src/org/chromium/chrome/browser/ntp/cards/ContentSuggestionsTestUtils.java View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/android/ntp/ntp_snippets_bridge.cc View 1 chunk +2 lines, -1 line 0 comments Download
M components/ntp_snippets/bookmarks/bookmark_suggestions_provider.cc View 1 chunk +2 lines, -1 line 0 comments Download
M components/ntp_snippets/category_info.h View 1 2 3 2 chunks +15 lines, -4 lines 0 comments Download
M components/ntp_snippets/category_info.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M components/ntp_snippets/content_suggestions_service_unittest.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M components/ntp_snippets/offline_pages/recent_tab_suggestions_provider.cc View 1 2 1 chunk +9 lines, -12 lines 0 comments Download
M components/ntp_snippets/physical_web_pages/physical_web_page_suggestions_provider.cc View 2 chunks +9 lines, -5 lines 0 comments Download
M components/ntp_snippets/remote/ntp_snippets_service.cc View 1 chunk +5 lines, -4 lines 0 comments Download
M components/ntp_snippets/sessions/foreign_sessions_suggestions_provider.cc View 1 chunk +9 lines, -5 lines 0 comments Download
M components/ntp_snippets_strings.grdp View 2 chunks +12 lines, -9 lines 0 comments Download

Messages

Total messages: 14 (6 generated)
Marc Treib
PTAL! https://codereview.chromium.org/2447163004/diff/20001/components/ntp_snippets/category_info.h File components/ntp_snippets/category_info.h (right): https://codereview.chromium.org/2447163004/diff/20001/components/ntp_snippets/category_info.h#newcode45 components/ntp_snippets/category_info.h:45: bool has_more_button() const { return has_more_button_; } (Unrelated ...
4 years, 1 month ago (2016-10-26 12:39:02 UTC) #2
dgn
You can use 656008 as the issue number https://codereview.chromium.org/2447163004/diff/20001/chrome/android/javatests/src/org/chromium/chrome/browser/ntp/snippets/ArticleSnippetsTest.java File chrome/android/javatests/src/org/chromium/chrome/browser/ntp/snippets/ArticleSnippetsTest.java (right): https://codereview.chromium.org/2447163004/diff/20001/chrome/android/javatests/src/org/chromium/chrome/browser/ntp/snippets/ArticleSnippetsTest.java#newcode178 chrome/android/javatests/src/org/chromium/chrome/browser/ntp/snippets/ArticleSnippetsTest.java:178: ContentSuggestionsCardLayout.FULL_CARD, ...
4 years, 1 month ago (2016-10-26 14:05:40 UTC) #3
Marc Treib
Thanks! PTAL again. https://codereview.chromium.org/2447163004/diff/20001/chrome/android/javatests/src/org/chromium/chrome/browser/ntp/snippets/ArticleSnippetsTest.java File chrome/android/javatests/src/org/chromium/chrome/browser/ntp/snippets/ArticleSnippetsTest.java (right): https://codereview.chromium.org/2447163004/diff/20001/chrome/android/javatests/src/org/chromium/chrome/browser/ntp/snippets/ArticleSnippetsTest.java#newcode178 chrome/android/javatests/src/org/chromium/chrome/browser/ntp/snippets/ArticleSnippetsTest.java:178: ContentSuggestionsCardLayout.FULL_CARD, false, true, "No suggestions")); On ...
4 years, 1 month ago (2016-10-26 14:29:09 UTC) #5
dgn
lgtm, provided the comment is fixed https://codereview.chromium.org/2447163004/diff/20001/components/ntp_snippets/category_info.h File components/ntp_snippets/category_info.h (right): https://codereview.chromium.org/2447163004/diff/20001/components/ntp_snippets/category_info.h#newcode45 components/ntp_snippets/category_info.h:45: bool has_more_button() const ...
4 years, 1 month ago (2016-10-26 16:00:33 UTC) #6
Marc Treib
https://codereview.chromium.org/2447163004/diff/40001/components/ntp_snippets/category_info.h File components/ntp_snippets/category_info.h (right): https://codereview.chromium.org/2447163004/diff/40001/components/ntp_snippets/category_info.h#newcode42 components/ntp_snippets/category_info.h:42: // Whether the category should show a "More" button ...
4 years, 1 month ago (2016-10-26 16:35: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/2447163004/60001
4 years, 1 month ago (2016-10-26 16:35:58 UTC) #10
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 1 month ago (2016-10-26 17:36:26 UTC) #12
commit-bot: I haz the power
4 years, 1 month ago (2016-10-26 17:50:57 UTC) #14
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/c8a8ed14c688ed2a049e0e10cce036df3f6457cb
Cr-Commit-Position: refs/heads/master@{#427733}

Powered by Google App Engine
This is Rietveld 408576698