docker / docker/cli

jarring progress metrics

Open
#3,192 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area/ux kind/enhancement
Dominant language
Go
Stars
6.1k
Forks
2.2k
Avg merge
1d 15h
Merged PRs (30d)
43

Description

Please maintain a consistent precision for the bytes currently written value, so that the animation for docker push is less jarring. When the bytes come to an even value at ....0, then the value has different padding and jumps around in the console. For example, use sprintf.

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 tracing the docker push progress display and the code that formats the bytes currently written value. Check how values ending in .0 are rendered and use the issue's sprintf suggestion as a formatting lead. Done means the displayed value keeps consistent precision and no longer jumps during the animation.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
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.