mapbox / mapbox/mapbox-navigation-android
Expose maneuvers swipe ahead behavior
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 651
- Forks
- 321
- PR merge metrics
- No merged PRs in 30d
Description
Currently MapboxManeuversList UI component doesn't provide any behavior when clicking on an instruction item. We should expose a swipe ahead mode that displays for previewing future maneuvers, map zooms as swipe thru, takes you out of follow mode (maintain correct behavior when current maneuver updates while previewing), etc.
References MapboxManeuverApi, MapboxManeuverView, MapboxManeuverActivity
This is currently supported and available in @mapbox/navigation-ios (StepsViewController, TopBannerView) cc @1ec5
cc @mapbox/navigation-android @abhishek1508 @LukasPaczos @d-prukop @zugaldia @truburt @AhmerKhan1 @jyrigo
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with MapboxManeuversList.kt and trace the related behavior through MapboxManeuverApi.kt, MapboxManeuverView.kt, and the MapboxManeuverActivity.kt example. Use the existing navigation-ios StepsViewController and TopBannerView behavior as a reference. Done means instruction-item interaction exposes swipe-ahead preview, zooms as the user swipes, exits follow mode, and remains correct when the current maneuver updates.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100