Page MenuHomePhabricator

[BUG] Offline compilations card should no longer be shown on the feed once connectivity is regained
Closed, ResolvedPublic

Description

Steps to reproduce

Pre-requisites for this test: At least one offline compilation has been downloaded

  1. Whilst the app is open on the Explore feed, go into airplane mode and note the offline compilations card advising "You are now browsing Wikipedia in offline mode".
  2. Navigate away from the feed, eg by opening a random article
  3. Exit airplane mode and wait until connectivity is regained
  4. Close the article and return to the feed (but do not pull down to refresh)
Expected

The "Offline compilations" card should no longer appear on the feed (in the same way that in step 1 the "Offline compilations" card appears and other cards are removed as soon as it is detected that connectivity was lost.)

Actual

The "Offline compilations" card remains despite connectivity being regained.

Occurring on

Pixel (Android 7.1.2) on Wikipedia v2.6.200-2017-08-09

Event Timeline

Change 374829 had a related patch set uploaded (by Mholloway; owner: Mholloway):
[apps/android/wikipedia@master] Trigger a feed refresh when connectivity is regained

https://gerrit.wikimedia.org/r/374829

Change 374829 merged by jenkins-bot:
[apps/android/wikipedia@master] Trigger a feed refresh when connectivity is regained

https://gerrit.wikimedia.org/r/374829

ABorbaWMF subscribed.

Tested on a Nexus 4 with Android 5.1 and a Pixel with Android 7.1.1 on 2.6.203-alpha-2017-08-29

Works well for me.

Me too. Tested on Pixel (Android 7.1.2) on Wikipedia v2.6.203-alpha-2017-09-05