bug: Startup download percentage displays excessive decimal places

Open Beginner friendly
#9,564 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

@DavidShenXD is already working on this.

Since Nov 9, 2026.

  • #9566 by @DavidShenXD — open

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
72/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
electron, typescript
Domain
desktop

Research direction

Start by searching the startup UI for “Waking Cindy...(2/3)” and tracing where the download percentage is displayed. Format the percentage to a consistent readable precision, then verify during a startup-resource download that it no longer shows excessive decimal places.

Written by the indexing model from the issue text.

Description

bug
Description

The startup download progress displays an unrounded percentage with excessive decimal places. During “Waking Cindy...(2/3)”, the UI showed:

8.181846572494996% · 411.2 KB/s · 8.5 MB / 103.5 MB

This was observed in the startup screen; the value above is transcribed from a screenshot.

Steps to reproduce
  1. Launch Cindy when it needs to download startup resources.
  2. Watch the download progress in “Waking Cindy...(2/3)”.
  3. Observe the percentage label while the download is in progress.
Expected behavior

Format the percentage to a consistent, readable precision, such as 8.2% or 8.18%.

Actual behavior

The label displays 8.181846572494996%, making the progress text unnecessarily long.

Environment
  • Cindy: 0.1.121 (installed package version)
  • OS: NixOS, Linux x86_64
  • Package: international edition (linux-x64-global)
Dominant language
TypeScript
Stars
2.8k
Forks
412
Avg merge
12h 7m
Merged PRs (30d)
671

Getting set up

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.

More from makecindy/cindy

All issues in makecindy/cindy

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.