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

Issue 665873 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Dec 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug

Blocked on:
issue 672479
issue 674163
issue 676249



Sign in to add a comment

Improve content suggestions fetch times

Project Member Reported by markusheintz@chromium.org, Nov 16 2016

Issue description

Improve content suggestions fetch times and frequency.

 
Project Member

Comment 1 by bugdroid1@chromium.org, Nov 16 2016

Comment 3 by fi...@chromium.org, Nov 21 2016

Labels: -Pri-3 M-57 zine-fetch-strategy-v1 zine-triaged Pri-2
Raising Prio to P2 and setting target to M-57 to properly reflect the importance of this task. No problem if it slips to M-58 though. 

Comment 4 by treib@chromium.org, Nov 23 2016

Labels: Merge-Request-56 OS-Android
Requesting to merge the CL from comment #2 to M56.

Comment 5 by dimu@chromium.org, Nov 23 2016

Labels: -Merge-Request-56 Merge-Approved-56 Hotlist-Merge-Approved
Your change meets the bar and is auto-approved for M56 (branch: 2924)
Project Member

Comment 6 by bugdroid1@chromium.org, Nov 23 2016

Labels: -merge-approved-56 merge-merged-2924
The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/d3b0a45fc690bf465c91303d64f75848e7b13bb5

commit d3b0a45fc690bf465c91303d64f75848e7b13bb5
Author: Marc Treib <treib@chromium.org>
Date: Wed Nov 23 16:19:14 2016

Add a count for Suggested Articles usage.

BUG= 665873 

Review-Url: https://codereview.chromium.org/2510053002
Cr-Commit-Position: refs/heads/master@{#433182}
(cherry picked from commit b0ed4eb7afa96fadc7404597c9b5d3b01db1e547)

Review URL: https://codereview.chromium.org/2528683003 .

Cr-Commit-Position: refs/branch-heads/2924@{#75}
Cr-Branched-From: 3a87aecc31cd1ffe751dd72c04e5a96a1fc8108a-refs/heads/master@{#433059}

[modify] https://crrev.com/d3b0a45fc690bf465c91303d64f75848e7b13bb5/components/ntp_snippets/content_suggestions_metrics.cc
[modify] https://crrev.com/d3b0a45fc690bf465c91303d64f75848e7b13bb5/tools/metrics/actions/actions.xml

Project Member

Comment 7 by bugdroid1@chromium.org, Dec 8 2016

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

commit f6f620269ee0af3e7f8da7542a0cf04275248912
Author: markusheintz <markusheintz@chromium.org>
Date: Thu Dec 08 13:02:25 2016

RemoteContentSuggestions: Stores the time of the last successful background fetch in a pref.

Therefore we also need to pass the fetch success status to the callback passed to the NTPSnippetsFetcher.

The last successful background fetch time will be used by the scheduler in the future in order to decide when to do/schedule the next background fetch.

Passing back the success status to the callback will also allow to add error handling.

BUG= 665873 ,672422

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

[modify] https://crrev.com/f6f620269ee0af3e7f8da7542a0cf04275248912/components/ntp_snippets/pref_names.cc
[modify] https://crrev.com/f6f620269ee0af3e7f8da7542a0cf04275248912/components/ntp_snippets/pref_names.h
[modify] https://crrev.com/f6f620269ee0af3e7f8da7542a0cf04275248912/components/ntp_snippets/remote/ntp_snippets_fetcher.cc
[modify] https://crrev.com/f6f620269ee0af3e7f8da7542a0cf04275248912/components/ntp_snippets/remote/ntp_snippets_fetcher.h
[modify] https://crrev.com/f6f620269ee0af3e7f8da7542a0cf04275248912/components/ntp_snippets/remote/ntp_snippets_fetcher_unittest.cc
[modify] https://crrev.com/f6f620269ee0af3e7f8da7542a0cf04275248912/components/ntp_snippets/remote/remote_suggestions_provider.cc
[modify] https://crrev.com/f6f620269ee0af3e7f8da7542a0cf04275248912/components/ntp_snippets/remote/remote_suggestions_provider.h
[modify] https://crrev.com/f6f620269ee0af3e7f8da7542a0cf04275248912/components/ntp_snippets/remote/remote_suggestions_provider_unittest.cc

Blockedon: 672479
Project Member

Comment 9 by bugdroid1@chromium.org, Dec 13 2016

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

commit a393080dc65d0a7f3db31a84b87a9ab66f76c683
Author: markusheintz <markusheintz@chromium.org>
Date: Tue Dec 13 14:01:24 2016

Adds histograms for collecting data about Zine usage for each day of the week.

The goal is to compare usage patterns between the different days of the week.

BUG= 665873 

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

[modify] https://crrev.com/a393080dc65d0a7f3db31a84b87a9ab66f76c683/components/ntp_snippets/content_suggestions_metrics.cc
[modify] https://crrev.com/a393080dc65d0a7f3db31a84b87a9ab66f76c683/tools/metrics/histograms/histograms.xml

Project Member

Comment 10 by bugdroid1@chromium.org, Dec 13 2016

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

commit 6f611ae761793787a9c970a10fee31f7b23d7bc5
Author: markusheintz <markusheintz@chromium.org>
Date: Tue Dec 13 19:50:53 2016

[NTPSnippets] Switch from TickClock to Clock for storing the last background fetched time.
Expose the last background fetch time on snippets internals and allow to trigger background fetches manually from snippets internal.

BUG= 665873 
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation

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

[modify] https://crrev.com/6f611ae761793787a9c970a10fee31f7b23d7bc5/chrome/browser/resources/snippets_internals.html
[modify] https://crrev.com/6f611ae761793787a9c970a10fee31f7b23d7bc5/chrome/browser/resources/snippets_internals.js
[modify] https://crrev.com/6f611ae761793787a9c970a10fee31f7b23d7bc5/chrome/browser/ui/webui/snippets_internals_message_handler.cc
[modify] https://crrev.com/6f611ae761793787a9c970a10fee31f7b23d7bc5/chrome/browser/ui/webui/snippets_internals_message_handler.h
[modify] https://crrev.com/6f611ae761793787a9c970a10fee31f7b23d7bc5/chrome/browser/ui/webui/snippets_internals_ui.cc
[modify] https://crrev.com/6f611ae761793787a9c970a10fee31f7b23d7bc5/components/ntp_snippets/remote/remote_suggestions_provider.cc
[modify] https://crrev.com/6f611ae761793787a9c970a10fee31f7b23d7bc5/components/ntp_snippets/remote/remote_suggestions_provider.h
[modify] https://crrev.com/6f611ae761793787a9c970a10fee31f7b23d7bc5/components/ntp_snippets/remote/remote_suggestions_provider_unittest.cc

Blockedon: 674163
Blockedon: 676249
Cc: markusheintz@chromium.org
Owner: jkrcal@chromium.org
Jan I guess this one is fixed. And superseded by other efforts. Can I close it?
Status: Fixed (was: Assigned)
Yes, I think this is addressed.

Sign in to add a comment