Page MenuHomePhabricator

Add access to Continue Reading widget from 3d touch on icon
Closed, ResolvedPublic

Description

Lets replace our simple text based Continue Reading item on the icon touch with our bootiful new widget.

No need to keep the complex "continue reading" logic of the current icon entry, just always show the widget with the most recent history item (or empty state) as we do on the Today screen.

I think the Top Read will be less compelling in this space (and also larger) but am not opposed to adding it to the icon as well.

Note that this was working in earlier builds.

Event Timeline

Testing criteria:

Basic test:

  1. Press (3d touch) the W icon on the device home screen
  2. Verify that the continue reading widget is present and the Title, text extract and image (if the article has one) is present
  3. Verify that the text only "continue reading" item from previous versions of the app is no longer present
  4. Tap through on the widget
  5. Verify the article opens in the app

Cooridination with Today view:

  1. Press (3d touch) the W icon on the device home screen
  2. Note the current title on the widget
  3. Go to the device's Today view
  4. Verify that the widget shows the same article and information as seen in step 2

No history:

  1. Go to the history tab and clear all entries
  2. Go to the home screen and 3d press the app icon
  3. Verify that the widget shows the "Explore Wikipedia to find articles to read" placeholder message is shown, or that the wdiget is not present at all.
  4. Open the app and load an article
  5. Verify the first "basic" test from above works with the new article from previous step