mapbox / mapbox/mapbox-navigation-android
Show "<" (less than) in `ManeuverView` similar to `TripProgressView`
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Kotlin
- Sterne
- 651
- Forks
- 321
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
I noticed while testing that right before getting a re-route we're displaying 0 ft as distance remaining 👀

We didn't have "zero" values before but @cafesilencio confirmed that we made some modifications for the distance formatter because the minimum distance was always the value of the rounding increment which didn't make sense when approaching the destination. It was inaccurate.
Noting that for the duration remaining we are using < so probably is a good idea to do the same for the distance. Also the screenshot above isn't the only place this value shows. It also displays in the trip progress at the bottom of the screen and in the notification 👀

Opening this ticket to discuss a one size fits all solution. Would love be consistent across UI components and platforms.
cc @avi-c @d-prukop @1ec5 @cafesilencio @mapbox/navigation-ios @mapbox/navigation-android
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne damit zu vergleichen, wie ManeuverView, TripProgressView und das Benachrichtigungsformat eine Entfernung von null darstellen und wie die Dauer bereits „<“ anzeigt. Sieh dir die zugehörigen Änderungen an der Entfernungsformatierung und die Screenshots des Issues an und bestimme anschließend, ob ein einheitliches Verhalten alle aufgeführten UI-Oberflächen und Plattformen abdecken kann. Erledigt ist die Aufgabe, wenn die vereinbarte Darstellung das irreführende „0 ft“ konsistent ersetzt.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- kotlin
- Bereich
- mobile
- Issue-Typ
- Feature
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100