[Context Menu] In Pocket New Tab handle edge cases when there are no stories to show
Categories
(Firefox :: New Tab Page, enhancement, P1)
Tracking
()
People
(Reporter: pdahiya, Assigned: pdahiya)
References
Details
(Keywords: github-merged)
Attachments
(1 file)
With Pocket New Tab supporting dismiss individual story, we should handle edge cases
a) Show placeholder when there is no story to show
b) Show a message when all stories are dismissed
Assignee | ||
Updated•6 years ago
|
Updated•6 years ago
|
Assignee | ||
Comment 1•6 years ago
|
||
Scope of this bug is to handle edge cases stemming from dismiss individual story. NI Wolasi to double check that these edge cases are not needed for experiments and safe to move to 68 release.
Comment 2•6 years ago
|
||
For this bug we should cover the first edge case i.e. showing a placeholder when a story is dismissed and there are no stories to replace it…
Expected Behavior
When a story is dismissed, if now new stories are available, the dismissed story should be replaced by a placeholder.
The place holder should have the same dimensions as the story it replaced.
Spec
https://www.figma.com/file/HAk87Z6QBcu6YxBIoXN6LJcU/Firefox-Home-Components?node-id=1313%3A0
For QA
Linked below is an example of placeholders for Top Sites and some content components
https://www.figma.com/file/RizUfWdXDzKX3dH5Skz8XEUy/Layouts-for-QA?node-id=1%3A2
Implementation Note
Dark theme should be supported
Assignee | ||
Updated•6 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
Comment 4•6 years ago
|
||
Once all stories have been dismissed a message should be displayed telling the user to check again later for new stories.
Spec
https://www.figma.com/file/0xZkmT86rSXbGRB4eIvrn0ts/New-Tab-Spec-for-Fx-v68?node-id=91%3A12
Assignee | ||
Comment 5•6 years ago
•
|
||
(In reply to Wolasi from comment #4)
Once all stories have been dismissed a message should be displayed telling the user to check again later for new stories.
Spec
https://www.figma.com/file/0xZkmT86rSXbGRB4eIvrn0ts/New-Tab-Spec-for-Fx-v68?node-id=91%3A12
what happens if there are no stories to show under multiple components e.g. Health and Fitness in attached spec, do we show message for each component?
Assignee | ||
Updated•6 years ago
|
Comment 7•6 years ago
|
||
Assignee | ||
Updated•6 years ago
|
Comment 8•6 years ago
|
||
Comment 9•6 years ago
|
||
I have verified this issue with the latest Firefox Nightly (68.0a1 Build ID - 20190414214746) installed, on Windows 10 x64, Arch Linux and Mac 10.13.3. Now, if no new stories are available, the dismissed story is replaced by a placeholder. Also if all the Pocket cards are dismissed, a placeholder message is displayed.
Updated•5 years ago
|
Updated•5 years ago
|
Description
•