Design (Figma)
1. Empty state | 2. Results | 3. Multilingual | 4. No results |
- Reuses design of the app’s global search for articles
- Tapping a search item takes users to the preview on the map, adds the the item’s title to the top search bar, and enables the location (T351395)
- Empty state features 'Recent search' terms, similar to the app’s global search. The search terms listed here are specific to the nearby feature.
- Search items list the article’s title (search term highlighted in bold), title description (truncate to 1 line), the distance to the item and 'Saved' or 'Watched' indicators.
- If multiple app languages are used, a tabbed view below search is shown
- Switching the language, e.g. by tapping a German result in the above screen, affects the language button on the map as well (T351397).
- 'More' leads to the app’s global 'Wikipedia languages' screen from Settings
- Empty state displays 'No results' label with an illustration, vertically centered
- To be discussed with @Sharvaniharan → how easy is it to show items from 'History' and 'Tabs' here as well?
APK: https://github.com/wikimedia/apps-android-wikipedia/pull/4319/checks