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

Issue 603907 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: May 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 1
Type: Feature

Blocking:
issue 584301
issue 603267



Sign in to add a comment

Enable personalization for HOST_RESTRICTed suggestions in supported locales

Project Member Reported by nepper@chromium.org, Apr 15 2016

Issue description

We should enable personalization for ChromeReader suggestions in supported locales. This likely includes sending GAIA ids with requests.

 

Comment 1 by treib@chromium.org, Apr 15 2016

Blocking: 584301

Comment 2 by treib@chromium.org, Apr 20 2016

Cc: jkrcal@chromium.org

Comment 3 by jkrcal@chromium.org, Apr 20 2016

Cc: -jkrcal@chromium.org
Owner: jkrcal@chromium.org

Comment 4 by jkrcal@chromium.org, Apr 21 2016

Labels: zine-mr-iter-12
I hope to start early next week.

Comment 5 by treib@chromium.org, Apr 21 2016

Status: Assigned (was: Available)

Comment 6 by nepper@chromium.org, Apr 22 2016

Feel lucky - this is a P0.9 ;) (mostly because we expect significant impact on suggestions quality).

Comment 7 by nepper@chromium.org, Apr 22 2016

Oh, BTW: if you find that turning on personalization for HOST_RESTRICTed queries can be enabled without specifying locales, please do exactly that and file a separate P2 bug for the locale support.


Thanks!

Comment 8 by fi...@chromium.org, Apr 22 2016

What's the rational behind "host restricting" personalized results? So far I heard from a lot of people that they don't get snippets at all. I have the gut feeling that there are mostly two reasons for that:
1. they don't have ML tiles (because of pass phrase etc.) 
2. their ML tiles only includes sites for which ChromeReader doesn't have any suggestions.

Mikel is now working on issue 605522 to measure how often we don't have tiles.

Comment 9 by bauerb@chromium.org, Apr 22 2016

Not getting any snippets at all is different from this, no? This would hopefully increase the quality for cases where we do get snippets.

Comment 10 by fi...@chromium.org, Apr 22 2016

You're right - filed issue 605876 for that.
Issue 605231 has been merged into this issue.
Labels: zine-mr-iter-13
I have the basic functionality implemented. 
It is currently blocked on discussion with raghu about providing gaia_id to ChromeReader.

Comment 13 by fi...@chromium.org, Apr 29 2016

Have we already defined how this should be launched? Via a separate finch experiment or will we just replace the current behavior?  
Ideally, this should be a separate experiment, because we don't know, yet, if the experience is going to be worse or better than without personalization.
Labels: zine-mr-iter-14
Almost there, hope to land it early this week.
Blocking: 603267
Project Member

Comment 17 by bugdroid1@chromium.org, May 11 2016

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

commit 33a244f68391a327cde16a006150f862ae641aab
Author: jkrcal <jkrcal@chromium.org>
Date: Wed May 11 09:28:37 2016

Allow fetching personalized snippets from ChromeReader.

This amounts to:
 - adding singin_manager and token_service to the fetcher;
 - adding a variation parameter to determine the type of fetching (see bug 606320);
 - changes to the request strings sent to ChromeReader;
 - getting the snippets ordered by their score (see  bug 608713 );

Additionally, this CL adds a score member to NTPSnippet and exposes it in snippets-internals.
(Loading and storing of NTPSnippet needed to be changed a bit as the score entry is stored in the top level suggestion node and not in the contentInfo subnode as everything else that we loaded so far).

BUG= 603907 ,  608713 , 606320
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation

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

