Page MenuHomePhabricator

[Epic] Bring Places feature back to the Android App
Closed, ResolvedPublic

Description

Background
The Nearby feature allows users to see articles based on location. It is a feature that currently exists on iOS but was removed from Android (T228661). This was due to issues with OpenStreetMap. After receiving several requests to revisit adding the feature back to the app our team explored the feasibility to add Nearby back to the Android app. After collaborating with @MSantos we learned of improvements to WMF Maps. Once it became clear it was feasible to reintroduce the feature to the Android app. We then needed clearance to prioritize the work.

One of the goals of the Annual Plan is to:

Interested readers will discover and browse more content, measured via a 10% increase in internally referred page interactions in representative wikis.

We believe by reintroducing this feature it will increase interactions with Wikipedia articles, which gives us the runway to work on this project.

Validation

  • KR: 1.1 10% increase in article page interaction as a result of internal app referral (Broken down by Article Previews and clicks through to article)
  • KR 1.2: 30% of folks try the feature more than 1 day
  • KR: 1.3: 3000 people save, share or watch an article as a result of feature
  • KR 1.4 10% of users click through to article view from places

Guardrails

  • KR 1.1: At least 70% of representative users that provide feedback about feature report satisfaction

Curiosities (nice to have)

  • Do people who engage with Nearby have higher pageviews than those that do not
  • What % of people open the feature as are result of the tooltip?
  • How does engagement with Android Nearby compare to iOS?

Note we will compare folks that have updated their app vs those that did not

Target Quant Regions and Languages

South Asian Readers

Languages:
English
Bangla
Hindi
Urdu

Target Qualitative Audience
  • Users that indicated interest in the feature
  • Readers in South Asia
Must Haves
  • Provide a Map View and List view when someone launches the Nearby feature
  • Allow users to view articles on a map from article view and launch Nearby

Within Map View

  • When a user clicks on a map marker, allow the users to read, save and share an article, as main actions
  • In the overflow menu of a map marker, and allow users to save to watchlist
  • Provide a search that allows users to search articles prioritizing articles near them
  • Before a user types they should see recently searched articles
  • Get a user's permission before going to their location
  • Map should honor dark modes

Within List view

  • Let users see how far away an article map marker is away from them

Nice to Haves

  • If a user wants to get directions take them to their map app
  • Support multiple languages in the search

Potentially out of scope

User Stories
  • As a Wikipedia Android app user traveling to a new city, I want to know what articles are nearby, so that I can learn more about my surroundings.

Related Objects

StatusSubtypeAssignedTask
ResolvedDbrant
ResolvedSharvaniharan
Resolvedcooltey
DuplicateSpikeSharvaniharan
DuplicateSpikeSharvaniharan
ResolvedSpikecooltey
ResolvedSharvaniharan
ResolvedDbrant
DuplicateNone
ResolvedSharvaniharan
ResolvedSNowick_WMF
ResolvedSharvaniharan
ResolvedSharvaniharan
ResolvedSharvaniharan
Resolvedcooltey
Resolvedcooltey
ResolvedSharvaniharan
OpenNone
Resolvedcooltey
ResolvedSNowick_WMF
ResolvedSharvaniharan
ResolvedSharvaniharan
OpenTsevener
ResolvedSharvaniharan
ResolvedBUG REPORTDbrant
ResolvedSharvaniharan
ResolvedSNowick_WMF
ResolvedSNowick_WMF
ResolvedDbrant
OpenFeatureNone
OpenFeatureNone
OpenFeatureNone
OpenFeatureNone
OpenFeatureNone
OpenFeatureNone
ResolvedDbrant
OpenFeatureNone
ResolvedDbrant
Resolvedcooltey
Resolvedcooltey
Resolvedcooltey
Resolvedcooltey
Resolvedcooltey
Resolvedcooltey
Resolvedcooltey
Resolvedcooltey
Resolvedcooltey

Event Timeline

Jazmin mentioned this to me today. I wanted to point out that there might be an opportunity for web and apps to share code here. The existing NearbyPages on web is portable - it can run outside MediaWiki.

Codebase: https://github.com/wikimedia/mediawiki-extensions-NearbyPages
Standalone app: https://wikipedia-nearby.netlify.app

The web view doesn't contain a map view, but it has been requested (T303813) so I think we could easily find some web engineers (including myself) interested in working with apps to add one and share code between the two platforms.

Would an Android engineer be interested in exploring what a WebView version of Nearby in apps would look like and what the pros and cons would be?

scblr renamed this task from [Epic] Bring Nearby feature back to the Android App to [Epic] Bring Places feature back to the Android App.Nov 14 2023, 12:57 PM
scblr updated the task description. (Show Details)
scblr renamed this task from [Epic] Bring Places feature back to the Android App to [Epic] Bring Nearby feature back to the Android App.Nov 15 2023, 12:16 PM
scblr updated the task description. (Show Details)
Sharvaniharan renamed this task from [Epic] Bring Nearby feature back to the Android App to [Epic] Bring Places feature back to the Android App.Dec 7 2023, 2:27 AM
JTannerWMF updated the task description. (Show Details)
JTannerWMF updated the task description. (Show Details)

Top 5 (and English) Pageviews by Wiki/Language (90 Days Data):

WikiLangaugePageviews
EnwikiEnglish8396806
bnwikiBangla372069
hiwikiHindi346778
mlwikiMalayalam84163
urwikiUrdu72478
tawikiTamil72438

Pageviews by Country:

CountryPageviews
India8024402
Bangladesh752655
Pakistan626592
Sri Lanka149333
Nepal138901

Pageviews by Country SE Asia Data

Note from our meeting for metrics: For Places we can compare users who never touched Places vs those who did so or look at versioning

Just a heads up @jijiki this feature is going to be rolled out next week (Wednesday 14th). Its only using vector tiles (tegola) so no geoshapes or raster tile rendering is going to happen on kartotherian level.

Great to see this deployed and working well. Thank you to all involved.

Request from one of our users:
I strongly miss a possibility to look up a location in a map of my choice.

My suggestion: Long press on “view on a map” could offer a choice to

Link to geohack.toolforge.org
Choice of format to copy the coordinates to the clipboard as in OrganicMaps
Geo-URI
I have found no way to show the coordinates of a location within the app.

My cumbersome workaround is to click on “view article in browser” and use the link to geohack there.

Version: 2.7.50495-beta-2024-07-23
Device: google Pixel 4a (5G) (SDK: 34)

Dbrant claimed this task.