Design (Figma)
1. Bottom sheet | 2. Overflow menu |
Differences to the article bottom sheet:
- Show distance to item (with icon + label)
- Change main actions to 'Read', 'Save', 'Share'
- Change overflow menu items to: 'Watch', 'Open in new tab', 'Copy link address', 'Get directions'
- Functionality:
- Tapping the search field when a location is active takes users to the search view with the active location. The keyboard is enabled, and the cursor is positioned at the end of the location string.
- Tapping the 'Close' icon in the search bar takes users back to the map view, described in T351397
- 'Read' takes users to the article
- 'Save' saves article to reading list and shows existing snackbar
- If an article’s been saved before → Change label from 'Save' to 'Saved'
- 'Share' displays native bottom sheet
- 'Watch' adds article to Watchlist and shows existing snackbar
- If an article’s been watched before → Change label from 'Watch' to 'Watched'
- 'Open in new tab' opens article in the background (without navigating there)
- 'Copy link address' copies the article URL to the clipboard
- 'Get directions' takes users to their default navigation app
APK: https://github.com/wikimedia/apps-android-wikipedia/pull/4334