Make sure there’s a good fallback experience when the load times out (& have it timeout)
Categories
(Firefox :: New Tab Page, enhancement, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox69 | --- | verified |
People
(Reporter: gsuntop, Assigned: thecount)
References
Details
(Keywords: github-merged)
Attachments
(1 file)
Design & implement an experience for when feed and/or template load requests time out.
Also, need to determine what an acceptable timeout is exactly.
Reporter | ||
Updated•5 years ago
|
Reporter | ||
Updated•5 years ago
|
Reporter | ||
Comment 1•5 years ago
|
||
Assigning to Wolasi for UX.
Comment 2•5 years ago
|
||
:gvn
- The timeout only affects Top Sites, Pocket Stories, and Highlights right? Search will be displayed regardless right?
- Is it in scope to automatically kick of another request for data after the timeout? Or is the expectation a manual reload by the user?
Updated•5 years ago
|
Reporter | ||
Comment 3•5 years ago
|
||
I believe search always shows up, yes.
Not in scope to kick off another request AFAIK. I believe best approach would be to show some error messaging.
Comment 4•5 years ago
|
||
Goal for this bug: Wolasi to have UX by 4/12 - Gavin be able to implement by 4/19. Thanks!
Comment 5•5 years ago
|
||
Can we show a refresh button with the message?
Updated•5 years ago
|
Reporter | ||
Comment 6•5 years ago
|
||
Yes, but bear in mind that there are multiple potential failure scenarios:
- Layout request fails (entire page can't render)
- Individual feed request fails (only component(s) dependent on that feed will fail to render...I think)
Reporter | ||
Comment 7•5 years ago
|
||
Scott, do you know if a single feed failure will stop the entire layout from rendering?
Assignee | ||
Comment 8•5 years ago
|
||
One feed should not stop the rest. The layout failure though would.
I think what happens is when 1 feed fails, it's a network issue and all are likely to fail anyway, including the layout.
Comment 9•5 years ago
|
||
MVP for this week (68): Request has to timeout. Needs timeout threshold.
UX: render local copy by default.
Reporter | ||
Comment 10•5 years ago
|
||
Vicky, do you have a sense of what the timeout threshold should be set to?
Comment 11•5 years ago
|
||
Discussed with necko team and we agreed that the timeout threshold should be set to 45s.
Reporter | ||
Updated•5 years ago
|
Updated•5 years ago
|
Comment 12•5 years ago
|
||
Here's the spec, it covers the following timeout scenarios
- entire Pocket section fails to load
- a category content feed in the Pocket section fails to load
Note spec assumes that Top Sites will always be displayed. Ping @wolasi if you have implementation questions.
Figma Spec
https://www.figma.com/file/0xZkmT86rSXbGRB4eIvrn0ts/New-Tab-Spec-for-Fx-v68?node-id=526%3A55
Assignee | ||
Comment 13•5 years ago
|
||
Non UI changes happened in https://bugzilla.mozilla.org/show_bug.cgi?id=1548353 so it now times out, it just doesn't apply any ui specific to the timeout or any other fails for that matter. If a layout fails, it now uses the default layout, and if a feed fails it displays nothing for that feed. Things like topsites and search always load. Spocs would just not display a spoc.
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Updated•5 years ago
|
Assignee | ||
Comment 15•5 years ago
|
||
I havn't started, and I can fit it in after Ad server work. It's scheduled for 69 and there is still time.
Assignee | ||
Updated•5 years ago
|
Comment 16•5 years ago
|
||
Updated•5 years ago
|
Assignee | ||
Comment 17•5 years ago
|
||
This got merged.
Comment 18•5 years ago
|
||
Comment 19•5 years ago
|
||
I have verified this issue with the latest Firefox Nightly (69.0a1 Build ID - 20190613215335) installed, on Windows 10 x64, Arch Linux and Mac 10.14.5. Now a user-friendly message and the "Try Again" button are displayed, according to the specs, if the entire Pocket section or a category content feed from a sections fails to load.
Updated•5 years ago
|
Description
•