Page MenuHomePhabricator

Make link preview geolocation-aware.
Closed, ResolvedPublic5 Estimated Story Points

Description

  1. For articles that have a geolocation (as provided by MCS, or by the Nearby fragment), the link preview shall display an option in overflow menu that says "Get directions". Clicking this will take the user to the default Maps app (e.g. Google Maps) with an intent containing the target location.
  1. When invoked from NearbyFragment, and the user's location is enabled, the link preview shall display the option "Get Directions" directly on the sheet, instead of the overflow menu. The button will appear as an action next to "Read article".

See Article Sheets

  • Event Timeline

    Dbrant raised the priority of this task from to Needs Triage.
    Dbrant updated the task description. (Show Details)
    Dbrant moved this task to Next Sprint on the Wikipedia-Android-App-Backlog board.
    Dbrant subscribed.
    MBinder_WMF set Security to None.
    MBinder_WMF edited a custom field.
    MBinder_WMF edited a custom field.
    MBinder_WMF edited a custom field.

    Change 256266 had a related patch set uploaded (by Dbrant):
    WIP: Location-aware link previews.

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

    Change 256266 merged by jenkins-bot:
    Location-aware link previews.

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

    @Dbrant Is this available in link preview overflow menus yet? Checking the latest apk from Dec 4.

    @KHammerstein Good catch; that part of it will actually need to be delayed a bit, since it will need some updates in the content service. It will be done in a separate patch.