mapbox / mapbox/mapbox-navigation-android

Show "<" (less than) in `ManeuverView` similar to `TripProgressView`

Offen
#3,982 5 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

jira-sync-complete needs discussion UI
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 👀

0_ft_issue

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 👀

0_ft_issue_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

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Ö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

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.