Page MenuHomePhabricator

[BUG] Regression – "Search results from your Offline Library' is shown in Dark mode colors when in Light mode
Closed, ResolvedPublic

Description

This appears to be a regression of item implemented in T166649.

Expected
Search - offline from compilation.png (1×720 px, 70 KB)
Actual
image.png (1×1 px, 176 KB)
Steps to reproduce

Pre-requisite: User has at least one article pack in their Offline Library and app is displayed in Light mode

  1. Turn on airplane mode
  2. Tap to search Wikipedia
Detected on

Tested on Nexus (6.0.1), Wikipedia v2.6.203-alpha-2017-10-12

Event Timeline

Change 384056 had a related patch set uploaded (by Dbrant; owner: Dbrant):
[apps/android/wikipedia@master] Design tweak: fix color theming when searching offline library.

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

Change 384056 merged by jenkins-bot:
[apps/android/wikipedia@master] Design tweak: fix color theming when searching offline library.

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

Tested on 5.1 ZTE Maven (Z812) and Wikipedia app 2.6.205-alpha-2017-10-27. Below are screencaps of search Wikipedia in Dark and Light modes on the ZTE, both appear to be as expected.

T178156 Dark.png (854×480 px, 60 KB)
T178156 Light.png (854×480 px, 59 KB)

Hi @Nicholas.tsg - actually this is missing pre-requisite which requires firstly that the user has at least one article pack downloaded to their Offline Library so that the expected message "Search results from your Offline Library" appears below the search bar.

Here are steps to fulfil the pre-requisite requirement:

  1. Go to the Offline Library by selecting the overflow menu item on the Explore feed.
  2. Tap the action to 'Add' to Offline library which bring up a list of all packs available for download
  3. Tap on the overflow menu of an article pack and select the option to "Download". It is expected that UI for the download in progress (comprising a progress bar, estimated remaining time & data, pause and cancel actions) should display below the relevant list item.
  4. Once the download completes tap to go back to the Explore feed.