mapbox / mapbox/mapbox-navigation-android

MapboxTripProgressView formatter is not displaying the correct size for time remaining values

Open
#5,581 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug jira-sync-complete UI
Dominant language
Kotlin
Stars
651
Forks
321
PR merge metrics
No merged PRs in 30d

Description

Time remaining formatter is not formatting the minutes value correctly. See in the screenshot below:

### Expected behavior
The value for min(29) should be the same size as the value for day(1) and hours(5). The unit for day, hr and min should be the same size.

### Actual behavior
The value for min(29) is not of the same size as the value for day(1) and hours(5). The size for units -> day, hr and min is correct

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating MapboxTripProgressView and its time-remaining formatter. Compare how the day, hour, and minute values are sized, using the issue screenshot and expected behavior as the reference. Done means the numeric minute value is the same size as the day and hour values while their units remain unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
mobile
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.