fix: improve usage of indicatif for tracking progress #101

Merged
letian merged 5 commits from better-indicatif-progress into master 2025-08-11 23:47:16 +00:00
Owner

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.

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.
letian added 2 commits 2025-08-10 01:34:23 +00:00
refactor: Interpret score with a provided method on Score
Some checks failed
Run Check Script / check (pull_request) Has been cancelled
2c8f45c44e
instrument interpret state changes (wip)
Some checks failed
Run Check Script / check (pull_request) Has been cancelled
9db475849c
letian force-pushed better-indicatif-progress from 26f72f0214 to 336e1cfefe 2025-08-10 03:18:41 +00:00 Compare
letian added 1 commit 2025-08-11 14:27:28 +00:00
group related scores together
Some checks failed
Run Check Script / check (pull_request) Failing after 26s
a44cd7e7e9
johnride added 1 commit 2025-08-11 20:46:25 +00:00
Merge branch 'master' into better-indicatif-progress
Some checks failed
Run Check Script / check (pull_request) Failing after 1m2s
386cf693a1
letian added 1 commit 2025-08-11 23:43:24 +00:00
Merge branch 'master' into better-indicatif-progress
All checks were successful
Run Check Script / check (pull_request) Successful in 1m33s
e4f470837c
letian merged commit f0ed548755 into master 2025-08-11 23:47:16 +00:00
letian deleted branch better-indicatif-progress 2025-08-11 23:47:20 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: NationTech/harmony#101
No description provided.