serpent-os / moss

The safe, fast and sane package manager for Linux
https://serpentos.com
71 stars 9 forks source link

[UX] Show progress bars only when they are significant #155

Open livingsilver94 opened 4 months ago

livingsilver94 commented 4 months ago

I tried this command: ./target/release/moss -D ../SOSROOT/ extract test/bash-completion-2.11-1-1-x86_64.stone

The extraction is so fast the progress bar only appears for a fraction of a second. At this speed it's pretty much noise. I think it's worth, in the context of the extraction, to only show the progress bar if the .stone archive is at least a few megs in size. Overall though, I think the same principle applies as long as we can obtain the final size in advance.

Thoughts?