fix: improve usage of indicatif for tracking progress #101
No reviewers
Labels
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: NationTech/harmony#101
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "better-indicatif-progress"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
26f72f0214
to336e1cfefe