harmony/harmony_cli/src
Ian Letourneau f0ed548755
Some checks failed
Run Check Script / check (push) Successful in 1m18s
Compile and package harmony_composer / package_harmony_composer (push) Failing after -1s
fix: improve usage of indicatif for tracking progress (#101)
The multiprogress wasn't used properly and leading to conflicting progress bars (within our own progress bars, as well as the log wrapper).

This PR introduce a layer on top of `indicatif::MultiProgress` to properly handle sections of progress bars, where we can dynamically add/update/remove progress bars from any sections.

We can see in the demo that new sections + progress bars are added on the fly and that extra logs (e.g. info logs) are appended on top of the progress bars.

Progress are also grouped together based on their parent score.

Co-authored-by: Ian Letourneau <letourneau.ian@gmail.com>
Co-authored-by: johnride <jg@nationtech.io>
Reviewed-on: https://git.nationtech.io/NationTech/harmony/pulls/101
2025-08-11 23:47:11 +00:00
..
cli_logger.rs fix: improve usage of indicatif for tracking progress (#101) 2025-08-11 23:47:11 +00:00
lib.rs fix: improve usage of indicatif for tracking progress (#101) 2025-08-11 23:47:11 +00:00
progress.rs fix: improve usage of indicatif for tracking progress (#101) 2025-08-11 23:47:11 +00:00
theme.rs fix: improve usage of indicatif for tracking progress (#101) 2025-08-11 23:47:11 +00:00