Page MenuHomePhabricator

Offline support and copy for notifications
Open, MediumPublic

Description

Why are we doing this?

We need to define what happens when a device is offline

Feature job story

As someone who has lost internet connection, I would like to be able to have a coherent notifications experience when I am offline that clearly states what I can and cannot do while offline

User flow

image.png (1×2 px, 159 KB)

Proposed Toast Design

See: https://phabricator.wikimedia.org/T288674 for more info

Notification center - Data download - No filters applied - Messages.png (812×375 px, 52 KB)

Questions
  • Can we allow people to mark messages as read/unread while they are without internet?
  • Will people be able to search their notifications while offline?
Dependencies

https://phabricator.wikimedia.org/T288662

Related

https://phabricator.wikimedia.org/T288773

Event Timeline

LGoto triaged this task as Medium priority.Aug 2 2021, 6:36 PM
LGoto moved this task from Needs Triage to Product Backlog on the Wikipedia-iOS-App-Backlog board.
cmadeo updated the task description. (Show Details)

Feel free to use the existing toast for now!

@cmadeo

Can we allow people to mark messages as read/unread while they are without internet?

I think not for v1. I thought through a more robust way of marking as read when there's connection or server issues (See approach 2 in https://phabricator.wikimedia.org/T287302), but it feels a little heavy handed at this point. The easiest approach would be to let them try, then just show an error message banner after they attempt and the call fails.

Will people be able to search their notifications while offline?

Yep, since search would have to be a local search anyways, this will still work.