orf / orf/gping

Consider adding separation when stats are maximally compressed

Open
#320 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
12.7k
Forks
366
Avg merge
7d 7h
Merged PRs (30d)
1

Description

image

There's a rather unfortunate coincidence where "min" is both the name of a stat and a stat unit, so that when the frame is resized small enough, it looks very much like the last value was N minutes vs ms. Seems the best fix would involve some 1-char separator between stats (|, maybe?), but no strong opinion.

Contributor guide

No contributing guide indexed for this repository

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 the Rust code that renders the statistics in the compressed graph frame, then reproduce the ambiguity by resizing the frame until the stats are maximally compressed. Add a one-character separator between stats so the min statistic and minute or millisecond units remain distinguishable, and verify the display at the small size shown in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.