[Desktop] Brave Today should not fetch data until interacted with #13059
Labels
feature/brave-news
formerly brave-today
OS/Desktop
priority/P2
A bad problem. We might uplift this to the next planned release.
QA Pass-Win64
QA/Yes
release-notes/exclude
Milestone
Whilst Brave Today requests are completely anonymous, we want to make sure we're not making any requests unnecessarily, especially without user interaction. It would be ideal to only request Brave Today data once the user interacts with the feature, either by scrolling down to view the feed or customizing settings.
Test Plan
Since a request has been removed, we mainly need to check that the feed is still correctly fetched and updated:
However, in order to verify that there is no fetch before the feature is interacted with AFAIK we will need a third party app (e.g. Little Snitch) to verify no connection is made on startup. Once the browser is started up, we can use the Brave extension DevTools (via
chrome://inspect#extensions
) to verify that the feed is not fetched when a NTP is opened, and only fetched when either:The text was updated successfully, but these errors were encountered: