Page MenuHomePhabricator

Offline mode
Closed, ResolvedPublic

Assigned To
Authored By
AMuigai
Jun 24 2020, 7:46 PM
Referenced Files
F32358656: -g-Gallery offline potrait.png
Sep 22 2020, 5:34 AM
F32358653: No Network connection.png
Sep 22 2020, 5:34 AM
F32358657: No Network connection landscape.png
Sep 22 2020, 5:34 AM
F32358659: -g-Gallery offline landscape.png
Sep 22 2020, 5:34 AM
F31952663: -g-Offline state.png
Jul 29 2020, 7:23 AM
F31951944: Offline State2.png
Jul 28 2020, 5:41 PM
F31951831: Offline state.png
Jul 28 2020, 4:53 PM
F31951832: Offline State2.png
Jul 28 2020, 4:53 PM

Description

Background

A partner site could provide access to their content even when a reader is offline. How might we show Wikipedia Preview in an offline scenario

Request

Create messaging to show user that they cannot view a Preview because they are offline

Design Details

Note: Below designs are only for the mobile portrait & landscape view.

Basic preview offlineOffline inside media viewer
No Network connection.png (700×720 px, 28 KB)
-g-Gallery offline potrait.png (1×720 px, 35 KB)
Basic preview offline landscapeOffline inside media viewer landscape
No Network connection landscape.png (720×920 px, 31 KB)
-g-Gallery offline landscape.png (720×1 px, 34 KB)
zeplin

https://app.zeplin.io/project/5edf645eef92dfb2dc2f8ce8/dashboard?seid=5f2057a7f682417fdf53e8a2

  • The offline state shows up when the user's device is not connected to the internet.
  • Tapping on Try Again will show the loading state and if still no connection available then control comes back to offline state.
  • Users can close the preview by tapping on a close icon or area outside.
  • Present media viewer error state if a user loses internet connection while viewing the image. Refresh CTA will show media viewer loading state(bouncing dots) and if still no connection available then control comes back to offline state.

Note: There are some other offline strategies that can allow users to read the preview in offline mode. For the scope of this ticket, we will consider displaying the offline state UI, however, showing preview offline would be a mutual discussion with interested partners.

Event Timeline

AMuigai edited projects, added Inuka-Team (Kanban); removed Inuka-Team.
SGautam_WMF updated the task description. (Show Details)
SGautam_WMF updated the task description. (Show Details)
SGautam_WMF removed a project: Design.
SGautam_WMF updated the task description. (Show Details)
SGautam_WMF subscribed.

I'd recommend displaying the footer portion that links to Wikipedia regardless of whether a preview can be shown.

This way the preview will not stand in the way of Wikipedia.org itself natively working offline for the end-user. For example, users can bookmark pages offline in Safari or Chrome, and if they have our Wikipedia app that app might have related information available. There are also third-party Wikipedia apps like Kiwix which even have complete snapshots of the entire Wikipedia database available offline.

SBisson subscribed.

Moving out of the kanban since this is planned for September.

@SGautam_WMF could you update the layout here based on the changes to the wordmarks (T260408)?

@SGautam_WMF @AMuigai could you please consider @Krinkle's comment above about keeping the Wikipedia CTA in case the user has access to Wikipedia content offline on their device? I don't know how likely this is for our target audience but it's worth thinking about.

Thanks @Krinkle for sharing your thoughts on this. We would certainly consider this when we decide the overall offline strategy for Wikipedia preview. Ideally, we would like to provide an unbreakable experience while the user is offline, however, we still need to collect some more information about our targeted audience and partner's preference on this.

@SBisson I will update the ticket with new mock-ups.

SGautam_WMF updated the task description. (Show Details)
SGautam_WMF moved this task from Backlog to Definition on the Inuka-Team (Kanban) board.

Discussion on-going on PR thread, we are testing cache behaviors on different browsers