Closed Bug 923177 Opened 11 years ago Closed 11 years ago

[e.me] [feature] Enable adding custom Collections while offline

Categories

(Firefox OS Graveyard :: Gaia::Homescreen, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 932836

People

(Reporter: amirn, Assigned: amirn)

References

Details

      No description provided.
Depends on: 910354
Assignee: nobody → amirn
Status: NEW → ASSIGNED
Yosef, we need to come up with UI to support this feature.

The current design places the 'custom' collection option inside the suggested collections list.
The suggestions list is not available when the device is offline.

Thanks.
Assignee: amirn → yosef
Assignee: yosef → amirn
Following our discussion (Amir and I), we've decided that:
# If the user is offline in the first interaction with this feature, instead of the list there should be a message: "Connect to the internet to see suggested collections".
# If the user is online, the list is taken from the server and cached locally, to serve as a replacement whenever the user is offline in the future. The cache should be updated in every new online interaction with this feature, to make sure the list is as updated as possible.
Discussing this solution further, we've decided to tweak the logic a bit:
# If the user is offline in the first interaction, skip the pre-bundled suggestions list and skip straight to the custom collection dialog.
# Cache the list on every online interaction for future offline instances.
Depends on: 932836
Blocks: 1.3-e.me
landed
https://github.com/mozilla-b2g/gaia/commit/4ecbc106a3fcf72cbd6dd8a43c46de7bacbedf20
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Resolution: FIXED → DUPLICATE
You need to log in before you can comment on or make changes to this bug.