[modify] https://crrev.com/33a244f68391a327cde16a006150f862ae641aab/chrome/browser/ntp_snippets/ntp_snippets_service_factory.cc
[modify] https://crrev.com/33a244f68391a327cde16a006150f862ae641aab/chrome/browser/resources/snippets_internals.css
[modify] https://crrev.com/33a244f68391a327cde16a006150f862ae641aab/chrome/browser/resources/snippets_internals.html
[modify] https://crrev.com/33a244f68391a327cde16a006150f862ae641aab/chrome/browser/ui/webui/snippets_internals_message_handler.cc
[modify] https://crrev.com/33a244f68391a327cde16a006150f862ae641aab/components/ntp_snippets.gypi
[modify] https://crrev.com/33a244f68391a327cde16a006150f862ae641aab/components/ntp_snippets/BUILD.gn
[modify] https://crrev.com/33a244f68391a327cde16a006150f862ae641aab/components/ntp_snippets/DEPS
[modify] https://crrev.com/33a244f68391a327cde16a006150f862ae641aab/components/ntp_snippets/ntp_snippet.cc
[modify] https://crrev.com/33a244f68391a327cde16a006150f862ae641aab/components/ntp_snippets/ntp_snippet.h
[add] https://crrev.com/33a244f68391a327cde16a006150f862ae641aab/components/ntp_snippets/ntp_snippets_constants.cc
[add] https://crrev.com/33a244f68391a327cde16a006150f862ae641aab/components/ntp_snippets/ntp_snippets_constants.h
[modify] https://crrev.com/33a244f68391a327cde16a006150f862ae641aab/components/ntp_snippets/ntp_snippets_fetcher.cc
[modify] https://crrev.com/33a244f68391a327cde16a006150f862ae641aab/components/ntp_snippets/ntp_snippets_fetcher.h
[modify] https://crrev.com/33a244f68391a327cde16a006150f862ae641aab/components/ntp_snippets/ntp_snippets_fetcher_unittest.cc
[modify] https://crrev.com/33a244f68391a327cde16a006150f862ae641aab/components/ntp_snippets/ntp_snippets_service.cc
[modify] https://crrev.com/33a244f68391a327cde16a006150f862ae641aab/components/ntp_snippets/ntp_snippets_service_unittest.cc
[modify] https://crrev.com/33a244f68391a327cde16a006150f862ae641aab/ios/chrome/browser/ntp_snippets/ios_chrome_ntp_snippets_service_factory.cc

Status: Fixed (was: Assigned)
Project Member

Comment 19 by bugdroid1@chromium.org, May 11 2016

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

commit ffbe609f40c9df9523fc872d2fd1a71f22317064
Author: jkrcal <jkrcal@chromium.org>
Date: Wed May 11 14:40:56 2016

Fix a memory error introduced by issue 1922083004, revealed by the
chromium.memory.fyi buildbot.

BUG= 603907 

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

[modify] https://crrev.com/ffbe609f40c9df9523fc872d2fd1a71f22317064/components/ntp_snippets/ntp_snippets_fetcher.cc

Project Member

Comment 20 by bugdroid1@chromium.org, May 19 2016

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

commit a4df8ada22f3d15ad7153a369c780795797dfa1d
Author: jkrcal <jkrcal@chromium.org>
Date: Thu May 19 16:41:07 2016

Getting the personalization settings in chrome://snippets-internals display correctly.

The personalization settings have been changed by recent CLs, this CL keeps snippets-internals up-to-date.

BUG= 603907 ,606320
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation

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

[modify] https://crrev.com/a4df8ada22f3d15ad7153a369c780795797dfa1d/chrome/browser/resources/snippets_internals.html
[modify] https://crrev.com/a4df8ada22f3d15ad7153a369c780795797dfa1d/chrome/browser/resources/snippets_internals.js
[modify] https://crrev.com/a4df8ada22f3d15ad7153a369c780795797dfa1d/chrome/browser/ui/webui/snippets_internals_message_handler.cc
[modify] https://crrev.com/a4df8ada22f3d15ad7153a369c780795797dfa1d/components/ntp_snippets/ntp_snippets_fetcher.cc
[modify] https://crrev.com/a4df8ada22f3d15ad7153a369c780795797dfa1d/components/ntp_snippets/ntp_snippets_fetcher.h
[modify] https://crrev.com/a4df8ada22f3d15ad7153a369c780795797dfa1d/components/ntp_snippets/ntp_snippets_service.cc
[modify] https://crrev.com/a4df8ada22f3d15ad7153a369c780795797dfa1d/components/ntp_snippets/ntp_snippets_service.h
[modify] https://crrev.com/a4df8ada22f3d15ad7153a369c780795797dfa1d/components/ntp_snippets/ntp_snippets_service_unittest.cc

Labels: zine-mr-MVP
Labels: -zine-mr-mvp
Labels: zine-mr-MVP

Sign in to add a comment