-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
implement logic for getting the installation progress #1281
Conversation
I'm going to cc #1267 in case it gets merged first, I would suggest reusing the function introduced there. |
No problem, I will just merge the changes into my branch as soon as PR 1267 is merged on master and use the function then |
Great job! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I only did a preliminary review, I have pointed out a few very minor opportunities where the code can be simplified
Sorry can you fix the conflict again and I'll merge. |
Yes, I'll fix them as soon as Im home from work! |
@dzhou121 alright fixed the conflicts. |
* implement logic for getting the installation progress * get the progress bar in the ui * add status text to progress bar * remove unused volt_downloader.rs + add suggestion from PR * add progress indication if app is removed * remove progress percentage + add ability for error text * use rect height as distance to next progress, so it show's like a list * use different font color if there is a error while installation * handle remove_volt remove_dir_all error * add error handeling for removing in progressbar * remove redundant if statement in drawing progress * show error messages from download plugins in the status bar * run rustfmt * Satisfy clippy: To big variants * Satisfy clippy: adjust error check accordingly * run rustfmt * Satisfy clippy: fix local issues * apply review changes * only save (workspace) plugins if neccessary * fix brackets after merge again
Currently looking like that:
The error message will disappear after 3 seconds automatically.
I think the design in the UI of the status-bar could be better, but maybe someone else will take a hand on that, the logic is implemented (it's currently just on top of the installed tab).
Fixes #1266