Show cached data immediately on subsequent loads
Categories
(Firefox :: New Tab Page, defect, P1)
Tracking
()
People
(Reporter: andreio, Assigned: andreio)
References
Details
(Keywords: github-merged)
User Story
QA Steps: 1. Run Firefox with Discovery Stream on. 2. Make sure the `dev-test-all` variant is enabled. 3. Run the following code in the Browser Toolbox * https://gist.githubusercontent.com/piatra/a4de28d242721d4199f89a6d78e9f66e/raw/e5f7bbaf3d92a52bf01b597f8acb11096e927c84/steps.js 4. Notice the numbers associated with each component 5. Restart the browser and run the same code again. We expect to see the same numbers associated with the components.
Attachments
(4 files, 1 obsolete file)
On startup we want to immediately show cached content (if it's less than a week old) and do a background fetch so that the next newtab or load will have fresh data.
Assignee | ||
Updated•5 years ago
|
Comment 1•5 years ago
|
||
Updated•5 years ago
|
Updated•5 years ago
|
Comment 3•5 years ago
|
||
Comment 4•5 years ago
|
||
Want to request uplift here? Is there some way to verify the fix?
Updated•5 years ago
|
Assignee | ||
Comment 5•5 years ago
|
||
Assignee | ||
Comment 6•5 years ago
|
||
Added QA steps in user story.
Updated•5 years ago
|
Comment 7•5 years ago
|
||
Is this going to conflict with https://bugzilla.mozilla.org/show_bug.cgi?id=1525413? Does that need to land first?
Comment 8•5 years ago
|
||
Ok, so what you'll need to do to update this is:
- arc patch my https://phabricator.services.mozilla.com/D19577 diff and reset your phabricator branch to that
- In Github, cherry-pick your commit on top of my
bug1525413-uplift
branch (see: https://github.com/mozilla/activity-stream/compare/beta...k88hudson:bug1525413-uplift) - npm run builduplift and commit the new diff, update your phabricator patch against HEAD^
Ping me if you have trouble
Assignee | ||
Comment 9•5 years ago
|
||
Updated the patch waiting on bug 1520258 and bug 1525413 to get uplifted.
Assignee | ||
Comment 10•5 years ago
|
||
QA needed. Please let me know if there are any issues with the steps.
Assignee | ||
Comment 11•5 years ago
|
||
Comment on attachment 9043314 [details]
Bug 1525581 - Show Activity Stream cached data immediately on subsequent loads
Beta/Release Uplift Approval Request
Feature/Bug causing the regression
User impact if declined
Slower user experience at startup
Is this code covered by automated tests?
Yes
Has the fix been verified in Nightly?
No
Needs manual test from QE?
Yes
If yes, steps to reproduce
QA steps in User Story
List of other uplifts needed
Risk to taking this patch
Medium
Why is the change risky/not risky? (and alternatives if risky)
This patch already landed in Nightly and has QA steps for verification.
String changes made/needed
Comment 12•5 years ago
|
||
Tested on :
FF Nightly version : 67.0a1 (2019-02-13)
OS : Mac and Windows 10 Pro
I'm getting syntax error on both OS. Have the pref settings as mentioned in QA steps.
- Set the pref
browser.newtabpage.activity-stream.discoverystream.config
to{"enabled":true,"show_spocs":true,"layout_endpoint":"https://getpocket.com/v3/newtab/layout?version=1&consumer_key=40249-e88c401e1b1f2242d9e441c4&layout_variant=dev-test-all"}
I made sure to enable (via Settings) :
- Enable browser chrome and add-on debugging toolboxes
- Enable remote debugging
Is there anything I'm missing?
Comment 13•5 years ago
|
||
Comment on attachment 9043314 [details]
Bug 1525581 - Show Activity Stream cached data immediately on subsequent loads
After discussion with k88hudson we're going to go ahead and take this for beta 8.
It shouldn't cause problems for beta users on the whole since it's behind a pref, so we're OK to verify in beta after the uplift.
Comment 14•5 years ago
•
|
||
QA Results : Pass
FF Nightly version : 67.0a1 (2019-02-14)
OS : Mac and Windows 10 Pro
I was able to test this after restarting browser.
Seeing the same counts and timestamps each time after every restart.
Below are attachments for Mac OS and Windows 10.
Comment 15•5 years ago
•
|
||
QA Results:
Mac OS
Comment 16•5 years ago
|
||
QA Results:
Windows 10 Pro
Comment 17•5 years ago
|
||
Closing as verified.
Updated•5 years ago
|
Comment 18•5 years ago
|
||
(In reply to Brahmini Nagabandi from comment #14)
QA Results : Pass
FF Nightly version : 67.0a1 (2019-02-14)
OS : Mac and Windows 10 ProI was able to test this after restarting browser.
Seeing the same counts and timestamps each time after every restart.
Below are attachments for Mac OS and Windows 10.
Would you be so kind to verify the fix on 66.0b8 as well?
https://archive.mozilla.org/pub/firefox/candidates/66.0b8-candidates/build1/
Updated•5 years ago
|
Comment 19•5 years ago
|
||
bugherder uplift |
Updated•5 years ago
|
Comment 20•5 years ago
|
||
(In reply to Bogdan Maris [:bogdan_maris], Release Desktop QA from comment #18)
(In reply to Brahmini Nagabandi from comment #14)
QA Results : Pass
FF Nightly version : 67.0a1 (2019-02-14)
OS : Mac and Windows 10 ProI was able to test this after restarting browser.
Seeing the same counts and timestamps each time after every restart.
Below are attachments for Mac OS and Windows 10.
Would you be so kind to verify the fix on 66.0b8 as well?
https://archive.mozilla.org/pub/firefox/candidates/66.0b8-candidates/build1/
Tested on BETA
QA Results: Pass
Tested on :
FF Beta version : 66.0b9 (64-bit)
OS : Mac and Windows 10 Pro
- Followed QA steps as in
user story
- I have set pref
browser.newtabpage.activity-stream.discoverystream.config
to{"enabled":true,"layout_endpoint":"https://getpocket.com/v3/newtab/layout?version=1&consumer_key=40249-e88c401e1b1f2242d9e441c4&layout_variant=dev-test-all"}
Works as expected.
Updated•5 years ago
|
Updated•5 years ago
|
Comment 21•5 years ago
|
||
(In reply to Brahmini Nagabandi from comment #20)
(In reply to Bogdan Maris [:bogdan_maris], Release Desktop QA from comment #18)
(In reply to Brahmini Nagabandi from comment #14)
QA Results : Pass
FF Nightly version : 67.0a1 (2019-02-14)
OS : Mac and Windows 10 ProI was able to test this after restarting browser.
Seeing the same counts and timestamps each time after every restart.
Below are attachments for Mac OS and Windows 10.
Would you be so kind to verify the fix on 66.0b8 as well?
https://archive.mozilla.org/pub/firefox/candidates/66.0b8-candidates/build1/Tested on BETA
QA Results: Pass
Tested on :
FF Beta version : 66.0b9 (64-bit)
OS : Mac and Windows 10 Pro
- Followed QA steps as in
user story
- I have set pref
browser.newtabpage.activity-stream.discoverystream.config
to{"enabled":true,"layout_endpoint":"https://getpocket.com/v3/newtab/layout?version=1&consumer_key=40249-e88c401e1b1f2242d9e441c4&layout_variant=dev-test-all"}
Works as expected.
Thanks for the verification, removing qe-verify flag as well.
Updated•5 years ago
|
Updated•5 years ago
|
Description
•