paranoia icon indicating copy to clipboard operation
paranoia copied to clipboard

Add progress indicators to long running tasks

Open AlexWootton opened this issue 3 years ago • 2 comments

We have a few areas in our application where users can be waiting seconds with no output to stdout even though the application is running.

It would be good to give users some indication of life and progress being made to minimise frustration and confusion. A simple message printed to stdout when starting a potentially long running task could be enough. An animated progress wheel would be a nice touch but potentially more effort than it's worth at this stage.

AlexWootton avatar Jul 15 '22 13:07 AlexWootton

I might be wrong... and I know it would be a decent piece of work... but I believe that bubbletea can do this?

ChaosInTheCRD avatar Nov 17 '22 00:11 ChaosInTheCRD

https://github.com/charmbracelet/bubbles/blob/master/progress/progress.go

yeah, thought so. Could be good to consider trying to switch out cobra(?) with bubbletea.

ChaosInTheCRD avatar Oct 10 '23 17:10 ChaosInTheCRD